From d78d9cc3b4ba293c57bffa3cde4be872c48291f7 Mon Sep 17 00:00:00 2001 From: Piraty Date: Mon, 15 May 2023 12:07:46 +0200 Subject: [PATCH 1/2] libvisual: update to 0.4.2. --- srcpkgs/libvisual/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/libvisual/template b/srcpkgs/libvisual/template index d49a38c58b7c..ef95a6551adb 100644 --- a/srcpkgs/libvisual/template +++ b/srcpkgs/libvisual/template @@ -1,16 +1,16 @@ # Template file for 'libvisual' pkgname=libvisual -version=0.4.1 +version=0.4.2 revision=1 build_style=gnu-configure hostmakedepends="pkg-config SDL-devel" makedepends="SDL-devel" short_desc="Abstraction library for audio visualisation plugins" -maintainer="Orphaned " +maintainer="Piraty " license="LGPL-2.1-or-later" -homepage="http://sourceforge.net/projects/libvisual/" -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" -checksum=aa12877417f76d3642d9f4c723302380d833175639d63a55641d01928a5ddb7d +homepage="http://libvisual.org" +distfiles="https://github.com/Libvisual/libvisual/releases/download/libvisual-${version}/libvisual-${version}.tar.bz2" +checksum="2aa5967c5c9522c8d7ab9bd9246c77a582c1aaf4f2b3f06493dbe3066f00380a" pre_configure() { vsed -e 's,-L$(libdir),,' -i libvisual/Makefile.in From f1e32653f6306c5bf92172a84b086ae06e3b044e Mon Sep 17 00:00:00 2001 From: Piraty Date: Wed, 17 May 2023 12:01:57 +0200 Subject: [PATCH 2/2] New package: libvisual-plugins-0.4.2 --- ...configure.ac-Fix-use-of-m4-variables.patch | 37 +++++++++++++++++++ srcpkgs/libvisual-plugins/template | 18 +++++++++ 2 files changed, 55 insertions(+) create mode 100644 srcpkgs/libvisual-plugins/patches/0001-Plugins-configure.ac-Fix-use-of-m4-variables.patch create mode 100644 srcpkgs/libvisual-plugins/template diff --git a/srcpkgs/libvisual-plugins/patches/0001-Plugins-configure.ac-Fix-use-of-m4-variables.patch b/srcpkgs/libvisual-plugins/patches/0001-Plugins-configure.ac-Fix-use-of-m4-variables.patch new file mode 100644 index 000000000000..cf47e272472e --- /dev/null +++ b/srcpkgs/libvisual-plugins/patches/0001-Plugins-configure.ac-Fix-use-of-m4-variables.patch @@ -0,0 +1,37 @@ +From 10a43aa829e6856dace7553b7f544ffea4f2f1dd Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Mon, 3 Apr 2023 01:42:54 +0200 +Subject: [PATCH] Plugins: configure.ac: Fix use of m4 variables + +These are m4 variables and hence are expanded by m4, not shell: +- gst_required_version +- gtk_required_version +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7491f6e8..7fb2d98d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -154,7 +154,7 @@ if test "$ENABLE_PLUGIN_GDKPIXBUF" = "yes"; then + if test "$HAVE_GTK" = "yes"; then + build_actor_plugins="$build_actor_plugins gdkpixbuf" + else +- AC_MSG_WARN([*** GTK+ >= ${gtk_required_version} is not found. ++ AC_MSG_WARN([*** GTK+ >= gtk_required_version is not found. + The libvisual GdkPixbuf image loader plugin won't be built. + GdkPixbuf is included within gtk+-3.0 and newer, which can be + downloaded at https://www.gtk.org/]) +@@ -175,7 +175,7 @@ if test "$ENABLE_GSTREAMER_PLUGIN" = "yes"; then + if test "$HAVE_GSTREAMER" = "yes"; then + build_actor_plugins="$build_actor_plugins gstreamer" + else +- AC_MSG_WARN([*** GStreamer >= ${gst_required_version} is not found. ++ AC_MSG_WARN([*** GStreamer >= gst_required_version is not found. + The libvisual GStreamer viewer plugin won't be build. + GStreamer can be downloaded from https://gstreamer.freedesktop.org/]) + fi +-- +2.40.1 + diff --git a/srcpkgs/libvisual-plugins/template b/srcpkgs/libvisual-plugins/template new file mode 100644 index 000000000000..572315221073 --- /dev/null +++ b/srcpkgs/libvisual-plugins/template @@ -0,0 +1,18 @@ +# Template file for 'libvisual-plugins' +pkgname=libvisual-plugins +version=0.4.2 +revision=1 +build_style=gnu-configure +hostmakedepends="automake flex gettext-devel libtool pkg-config" +makedepends="SDL-devel libvisual-devel" +short_desc="Collection of visualization plugins for use with libvisual" +maintainer="Piraty " +license="GPL-2.0-only" +homepage="http://libvisual.org" +distfiles="https://github.com/Libvisual/libvisual/releases/download/libvisual-plugins-${version}/libvisual-plugins-${version}.tar.bz2" +checksum="a1dd04eb3d311d68b4f43a5c707df7aba7a98a9cab820c58395a7f5d7d6d0157" + +pre_configure() { + # due to patched configure.ac + autoreconf -vfi +}