diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-02-20 14:21:35 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-02-20 14:52:57 +0100 |
commit | f6b424aa06597911fd644f5b53c8a84cdf67af72 (patch) | |
tree | d2b0c31f7d3c60e217a254a546b0f65c86a8cb7c /media-libs/gupnp-dlna/gupnp-dlna-0.10.4.ebuild | |
parent | media-libs/gupnp-dlna: Drop old (diff) | |
download | gentoo-f6b424aa06597911fd644f5b53c8a84cdf67af72.tar.gz gentoo-f6b424aa06597911fd644f5b53c8a84cdf67af72.tar.bz2 gentoo-f6b424aa06597911fd644f5b53c8a84cdf67af72.zip |
media-libs/gupnp-dlna: Version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-libs/gupnp-dlna/gupnp-dlna-0.10.4.ebuild')
-rw-r--r-- | media-libs/gupnp-dlna/gupnp-dlna-0.10.4.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/media-libs/gupnp-dlna/gupnp-dlna-0.10.4.ebuild b/media-libs/gupnp-dlna/gupnp-dlna-0.10.4.ebuild new file mode 100644 index 000000000000..7ab3dd1db9ed --- /dev/null +++ b/media-libs/gupnp-dlna/gupnp-dlna-0.10.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala + +DESCRIPTION="Library providing DLNA-related functionality for MediaServers" +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" + +LICENSE="LGPL-2" +SLOT="2.0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+introspection" + +RDEPEND=" + >=dev-libs/glib-2.34:2 + >=dev-libs/libxml2-2.5:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0[introspection?] + introspection? ( >=dev-libs/gobject-introspection-0.6.4:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + virtual/pkgconfig + introspection? ( $(vala_depend) ) +" + +src_prepare() { + # Make doc parallel installable + cd "${S}"/doc/gupnp-dlna + sed -e "s/\(DOC_MODULE.*=\).*/\1${PN}-${SLOT}/" \ + -e "s/\(DOC_MAIN_SGML_FILE.*=\).*/\1${PN}-docs-${SLOT}.sgml/" \ + -i Makefile.am Makefile.in || die + sed -e "s/\(<book.*name=\"\)${PN}/\1${PN}-${SLOT}/" \ + -i html/${PN}.devhelp2 || die + mv ${PN}-docs{,-${SLOT}}.sgml || die + mv ${PN}-overrides{,-${SLOT}}.txt || die + mv ${PN}-sections{,-${SLOT}}.txt || die + mv ${PN}{,-${SLOT}}.types || die + mv html/${PN}{,-${SLOT}}.devhelp2 + + cd "${S}" + + use introspection && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + $(use_enable introspection) +} + +src_install() { + # Parallel install fails, upstream bug #720053 + MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install +} |