From bc8e1443d54c13363798e421ae63102979e6413b Mon Sep 17 00:00:00 2001 From: human Date: Wed, 30 Jan 2019 16:26:27 +0200 Subject: [PATCH] deadbeef-fb: add gtk3 build option --- srcpkgs/deadbeef-fb/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/deadbeef-fb/template b/srcpkgs/deadbeef-fb/template index bd4dfb90872..bafaa1266c8 100644 --- a/srcpkgs/deadbeef-fb/template +++ b/srcpkgs/deadbeef-fb/template @@ -1,13 +1,13 @@ # Template file for 'deadbeef-fb' pkgname=deadbeef-fb version=0.92.20170214 -revision=1 +revision=2 _commit=47bc3fe0fe151dfbb75f90f9e4d5e9a7affd280a wrksrc="${pkgname}-${_commit}-${_commit}" build_style=gnu-configure -configure_args="--disable-gtk2 --disable-static" +configure_args="$(vopt_if gtk3 --disable-gtk2 --disable-gtk3) --disable-static" hostmakedepends="autogen automake libtool pkg-config" -makedepends="deadbeef-devel gtk+3-devel" +makedepends="deadbeef-devel $(vopt_if gtk3 gtk+3-devel gtk+-devel)" depends="deadbeef" short_desc="Filebrowser plugin for the DeaDBeeF audio player" maintainer="newbluemoon " @@ -15,6 +15,8 @@ license="GPL-2.0-or-later" homepage="https://gitlab.com/zykure/deadbeef-fb" distfiles="https://gitlab.com/zykure/${pkgname}/repository/${_commit}/archive.tar.bz2>${pkgname}-${version}.tar.bz2" checksum=15b36c26a04f6e4438a4582b75ef7e0fd2756d15e71611410d200a9301d9444a +build_options="gtk3" +build_options_default="gtk3" pre_configure() { ./autogen.sh