diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2014-04-27 16:28:22 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2014-04-27 16:28:22 +0000 |
commit | 5b94a2a4801e2948c5ca2b38f3bfa05d84ddb07f (patch) | |
tree | 3ef9d93f234b0709747da4927af834a872fab831 /dev-libs/libpeas | |
parent | Version bump for Gnome 3.12. (diff) | |
download | gentoo-2-5b94a2a4801e2948c5ca2b38f3bfa05d84ddb07f.tar.gz gentoo-2-5b94a2a4801e2948c5ca2b38f3bfa05d84ddb07f.tar.bz2 gentoo-2-5b94a2a4801e2948c5ca2b38f3bfa05d84ddb07f.zip |
Version bump for Gnome 3.12.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'dev-libs/libpeas')
-rw-r--r-- | dev-libs/libpeas/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libpeas/libpeas-1.10.0.ebuild | 90 |
2 files changed, 96 insertions, 1 deletions
diff --git a/dev-libs/libpeas/ChangeLog b/dev-libs/libpeas/ChangeLog index 30b7231b6af7..bdd9348c6823 100644 --- a/dev-libs/libpeas/ChangeLog +++ b/dev-libs/libpeas/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libpeas # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v 1.30 2014/04/26 06:54:52 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v 1.31 2014/04/27 16:28:22 eva Exp $ + +*libpeas-1.10.0 (27 Apr 2014) + + 27 Apr 2014; Gilles Dartiguelongue <eva@gentoo.org> +libpeas-1.10.0.ebuild: + Version bump for Gnome 3.12. 26 Apr 2014; Pacho Ramos <pacho@gentoo.org> -libpeas-1.8.1.ebuild: drop old diff --git a/dev-libs/libpeas/libpeas-1.10.0.ebuild b/dev-libs/libpeas/libpeas-1.10.0.ebuild new file mode 100644 index 000000000000..9b04210f273c --- /dev/null +++ b/dev-libs/libpeas/libpeas-1.10.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.10.0.ebuild,v 1.1 2014/04/27 16:28:22 eva Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit eutils gnome2 multilib python-r1 virtualx + +DESCRIPTION="A GObject plugins library" +HOMEPAGE="http://developer.gnome.org/libpeas/stable/" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" +IUSE="+gtk glade +python seed" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + >=dev-libs/gobject-introspection-1.39 + glade? ( >=dev-util/glade-3.9.1:3.10 ) + gtk? ( >=x11-libs/gtk+-3:3[introspection] ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-3.0.0:3[${PYTHON_USEDEP}] ) + seed? ( >=dev-libs/seed-2.91.91 ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.11 + >=dev-util/intltool-0.40 + virtual/pkgconfig +" + +if_use_python_python_foreach_impl() { + if use python; then + python_foreach_impl run_in_build_dir "$@" + else + "$@" + fi +} + +src_prepare() { + use python && python_copy_sources + if_use_python_python_foreach_impl gnome2_src_prepare +} + +src_configure() { + local myconf=" + $(use_enable glade glade-catalog) + $(use_enable gtk) + $(use_enable seed) + --disable-deprecation + --disable-static" + # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov + # What do we do about gdb, valgrind, gcov, etc? + + configuration() { + local myconf="$@" + [[ ${EPYTHON} == python2* ]] && myconf+=" --enable-python2 --disable-python3 PYTHON2_CONFIG=/usr/bin/python-config-${EPYTHON#python}" + [[ ${EPYTHON} == python3* ]] && myconf+=" --enable-python3 --disable-python2 PYTHON3_CONFIG=/usr/bin/python-config-${EPYTHON#python}" + gnome2_src_configure ${myconf} + } + + if use python; then + python_foreach_impl run_in_build_dir configuration ${myconf} + else + gnome2_src_configure ${myconf} + fi +} + +src_compile() { + if_use_python_python_foreach_impl gnome2_src_compile +} + +src_install() { + if_use_python_python_foreach_impl gnome2_src_install +} + +src_test() { + # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme + # DO NOT REPORT UPSTREAM, this is not a libpeas bug. + # To reproduce: + # >>> from gi.repository import Gtk + # >>> Gtk.IconTheme.get_default().has_icon("gtk-about") + # This should return True, it returns False for Xvfb + if_use_python_python_foreach_impl Xemake check +} |