New package: pragha-1.3.3

+ add pragha-devel subpackage for external plugins
+ no plugins for cross builds because libpeas-devel can't be cross built

Closes: #12418 [via git-merge-pr]
This commit is contained in:
VargMon 2018-03-12 05:40:41 -05:00 committed by Jürgen Buchmüller
parent e6b8d549d5
commit c664ca0b8c
3 changed files with 40 additions and 0 deletions

View file

@ -2946,6 +2946,7 @@ libprotobuf-lite.so.15 protobuf-lite-3.5.0.1_1
libprotoc.so.15 protobuf-3.5.0.1_1
libprotobuf.so.15 protobuf-3.5.0.1_1
libsombok.so.3 sombok-2.4.0_1
libdeviceclient.so.0 pragha-1.3.3_1
libguile-srfi-srfi-1-v-3.so.3 guile1.8-1.8.8_1
libguile-srfi-srfi-4-v-3.so.3 guile1.8-1.8.8_1
libguile-srfi-srfi-60-v-2.so.2 guile1.8-1.8.8_1

1
srcpkgs/pragha-devel Symbolic link
View file

@ -0,0 +1 @@
pragha

38
srcpkgs/pragha/template Normal file
View file

@ -0,0 +1,38 @@
# Template file for 'pragha'
pkgname=pragha
version=1.3.3
revision=1
build_style=gnu-configure
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
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"
maintainer="VargMon <vargmon98@gmail.com>"
license="GPL-3"
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"
subpackages="pragha"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="peas"
subpackages+=" pragha-devel"
fi
pre_configure() {
CPP=$CPP ./autogen.sh
}
pragha-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include/pragha/plugins
vmove usr/lib/pragha/plugins/devices/libdeviceclient.so
}
}