23 lines
604 B
Plaintext
23 lines
604 B
Plaintext
# 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
|
|
|
|
name=libmpdclient
|
|
version=2.22
|
|
release=1
|
|
source=(https://www.musicpd.org/download/libmpdclient/2/libmpdclient-$version.tar.xz)
|
|
|
|
build() {
|
|
CFLAGS+=' -Wno-pedantic' \
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share
|
|
}
|