2007-09-07 21:03:58 +02:00
|
|
|
# Description: Command line MPD client
|
2020-07-12 18:48:11 +00:00
|
|
|
# URL: https://www.musicpd.org/clients/mpc/
|
2009-12-16 13:25:05 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2007-09-07 21:03:58 +02:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
2020-06-08 18:17:29 +00:00
|
|
|
# Depends on: libmpdclient meson ninja
|
|
|
|
# Optional: python3-docutils python3-sphinx
|
2006-10-22 10:50:02 +02:00
|
|
|
|
|
|
|
name=mpc
|
2020-06-08 18:17:29 +00:00
|
|
|
version=0.33
|
2006-10-22 10:50:02 +02:00
|
|
|
release=1
|
2013-11-05 09:57:17 +01:00
|
|
|
source=(http://www.musicpd.org/download/mpc/0/mpc-$version.tar.xz)
|
2006-10-22 10:50:02 +02:00
|
|
|
|
|
|
|
build() {
|
2020-06-08 18:17:29 +00:00
|
|
|
# manpages need a new port: python3-docutils
|
|
|
|
#[[ -e /usr/bin/sphinx-build && -e /usr/bin/rst2man3 ]] && PKGMK_MPC+=" -Ddocumentation=enabled" || PKGMK_MPC+=" -Ddocumentation=disabled"
|
|
|
|
meson $name-$version build $PKGMK_MPC \
|
|
|
|
--prefix=/usr
|
|
|
|
ninja -C build
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2016-05-31 01:18:26 +02:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2006-10-22 10:50:02 +02:00
|
|
|
}
|