diff --git a/common/shlibs b/common/shlibs index 1e732a98259..1bfe7007b17 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2280,3 +2280,4 @@ libKF5Solid.so.5 ksolid-5.15.0_1 libfreeimage.so.3 freeimage-3.17.0_1 libfreeimageplus.so.3 freeimage-plus-3.17.0_1 libtoluapp.so toluapp-1.0.93_1 +libmpd.so.1 libmpd-11.8.17_1 diff --git a/srcpkgs/libmpd-devel b/srcpkgs/libmpd-devel new file mode 120000 index 00000000000..385a94df245 --- /dev/null +++ b/srcpkgs/libmpd-devel @@ -0,0 +1 @@ +libmpd \ No newline at end of file diff --git a/srcpkgs/libmpd/patches/fix-build.patch b/srcpkgs/libmpd/patches/fix-build.patch new file mode 100644 index 00000000000..7b931e65848 --- /dev/null +++ b/srcpkgs/libmpd/patches/fix-build.patch @@ -0,0 +1,13 @@ +--- src/libmpd-internal.h.orig 2015-11-05 15:05:11.982772276 +0100 ++++ src/libmpd-internal.h 2015-11-05 15:05:32.845719672 +0100 +@@ -20,6 +20,10 @@ + #ifndef __MPD_INTERNAL_LIB_ + #define __MPD_INTERNAL_LIB_ + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ + #include "libmpdclient.h" + struct _MpdData_real; + diff --git a/srcpkgs/libmpd/template b/srcpkgs/libmpd/template new file mode 100644 index 00000000000..6980bfdaf63 --- /dev/null +++ b/srcpkgs/libmpd/template @@ -0,0 +1,24 @@ +# Template file for 'libmpd' +pkgname=libmpd +version=11.8.17 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="libglib-devel" +short_desc="Signal based wrapper around libmpdclient" +maintainer="Juan RP " +license="GPL-2" +homepage="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client" +distfiles="http://download.sarine.nl/Programs/gmpc/${version%.*}/${pkgname}-${version}.tar.gz" +checksum=fe20326b0d10641f71c4673fae637bf9222a96e1712f71f170fca2fc34bf7a83 + +libmpd-devel_package() { + short_desc+=" - development files" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/*.a + vmove usr/lib/*.so + } +}