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
|
2009-12-15 20:24:17 +01:00
|
|
|
|
|
|
|
name=libmpdclient
|
2023-12-22 23:01:42 +01:00
|
|
|
version=2.22
|
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() {
|
2023-12-22 23:01:42 +01:00
|
|
|
CFLAGS+=' -Wno-pedantic' \
|
|
|
|
meson setup $name-$version build \
|
|
|
|
--prefix=/usr \
|
2021-02-24 10:59:03 +00:00
|
|
|
--buildtype=plain \
|
2022-01-03 14:32:23 +01:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
2023-12-22 23:01:42 +01:00
|
|
|
-D b_pie=true
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share
|
2009-12-15 20:24:17 +01:00
|
|
|
}
|