2021-02-24 10:59:03 +00:00
|
|
|
# Description: asynchronous API library for interfacing MPD in the C, C++ & Objective C languages
|
|
|
|
# URL: https://www.musicpd.org/libs/libmpdclient/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-01-03 14:32:23 +01:00
|
|
|
# Depends on:
|
2009-12-15 20:24:17 +01:00
|
|
|
|
|
|
|
name=libmpdclient
|
2021-11-24 09:14:51 +01:00
|
|
|
version=2.20
|
2009-12-15 20:24:17 +01:00
|
|
|
release=1
|
2020-02-01 23:06:36 +11:00
|
|
|
source=(https://www.musicpd.org/download/libmpdclient/2/libmpdclient-$version.tar.xz)
|
2009-12-15 20:24:17 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2021-02-24 10:59:03 +00:00
|
|
|
meson build --prefix=/usr \
|
|
|
|
--buildtype=plain \
|
2022-01-03 14:32:23 +01:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2021-02-24 10:59:03 +00:00
|
|
|
-D documentation=false
|
2020-01-09 01:05:38 +11:00
|
|
|
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
|
|
|
|
rm -r $PKG/usr/share/doc
|
2009-12-15 20:24:17 +01:00
|
|
|
}
|