You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/libdmapsharing/libdmapsharing-2.9.17.ebuild

53 lines
1.2 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libdmapsharing/libdmapsharing-2.9.17.ebuild,v 1.1 2013/04/22 18:24:14 pacho Exp $
EAPI=5
inherit 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="3.0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
# 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:1.0
media-libs/gst-plugins-base:1.0
sys-libs/zlib
"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
virtual/pkgconfig
"
src_prepare() {
default
# Fix documentation slotting
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
}
src_install() {
default
prune_libtool_files
}