summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2011-03-23 22:51:57 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2011-03-23 22:51:57 +0000
commitd80199292d072c155c3c1009309b3fcaf4303a05 (patch)
tree6ca5f4b407f0f9227d903302c3307c0912e72c08 /net-libs/libdmapsharing
parentVersion bump. (diff)
downloadhistorical-d80199292d072c155c3c1009309b3fcaf4303a05.tar.gz
historical-d80199292d072c155c3c1009309b3fcaf4303a05.tar.bz2
historical-d80199292d072c155c3c1009309b3fcaf4303a05.zip
Initial commit, needed for rhythmbox, bug #341677.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libdmapsharing')
-rw-r--r--net-libs/libdmapsharing/ChangeLog11
-rw-r--r--net-libs/libdmapsharing/Manifest15
-rw-r--r--net-libs/libdmapsharing/files/libdmapsharing-2.1.13-slotability-fix.patch121
-rw-r--r--net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild51
-rw-r--r--net-libs/libdmapsharing/metadata.xml5
5 files changed, 203 insertions, 0 deletions
diff --git a/net-libs/libdmapsharing/ChangeLog b/net-libs/libdmapsharing/ChangeLog
new file mode 100644
index 000000000000..d3befb563dfc
--- /dev/null
+++ b/net-libs/libdmapsharing/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-libs/libdmapsharing
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libdmapsharing/ChangeLog,v 1.1 2011/03/23 22:51:57 eva Exp $
+
+*libdmapsharing-2.1.13 (23 Mar 2011)
+
+ 23 Mar 2011; Gilles Dartiguelongue <eva@gentoo.org>
+ +libdmapsharing-2.1.13.ebuild,
+ +files/libdmapsharing-2.1.13-slotability-fix.patch, +metadata.xml:
+ Initial commit, needed for rhythmbox, bug #341677.
+
diff --git a/net-libs/libdmapsharing/Manifest b/net-libs/libdmapsharing/Manifest
new file mode 100644
index 000000000000..d43f1da0a23e
--- /dev/null
+++ b/net-libs/libdmapsharing/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX libdmapsharing-2.1.13-slotability-fix.patch 3445 RMD160 85f24f799c2b249528392b72bcb94292f2a9affd SHA1 e3e856a66af2d68bd9c3601f90d6665dc08788f8 SHA256 7659b94122cfccd96fe06a46e2eff851982e5b87d205c530506de04d23d884ac
+DIST libdmapsharing-2.1.13.tar.gz 645475 RMD160 144ff83e87096ea77031eef8dac3fece266084e9 SHA1 f5873a7cfe61228aabe763d1692bede1e9050b20 SHA256 bc4bcedf5da41c1f85fc36931877044f6eaf6043277a0fcfe7d1dc24a401ee1a
+EBUILD libdmapsharing-2.1.13.ebuild 1182 RMD160 3e8c6c32adb1a05feb13a09b597ba0ee69781e2a SHA1 e04aed4b9897fba9922f347647dd368212eb5412 SHA256 dcdd5968288e802ebda589e544a008d763d0dc5b9b221241a864c00c17e941f0
+MISC ChangeLog 464 RMD160 add5dc468dfbad01cdab4defee2949990484905f SHA1 b6ff8dc19c5a1a166e3fbf3f907b233937bb4c0f SHA256 4491c29bb1a007ba0ea86e92212e6dc6f6a9c4c5115285218c6ebeb4bd44e8a5
+MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk2KeZMACgkQ1fmVwcYIWAZ67QCg2SRmYHqbhWGGnvXMB294G/Y8
+E6MAoLgfJtrxivfE5Ia5/CiFDSLdGtn3
+=DtSS
+-----END PGP SIGNATURE-----
diff --git a/net-libs/libdmapsharing/files/libdmapsharing-2.1.13-slotability-fix.patch b/net-libs/libdmapsharing/files/libdmapsharing-2.1.13-slotability-fix.patch
new file mode 100644
index 000000000000..f4f68ef0547e
--- /dev/null
+++ b/net-libs/libdmapsharing/files/libdmapsharing-2.1.13-slotability-fix.patch
@@ -0,0 +1,121 @@
+From 6b9b056cdf128c7d40b26ee6615b56510d71c341 Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Wed, 23 Mar 2011 23:31:07 +0100
+Subject: [PATCH] gentoo: fix slotability
+
+---
+ docs/Makefile.am | 2 +-
+ libdmapsharing.pc.in | 2 +-
+ libdmapsharing/Makefile.am | 16 ++++++++--------
+ tests/Makefile.am | 4 ++--
+ 4 files changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/docs/Makefile.am b/docs/Makefile.am
+index bd6f455..d88a349 100644
+--- a/docs/Makefile.am
++++ b/docs/Makefile.am
+@@ -9,7 +9,7 @@ AUTOMAKE_OPTIONS = 1.6
+ # of using the various options.
+
+ # The name of the module, e.g. 'glib'.
+-DOC_MODULE=libdmapsharing
++DOC_MODULE=libdmapsharing-@API_VERSION@
+
+ # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
+ #DOC_MODULE_VERSION=2
+diff --git a/libdmapsharing.pc.in b/libdmapsharing.pc.in
+index c95a5cf..c46f912 100644
+--- a/libdmapsharing.pc.in
++++ b/libdmapsharing.pc.in
+@@ -7,5 +7,5 @@ Name: libdmapsharing
+ Description: libdmapsharing
+ Version: @VERSION@
+ Requires: glib-2.0 libsoup-2.4
+-Libs: -L${libdir} -ldmapsharing
++Libs: -L${libdir} -ldmapsharing-@API_VERSION@
+ Cflags: -I${includedir}/libdmapsharing-@API_VERSION@
+diff --git a/libdmapsharing/Makefile.am b/libdmapsharing/Makefile.am
+index 6a589d4..293b042 100644
+--- a/libdmapsharing/Makefile.am
++++ b/libdmapsharing/Makefile.am
+@@ -1,8 +1,8 @@
+-lib_LTLIBRARIES = libdmapsharing.la
++lib_LTLIBRARIES = libdmapsharing-2.2.la
+
+ BUILT_SOURCES = dmap-marshal.c dmap-marshal.h dmap-enums.c dmap-enums.h
+
+-libdmapsharing_la_SOURCES = \
++libdmapsharing_2_2_la_SOURCES = \
+ $(BUILT_SOURCES) \
+ daap-record.c \
+ daap-share.c \
+@@ -21,15 +21,15 @@ libdmapsharing_la_SOURCES = \
+ dpap-share.c
+
+ if USE_HOWL
+-libdmapsharing_la_SOURCES += \
++libdmapsharing_2_2_la_SOURCES += \
+ dmap-mdns-browser-howl.c
+ else
+ if USE_DNS_SD
+-libdmapsharing_la_SOURCES += \
++libdmapsharing_2_2_la_SOURCES += \
+ dmap-mdns-browser-dnssd.c \
+ dmap-mdns-publisher-dnssd.c
+ else
+-libdmapsharing_la_SOURCES += \
++libdmapsharing_2_2_la_SOURCES += \
+ dmap-mdns-avahi.c \
+ dmap-mdns-browser-avahi.c \
+ dmap-mdns-publisher-avahi.c
+@@ -37,14 +37,14 @@ endif
+ endif
+
+ if USE_GSTREAMERAPP
+-libdmapsharing_la_SOURCES += \
++libdmapsharing_2_2_la_SOURCES += \
+ g-gst-input-stream.c \
+ g-gst-mp3-input-stream.c \
+ g-gst-wav-input-stream.c \
+ gst-util.c
+ endif
+
+-libdmapsharing_la_CFLAGS = \
++libdmapsharing_2_2_la_CFLAGS = \
+ -DG_LOG_DOMAIN=\"libdmapsharing\" \
+ -I$(top_srcdir) \
+ $(GDKPIXBUF_CFLAGS) \
+@@ -52,7 +52,7 @@ libdmapsharing_la_CFLAGS = \
+ $(GSTREAMERAPP_CFLAGS) \
+ $(MDNS_CFLAGS)
+
+-libdmapsharing_la_LDFLAGS = \
++libdmapsharing_2_2_la_LDFLAGS = \
+ -version-info @SO_VERSION@ \
+ $(GLIB_LIBS) \
+ $(GTHREAD_LIBS) \
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index acf0ee5..60e64c9 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -9,7 +9,7 @@ test_dmap_client_SOURCES = \
+ test-dmap-client.c
+
+ test_dmap_client_LDADD = \
+- $(top_builddir)/libdmapsharing/libdmapsharing.la \
++ $(top_builddir)/libdmapsharing/libdmapsharing-2.2.la \
+ $(GLIB_LIBS) \
+ $(GTHREAD_LIBS) \
+ $(GOBJECT_LIBS) \
+@@ -29,7 +29,7 @@ test_dmap_server_SOURCES = \
+ test-dpap-record-factory.c
+
+ test_dmap_server_LDADD = \
+- $(top_builddir)/libdmapsharing/libdmapsharing.la \
++ $(top_builddir)/libdmapsharing/libdmapsharing-2.2.la \
+ $(GLIB_LIBS) \
+ $(GTHREAD_LIBS) \
+ $(GOBJECT_LIBS) \
+--
+1.7.4.1
+
diff --git a/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild b/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild
new file mode 100644
index 000000000000..61b6f8ab02e0
--- /dev/null
+++ b/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libdmapsharing/libdmapsharing-2.1.13.ebuild,v 1.1 2011/03/23 22:51:57 eva Exp $
+
+EAPI="3"
+
+inherit autotools base eutils
+
+DESCRIPTION="A library that implements the DMAP family of protocols"
+HOMEPAGE="http://www.flyn.org/projects/libdmapsharing"
+SRC_URI="http://www.flyn.org/projects/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="2.2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=net-dns/avahi-0.6
+ >=net-libs/libsoup-2.32:2.4
+ >=media-libs/gstreamer-0.10:0.10
+ >=media-libs/gst-plugins-base-0.10.24:0.10
+ sys-libs/zlib
+ || (
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2 )
+"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1 )
+"
+
+src_prepare() {
+ base_src_prepare
+
+ # Fix slot support
+ epatch "${FILESDIR}/${P}-slotability-fix.patch"
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ econf --with-mdns=avahi $(use_enable doc gtk-doc)
+}
+
+src_install() {
+ base_src_install
+ find "${ED}" -name "*.la" -delete || die "la file removal failed"
+ dodoc AUTHORS ChangeLog NEWS TODO || die "dodoc failed"
+}
diff --git a/net-libs/libdmapsharing/metadata.xml b/net-libs/libdmapsharing/metadata.xml
new file mode 100644
index 000000000000..da6fd63d0085
--- /dev/null
+++ b/net-libs/libdmapsharing/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>