From 8f9791cbf78d696eb85d62b50f06d6e8e5817aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Jan 2021 13:40:19 +0700 Subject: [PATCH] pragha: fix l10n dir, remove build_options --- srcpkgs/pragha/template | 44 ++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/srcpkgs/pragha/template b/srcpkgs/pragha/template index fef3510d75c..2069b22b1ef 100644 --- a/srcpkgs/pragha/template +++ b/srcpkgs/pragha/template @@ -1,41 +1,35 @@ # Template file for 'pragha' pkgname=pragha version=1.3.3 -revision=5 +revision=6 build_style=gnu-configure -hostmakedepends="automake libtool xfce4-dev-tools glib-devel gettext-devel pkg-config" +hostmakedepends="automake libtool xfce4-dev-tools glib-devel gettext-devel + pkg-config" makedepends=" gtk+3-devel glib-devel gstreamer1-devel sqlite-devel taglib-devel - $(vopt_if peas libpeas-devel) libxfce4ui-devel totem-pl-parser-devel gst-plugins-base1-devel + libpeas-devel libxfce4ui-devel totem-pl-parser-devel gst-plugins-base1-devel libnotify-devel libcdio-devel libcdio-paranoia-devel libcddb-devel libkeybinder3-devel glyr-devel rygel-devel grilo-devel libgudev-devel libmtp-devel" -short_desc="Pragha is a Lightweight Music Player for GNU/Linux" +short_desc="Lightweight Music Player for GNU/Linux" maintainer="VargMon " -license="GPL-3" +license="GPL-3.0-or-later, LGPL-2.1-or-later" homepage="https://pragha-music-player.github.io/" distfiles="https://github.com/pragha-music-player/pragha/archive/v${version}.tar.gz" checksum=71babb217115f362fc8565072cd70d94f02d58b346f00d2d06e40cecaaf282c8 -build_options="peas" -desc_option_peas="Enable libpeas plugin library" - -if [ -z "$CROSS_BUILD" ]; then - build_options_default="peas" -fi - -pre_configure() { - CPP=$CPP ./autogen.sh +do_configure() { + CFLAGS+=" $($PKG_CONFIG --cflags gupnp-1.2)" + CPP=$CPP ./autogen.sh \ + $configure_args \ + --disable-maintainer-mode \ + --with-locales-dir=/usr/share/locale } -if [ -z "$CROSS_BUILD" ]; then - - pragha-devel_package() { - short_desc+=" - development files" - depends="${sourcepkg}>=${version}_${revision}" - pkg_install() { - vmove usr/include/pragha/plugins - vmove usr/lib/pragha/plugins/devices/libdeviceclient.so - } +pragha-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include/pragha/plugins + vmove usr/lib/pragha/plugins/devices/libdeviceclient.so } - -fi +}