From 51846bb8aab702e27e2dc64355b22bae38c71664 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Tue, 3 Sep 2019 09:16:37 +0200 Subject: [PATCH] audacious: enable Qt interface --- common/shlibs | 1 + srcpkgs/audacious/template | 16 +++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/common/shlibs b/common/shlibs index 09df4f3cec..30b3b4653d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1151,6 +1151,7 @@ libguess.so.1 libguess-1.1_1 libaudcore.so.5 audacious-3.9_1 libaudgui.so.5 audacious-3.9_1 libaudtag.so.3 audacious-3.8_1 +libaudqt.so.2 audacious-3.10.1_2 libgstreamer-1.0.so.0 gstreamer1-1.0.0_1 libgstbase-1.0.so.0 gstreamer1-1.0.0_1 libgstcontroller-1.0.so.0 gstreamer1-1.0.0_1 diff --git a/srcpkgs/audacious/template b/srcpkgs/audacious/template index 6952855360..e925bb3683 100644 --- a/srcpkgs/audacious/template +++ b/srcpkgs/audacious/template @@ -1,11 +1,12 @@ # Template file for 'audacious' pkgname=audacious version=3.10.1 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--enable-thunar" -hostmakedepends="pkg-config glib-devel" -makedepends="libSM-devel gtk+-devel dbus-glib-devel libguess-devel" +configure_args="$(vopt_enable gtk) $(vopt_enable qt)" +hostmakedepends="pkg-config glib-devel $(vopt_if qt qt5-host-tools)" +makedepends="libSM-devel dbus-glib-devel libguess-devel $(vopt_if gtk gtk+-devel) + $(vopt_if qt qt5-devel)" depends="desktop-file-utils hicolor-icon-theme" short_desc="Lightweight, advanced audio player focused on audio quality" maintainer="Orphaned " @@ -14,6 +15,11 @@ homepage="https://audacious-media-player.org/" distfiles="https://distfiles.${pkgname}-media-player.org/${pkgname}-${version}.tar.bz2" checksum=8366e840bb3c9448c2cf0cf9a0800155b0bd7cc212a28ba44990c3d2289c6b93 +build_options="gtk qt" +build_options_default="gtk" +desc_option_gtk="Enable support for the GTK+2 GUI toolkit" +vopt_conflict gtk qt + post_install() { vlicense COPYING } @@ -24,6 +30,6 @@ audacious-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove usr/lib/*.so + vmove "usr/lib/*.so" } }