From 28e7c7a0e64ee90af12e6037afa0e35bf9eb30ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 10 Jun 2020 23:32:33 +0700 Subject: [PATCH] gst-plugins-good1: split qt5 subpackage --- srcpkgs/gst-plugins-good1-qt5 | 1 + srcpkgs/gst-plugins-good1/template | 26 +++++++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/gst-plugins-good1-qt5 diff --git a/srcpkgs/gst-plugins-good1-qt5 b/srcpkgs/gst-plugins-good1-qt5 new file mode 120000 index 0000000000..345681e54e --- /dev/null +++ b/srcpkgs/gst-plugins-good1-qt5 @@ -0,0 +1 @@ +gst-plugins-good1 \ No newline at end of file diff --git a/srcpkgs/gst-plugins-good1/template b/srcpkgs/gst-plugins-good1/template index f09a70d1e2..b6dfc68720 100644 --- a/srcpkgs/gst-plugins-good1/template +++ b/srcpkgs/gst-plugins-good1/template @@ -1,22 +1,22 @@ # Template file for 'gst-plugins-good1' pkgname=gst-plugins-good1 version=1.16.2 -revision=1 +revision=2 wrksrc="${pkgname/1/}-${version}" build_style=meson -configure_args="-Ddv=disabled -Ddv1394=disabled -Dshout2=disabled - -Dgtk3=$(vopt_if gtk3 enabled disabled) - $(vopt_if qt '-Dqt5=enabled' '-Dqt5=disabled -Dexamples=disabled')" +configure_args="-Ddv=disabled -Ddv1394=disabled -Dshout2=disabled -Dqt5=enabled + -Dgtk3=$(vopt_if gtk3 enabled disabled)" # XXX: libdv, dv1394 and shout2 modules. -hostmakedepends="pkg-config intltool glib-devel orc $(vopt_if qt 'qt5-qmake qt5-host-tools')" +hostmakedepends="pkg-config intltool glib-devel orc qt5-qmake qt5-host-tools" makedepends=" libpng-devel libxml2-devel libgudev-devel libflac-devel libXdamage-devel aalib-devel libcaca-devel taglib-devel libsoup-gnome-devel gst-plugins-base1-devel pulseaudio-devel orc-devel libXv-devel wavpack-devel v4l-utils-devel jack-devel speex-devel libvpx-devel lame-devel - mpg123-devel twolame-devel $(vopt_if gtk3 gtk+3-devel) $(vopt_if qt 'qt5-devel - qt5-declarative-devel qt5-x11extras-devel qt5-wayland-devel')" + mpg123-devel twolame-devel qt5-devel qt5-declarative-devel + qt5-x11extras-devel qt5-wayland-devel + $(vopt_if gtk3 gtk+3-devel)" depends="gst-plugins-base1>=${version}" short_desc="GStreamer set of well-maintained good plug-ins (1.x)" maintainer="Orphaned " @@ -26,5 +26,13 @@ distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz" checksum=40bb3bafda25c0b739c8fc36e48380fccf61c4d3f83747e97ac3f9b0171b1319 lib32disabled=yes -build_options="gtk3 qt" -build_options_default="gtk3 qt" +build_options="gtk3" +build_options_default="gtk3" + +gst-plugins-good1-qt5_package() { + short_desc+=" - Qt5 plugins" + depends="gst-plugins-good1-${version}_${revision}" + pkg_install() { + vmove usr/lib/gstreamer-1.0/libgstqml*.so + } +}