diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-02-22 08:23:51 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-02-22 08:23:51 +0000 |
commit | 3b29623fbb22ede0f429fa568b5c25ae66f843a0 (patch) | |
tree | ae6456f130c5112811f330ad2a303bedf9ae4ccc /media-libs | |
parent | Version bump, drop old (diff) | |
download | gentoo-2-3b29623fbb22ede0f429fa568b5c25ae66f843a0.tar.gz gentoo-2-3b29623fbb22ede0f429fa568b5c25ae66f843a0.tar.bz2 gentoo-2-3b29623fbb22ede0f429fa568b5c25ae66f843a0.zip |
Version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/grilo/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/grilo/grilo-0.2.9.ebuild | 93 |
2 files changed, 99 insertions, 1 deletions
diff --git a/media-libs/grilo/ChangeLog b/media-libs/grilo/ChangeLog index 9245141cb40b..94f2115761d9 100644 --- a/media-libs/grilo/ChangeLog +++ b/media-libs/grilo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/grilo # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v 1.32 2014/02/11 21:46:53 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v 1.33 2014/02/22 08:23:51 pacho Exp $ + +*grilo-0.2.9 (22 Feb 2014) + + 22 Feb 2014; Pacho Ramos <pacho@gentoo.org> +grilo-0.2.9.ebuild: + Version bump *grilo-0.2.8 (11 Feb 2014) diff --git a/media-libs/grilo/grilo-0.2.9.ebuild b/media-libs/grilo/grilo-0.2.9.ebuild new file mode 100644 index 000000000000..f0fb6962720b --- /dev/null +++ b/media-libs/grilo/grilo-0.2.9.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/grilo-0.2.9.ebuild,v 1.1 2014/02/22 08:23:51 pacho Exp $ + +EAPI="5" +GCONF_DEBUG="no" # --enable-debug only changes CFLAGS +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_{6,7} ) +VALA_MIN_API_VERSION="0.12" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 python-any-r1 vala + +DESCRIPTION="A framework for easy media discovery and browsing" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.2/1" # subslot is libgrilo-0.2 soname suffix +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="gtk examples +introspection +network playlist test vala" +REQUIRED_USE="test? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + dev-libs/libxml2:2 + net-libs/liboauth + gtk? ( >=x11-libs/gtk+-3:3 ) + introspection? ( >=dev-libs/gobject-introspection-0.9 ) + network? ( >=net-libs/libsoup-2.41.3:2.4 ) + playlist? ( >=dev-libs/totem-pl-parser-3.4.1 ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.10 + >=dev-util/intltool-0.40 + virtual/pkgconfig + vala? ( $(vala_depend) ) + test? ( + $(python_gen_any_dep ' + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}]') + media-plugins/grilo-plugins:0.2 ) +" +# eautoreconf requires gnome-common + +python_check_deps() { + has_version "dev-python/pygobject:2[${PYTHON_USEDEP}]" && \ + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + # Don't build examples + sed -e '/SUBDIRS/s/examples//' \ + -i Makefile.am -i Makefile.in || die + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # --enable-debug only changes CFLAGS, useless for us + gnome2_src_configure \ + --disable-static \ + --disable-debug \ + $(use_enable gtk test-ui) \ + $(use_enable introspection) \ + $(use_enable network grl-net) \ + $(use_enable playlist grl-pls) \ + $(use_enable test tests) \ + $(use_enable vala) +} + +src_install() { + gnome2_src_install + # Upstream made this conditional on gtk-doc build... + emake -C doc install DESTDIR="${ED}" + + # Prevent file collision with other slot + if use vala; then + mv "${ED}usr/bin/grilo-simple-playlist" \ + "${ED}usr/bin/grilo-simple-playlist-${SLOT%/*}" || die + fi + + if use examples; then + # Install example code + insinto /usr/share/doc/${PF}/examples + doins "${S}"/examples/*.c + fi +} |