diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-03 23:43:53 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-03 23:43:53 +0000 |
commit | 2435588acc39cc52d4b8302a810c5d6766790484 (patch) | |
tree | ec21b30d8f8c92920448014efd8da4939028b3f8 /net-libs/libdmapsharing/libdmapsharing-2.9.15.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-2435588acc39cc52d4b8302a810c5d6766790484.tar.gz gentoo-2-2435588acc39cc52d4b8302a810c5d6766790484.tar.bz2 gentoo-2-2435588acc39cc52d4b8302a810c5d6766790484.zip |
Version bump, fixes build failure with >=glib-2.31 (bug #413757, thanks to Juergen Rose). Also fix >=glib-2.31 header use in slot 2.2. Switch to virtual/pkgconfig. Drop old.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libdmapsharing/libdmapsharing-2.9.15.ebuild')
-rw-r--r-- | net-libs/libdmapsharing/libdmapsharing-2.9.15.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/net-libs/libdmapsharing/libdmapsharing-2.9.15.ebuild b/net-libs/libdmapsharing/libdmapsharing-2.9.15.ebuild new file mode 100644 index 000000000000..555b6a43e797 --- /dev/null +++ b/net-libs/libdmapsharing/libdmapsharing-2.9.15.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libdmapsharing/libdmapsharing-2.9.15.ebuild,v 1.1 2012/05/03 23:43:53 tetromino Exp $ + +EAPI="4" + +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="3.0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +# Vala/libgee/gtk+:2 is only used when maintainer-mode is enabled +# Doesn't seem to be used for anything... +# TODO: implement tests (requires dev-libs/check) +RDEPEND=" + dev-libs/glib:2 + x11-libs/gdk-pixbuf: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 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( >=dev-util/gtk-doc-1 ) +" + +src_prepare() { + default + + # Fix documentation sloting + sed "s/^\(DOC_MODULE\).*/\1 = ${PN}-${SLOT}/" \ + -i doc/Makefile.am doc/Makefile.in || die "sed failed" +} + +src_configure() { + econf --disable-maintainer-mode \ + --with-mdns=avahi \ + $(use_enable doc gtk-doc) +} + +src_install() { + default + find "${ED}" -name "*.la" -delete || die "la file removal failed" +} |