summaryrefslogtreecommitdiff
path: root/media-libs/libmpd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libmpd
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libmpd')
-rw-r--r--media-libs/libmpd/Manifest6
-rw-r--r--media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch15
-rw-r--r--media-libs/libmpd/libmpd-11.8.17-r1.ebuild42
-rw-r--r--media-libs/libmpd/metadata.xml9
4 files changed, 72 insertions, 0 deletions
diff --git a/media-libs/libmpd/Manifest b/media-libs/libmpd/Manifest
new file mode 100644
index 000000000000..28b1c60d5cbe
--- /dev/null
+++ b/media-libs/libmpd/Manifest
@@ -0,0 +1,6 @@
+AUX libmpd-11.8.17-remove-strndup.patch 439 SHA256 3ecbc0cf560fc66cdd9c5da72d02089ba684965c9ed17a8fc55a0ce6231e58a7 SHA512 0b0c3b28abd7aaf540d6133ad5a72f5e0fc2cca593bc870106c17d9b1828a2bb35880436a489261ef1c56bbb176e0809d6f09165108bf867f776902cd5757fff WHIRLPOOL 8b7f7b2cfc609a98c00ecbcdd827ff4ebee8b72c78ed045308e7975f28b0a8c50f886c1fec0920a1052ecd2cfbd2a10972707e616f18619aa14d8be588e2f2b4
+DIST libmpd-11.8.17.tar.gz 365015 SHA256 fe20326b0d10641f71c4673fae637bf9222a96e1712f71f170fca2fc34bf7a83 SHA512 ffe2880834a4a39745a5327d628781e16eeb8cd1ec17402dda46ad96ff402bc0d8b4312ba058a39242ad9bb8c3a0bb6feb2c5ea2a30ef9be97652fdb5c02572d WHIRLPOOL b5fe844e7a21229c2c4a50080964e13ee1bc7b69257b604d0a62e476ae24df24b6923bd8cdd9970d2335aa27a84c68f8c33983527304f16e32ccc35d5bcacca2
+EBUILD libmpd-11.8.17-r1.ebuild 913 SHA256 19d12eb60e4497ee87a3926dfe47708d979b9546935196461138f2ca0b0aa9a8 SHA512 ac0360ee4eebb272efc920daac08c04c8942e798d3994af9b74053166b2f720918b33bcba0b2923a08af243bdfcf5cf4b71b1dc41b9effb131aa30f8c7cc5d70 WHIRLPOOL 4dc939faa002e881dd9a8c3658a334370f2d76f08c4fe5048af8a52a2dff6e166a6518fe97006a98b94555a651e54d1667578eb25db0a1436054fb4838278432
+MISC ChangeLog 2792 SHA256 7288981f4af60ebe90419a5f28ae137da7658f191b76c978b9e42953bc91c55f SHA512 c01591739b2d4d710e91d28eaf423241c4843e45f940e03ee9511184a4f0f77248ac8f99f55e6b72b015f5cf00c065698d72dccb3273225beec01a0b8e6e329d WHIRLPOOL 432ba3802c0c739b21030cec742585ca7074fdb4c25cbe35ee41268bf867a9ca3b34137bd402eade57a4d4a8bd33558d10aef4058c029388a42ce4d047d01a1c
+MISC ChangeLog-2015 8687 SHA256 61edf650fb5c3232b9c70e450df701344f5232edffb69c74b14806303f8ab667 SHA512 23e37dff7898cdcef70ac96ad7abba9b5727ceea07e8213ed3c29343a98c96623977f524061cdbbedfc32e611a31d40f7a81ae1ea53cda9e3c71fcea1e7e7151 WHIRLPOOL 492a7f9058b2224cfc3dd345ec44660461c2df6d58632c6f79011c7573afa413b28fa514b7c12f67d41b8f1efe37a410c6085d3cf5e7c5ad878e7338dbbb11db
+MISC metadata.xml 333 SHA256 ff6d08128fe3368a71a9d11c563b7bb52030ed737460f28ac791ec66c97f4597 SHA512 41be33cc0e14bfb6e59a8eca29178bf98c97784f397d5f8f7fb199ef320404fd4ea7c55fc99d2db7cd6c75d905ddef52b5b0e89cb8588774613ccc5c5c5e05b9 WHIRLPOOL c0febf6de4562de845852de62a17216140d7c6d35d5b249930606e924171e1df545fb6bc3e1635277669d07e58b62ca5d2bceeb2a6672cea0ba0a762b6eada8d
diff --git a/media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch b/media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch
new file mode 100644
index 000000000000..ad4fdc02ef3e
--- /dev/null
+++ b/media-libs/libmpd/files/libmpd-11.8.17-remove-strndup.patch
@@ -0,0 +1,15 @@
+diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h
+index c84c3a4..51be441 100644
+--- a/src/libmpd-internal.h
++++ b/src/libmpd-internal.h
+@@ -206,10 +206,6 @@ int mpd_unlock_conn(MpdObj *mi);
+ MpdData * mpd_misc_sort_tag_list(MpdData *data);
+
+
+-#ifndef HAVE_STRNDUP
+-char * strndup (const char *s, size_t n);
+-#endif
+-
+ int mpd_server_get_allowed_commands(MpdObj *mi);
+ typedef enum _MpdSearchType {
+ MPD_SEARCH_TYPE_NONE,
diff --git a/media-libs/libmpd/libmpd-11.8.17-r1.ebuild b/media-libs/libmpd/libmpd-11.8.17-r1.ebuild
new file mode 100644
index 000000000000..14ddf16e1248
--- /dev/null
+++ b/media-libs/libmpd/libmpd-11.8.17-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A library handling connections to a MPD server"
+HOMEPAGE="http://gmpc.wikia.com/wiki/Libmpd"
+SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=dev-libs/glib-2.16:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-remove-strndup.patch
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+src_compile() {
+ emake
+ use doc && emake -C doc doc
+}
+
+src_install() {
+ default
+ use doc && dohtml -r doc/html/*
+ find "${ED}" -name "*.la" -exec rm -rf {} + || die
+ rm "${ED}"/usr/share/doc/${PF}/{README,ChangeLog} || die
+}
diff --git a/media-libs/libmpd/metadata.xml b/media-libs/libmpd/metadata.xml
new file mode 100644
index 000000000000..6e72103a0347
--- /dev/null
+++ b/media-libs/libmpd/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+<longdescription>A library handling connection to a MPD server.</longdescription>
+</pkgmetadata>