void-packages/srcpkgs/pragha/template

39 lines
1.2 KiB
Bash
Raw Normal View History

# Template file for 'pragha'
pkgname=pragha
version=1.3.3
2018-03-12 16:59:44 +01:00
revision=2
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
}
}