python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / pragha / template
blob2ec8d6afaa1069ab4d9b2a6c4a3f3e07055e2011
1 # Template file for 'pragha'
2 pkgname=pragha
3 version=1.3.3
4 revision=3
5 build_style=gnu-configure
6 hostmakedepends="automake libtool xfce4-dev-tools glib-devel gettext-devel pkg-config"
7 makedepends="
8  gtk+3-devel glib-devel gstreamer1-devel sqlite-devel taglib-devel
9  $(vopt_if peas libpeas-devel) libxfce4ui-devel totem-pl-parser-devel gst-plugins-base1-devel
10  libnotify-devel libcdio-devel libcdio-paranoia-devel libcddb-devel
11  libkeybinder3-devel glyr-devel rygel-devel grilo-devel libgudev-devel libmtp-devel"
12 short_desc="Pragha is a Lightweight Music Player for GNU/Linux"
13 maintainer="VargMon <vargmon98@gmail.com>"
14 license="GPL-3"
15 homepage="https://pragha-music-player.github.io/"
16 distfiles="https://github.com/pragha-music-player/pragha/archive/v${version}.tar.gz"
17 checksum=71babb217115f362fc8565072cd70d94f02d58b346f00d2d06e40cecaaf282c8
19 build_options="peas"
20 desc_option_peas="Enable libpeas plugin library"
22 if [ -z "$CROSS_BUILD" ]; then
23         build_options_default="peas"
26 pre_configure() {
27         CPP=$CPP ./autogen.sh
30 if [ -z "$CROSS_BUILD" ]; then
32         pragha-devel_package() {
33                 short_desc+=" - development files"
34                 depends="${sourcepkg}>=${version}_${revision}"
35                 pkg_install() {
36                         vmove usr/include/pragha/plugins
37                         vmove usr/lib/pragha/plugins/devices/libdeviceclient.so
38                 }
39         }