void-packages/srcpkgs/lollypop/template

32 lines
1008 B
Bash

# Template file for 'lollypop'
pkgname=lollypop
version=0.9.303
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=341391da9237ef9cff4cb9e032a68b5588f575fee0ff5159bc23ffeebfaee6ca
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
}