void-packages/srcpkgs/lollypop/template
2017-07-16 03:29:07 +02:00

31 lines
1,008 B
Bash

# Template file for 'lollypop'
pkgname=lollypop
version=0.9.244
revision=1
noarch=yes
nocross=yes
hostmakedepends="intltool itstool pkg-config glib-devel gobject-introspection python3 meson"
makedepends="gtk+3-devel python3-devel"
depends="gst-libav libsecret libnotify python3-youtube-dl python3-dbus
python3-gobject python3-pylast totem-pl-parser"
pycompile_module="lollypop"
short_desc="A music player for GNOME"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="https://gnumdk.github.io/lollypop-web/"
distfiles="https://github.com/gnumdk/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=7ca012a6a6b4dc4d517d79e888b1b17a9e24a55faea925d8a6957c7a33af3679
do_build() {
meson ${configure_args} --prefix /usr . _build
ninja ${makejobs} -C _build
}
do_install() {
local f
env DESTDIR="$DESTDIR" ninja -C _build install
for f in lollypop{,-cli}; do
chmod +x "${DESTDIR}"/usr/bin/${f}
done
chmod +x "${DESTDIR}"/usr/libexec/lollypop-sp
}