void-packages/srcpkgs/lollypop/template

32 lines
1008 B
Bash

# Template file for 'lollypop'
pkgname=lollypop
version=0.9.304
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=e80933295f9dbc04ca1b079250cb920678c3aa3b54a11e035d10a0101c371e1c
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
}