pragha: fix l10n dir, remove build_options
This commit is contained in:
parent
e1105eff89
commit
8f9791cbf7
@ -1,34 +1,30 @@
|
|||||||
# Template file for 'pragha'
|
# Template file for 'pragha'
|
||||||
pkgname=pragha
|
pkgname=pragha
|
||||||
version=1.3.3
|
version=1.3.3
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
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="
|
makedepends="
|
||||||
gtk+3-devel glib-devel gstreamer1-devel sqlite-devel taglib-devel
|
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
|
libnotify-devel libcdio-devel libcdio-paranoia-devel libcddb-devel
|
||||||
libkeybinder3-devel glyr-devel rygel-devel grilo-devel libgudev-devel libmtp-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 <vargmon98@gmail.com>"
|
maintainer="VargMon <vargmon98@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://pragha-music-player.github.io/"
|
homepage="https://pragha-music-player.github.io/"
|
||||||
distfiles="https://github.com/pragha-music-player/pragha/archive/v${version}.tar.gz"
|
distfiles="https://github.com/pragha-music-player/pragha/archive/v${version}.tar.gz"
|
||||||
checksum=71babb217115f362fc8565072cd70d94f02d58b346f00d2d06e40cecaaf282c8
|
checksum=71babb217115f362fc8565072cd70d94f02d58b346f00d2d06e40cecaaf282c8
|
||||||
|
|
||||||
build_options="peas"
|
do_configure() {
|
||||||
desc_option_peas="Enable libpeas plugin library"
|
CFLAGS+=" $($PKG_CONFIG --cflags gupnp-1.2)"
|
||||||
|
CPP=$CPP ./autogen.sh \
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
$configure_args \
|
||||||
build_options_default="peas"
|
--disable-maintainer-mode \
|
||||||
fi
|
--with-locales-dir=/usr/share/locale
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
CPP=$CPP ./autogen.sh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
|
|
||||||
pragha-devel_package() {
|
pragha-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
@ -37,5 +33,3 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||||||
vmove usr/lib/pragha/plugins/devices/libdeviceclient.so
|
vmove usr/lib/pragha/plugins/devices/libdeviceclient.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user