Skip to content
Snippets Groups Projects
Commit e1c72cc1 authored by Leo's avatar Leo
Browse files

community/mpdscribble: upgrade to 0.23

parent ef26123e
No related branches found
No related tags found
1 merge request!12105community/mpdscribble: upgrade to 0.23
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
# Maintainer:
pkgname=mpdscribble
pkgver=0.22
pkgrel=2
pkgver=0.23
pkgrel=0
pkgdesc="last.fm client for mpd"
options="!check" # No test target
url="https://github.com/MusicPlayerDaemon/mpdscribble"
arch="all"
license="GPL-2.0-or-later"
makedepends="libmpdclient-dev curl-dev glib-dev automake libtool autoconf"
makedepends="meson libmpdclient-dev curl-dev libgcrypt-dev boost-dev"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://www.musicpd.org/download/mpdscribble/${pkgver}/mpdscribble-${pkgver}.tar.bz2
source="https://www.musicpd.org/download/mpdscribble/$pkgver/mpdscribble-$pkgver.tar.xz
mpdscribble.initd"
prepare() {
autoreconf -fi
default_prepare
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
abuild-meson \
-Dsystemd=disabled \
-Dtest=false \
-Dsyslog=enabled \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -D -m755 "$srcdir"/mpdscribble.initd "$pkgdir"/etc/init.d/mpdscribble
}
sha512sums="bedd93392a4d5a0609dcaf7aefeeff3851f3084da8c34a4fc1f8fde51c2ba10b8370ac52cc8d55f0c9a96fffed975827a0935087c2c51880b7bfef8d79182dc8 mpdscribble-0.22.tar.bz2
sha512sums="f924076a8aa201f67ba81e72a44d3dd1c31618bd87e4f75f6b63f7b3814fa08f6ef4f7964b1d518c5f8b68a1f8ba88f867c08ed8b0387157eec8e9f97eb0b825 mpdscribble-0.23.tar.xz
b82d3e5678aba145a5c8d172ebf74960d164e3e934426cc755948d795743bb07158f502705d40c1730a40b6a6d73e84c5792419adaf6ab83ec7c33756f0abb43 mpdscribble.initd"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment