summaryrefslogtreecommitdiff
path: root/package/libmpdclient
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-25 08:52:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-25 08:53:39 +0100
commitd6143e93b1a6aa7bcaa10ba17b7ff4f81d0cd834 (patch)
tree247c330a5e0e8b31a443cf3e5578ac3724f37428 /package/libmpdclient
parent82dcea35745cb420e2241bed8c805dc87700c3ad (diff)
libmpdclient: update to 2.13, use meson CONFIG_STYLE
Diffstat (limited to 'package/libmpdclient')
-rw-r--r--package/libmpdclient/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/package/libmpdclient/Makefile b/package/libmpdclient/Makefile
index 5e5a8142b..2d9f31c75 100644
--- a/package/libmpdclient/Makefile
+++ b/package/libmpdclient/Makefile
@@ -4,25 +4,29 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libmpdclient
-PKG_VERSION:= 2.10
+PKG_VERSION:= 2.13
PKG_RELEASE:= 1
-PKG_HASH:= 4f08cde82dae70895f8e4532a6e9b54b201efd5591c6b5d6834895807ed2ff82
+PKG_HASH:= 5115bd52bc20a707c1ecc7587e6389c17305348e2132a66cf767c62fc55ed45d
PKG_DESCR:= library for interfacing music player daemon
PKG_SECTION:= libs/audio
+PKG_BUILDDEP:= meson-host
PKG_URL:= http://www.musicpd.org/
PKG_SITES:= http://www.musicpd.org/download/libmpdclient/2/
PKG_OPTS:= dev
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+$(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
-CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
-CONFIGURE_ARGS+= --disable-documentation
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
libmpdclient-install:
$(INSTALL_DIR) $(IDIR_LIBMPDCLIENT)/usr/lib
$(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \
$(IDIR_LIBMPDCLIENT)/usr/lib
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk