lollypop: change build_style to meson

Closes #9582.
This commit is contained in:
John 2017-11-27 23:27:41 +01:00 committed by Enno Boland
parent 35ad9a2404
commit cad80def77
1 changed files with 3 additions and 17 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'lollypop'
pkgname=lollypop
version=0.9.304
revision=2
revision=3
build_style=meson
noarch=yes
nocross=yes
hostmakedepends="intltool itstool pkg-config glib-devel gobject-introspection python3 meson"
hostmakedepends="intltool itstool pkg-config glib-devel gobject-introspection python3"
makedepends="gtk+3-devel python3-devel"
depends="gst-libav libsecret libnotify python3-youtube-dl python3-dbus
python3-gobject python3-pylast totem-pl-parser"
@ -15,17 +15,3 @@ 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
}