void-packages/srcpkgs/pragha/template

36 lines
1.2 KiB
Bash

# Template file for 'pragha'
pkgname=pragha
version=1.3.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool xfce4-dev-tools glib-devel gettext-devel
pkg-config intltool"
makedepends="
gtk+3-devel glib-devel gstreamer1-devel sqlite-devel taglib-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 grilo-devel libgudev-devel
libmtp-devel"
short_desc="Lightweight Music Player for GNU/Linux"
maintainer="VargMon <vargmon98@gmail.com>"
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=8be35959f526d079cc19221653cb691fb66251e6819f994062e0b02e08b1809b
do_configure() {
CPP=$CPP xdt-autogen \
$configure_args \
--disable-maintainer-mode \
--with-locales-dir=/usr/share/locale
}
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
}
}