diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-03-28 16:33:33 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-03-28 16:33:33 +0000 |
commit | f06931dc1c9b6339a3e4f68796668710cea28a06 (patch) | |
tree | d0ec6219102bd724a6a68b65e8cf65a5302c9364 /dev-libs/libpeas | |
parent | Version bump for Gnome 3.8 (diff) | |
download | gentoo-2-f06931dc1c9b6339a3e4f68796668710cea28a06.tar.gz gentoo-2-f06931dc1c9b6339a3e4f68796668710cea28a06.tar.bz2 gentoo-2-f06931dc1c9b6339a3e4f68796668710cea28a06.zip |
Version bump for Gnome 3.8
(Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'dev-libs/libpeas')
-rw-r--r-- | dev-libs/libpeas/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libpeas/libpeas-1.8.0.ebuild | 87 |
2 files changed, 93 insertions, 1 deletions
diff --git a/dev-libs/libpeas/ChangeLog b/dev-libs/libpeas/ChangeLog index 5c8cedff0c45..85474901a1fa 100644 --- a/dev-libs/libpeas/ChangeLog +++ b/dev-libs/libpeas/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libpeas # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v 1.16 2013/03/05 23:17:05 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v 1.17 2013/03/28 16:33:33 pacho Exp $ + +*libpeas-1.8.0 (28 Mar 2013) + + 28 Mar 2013; Pacho Ramos <pacho@gentoo.org> +libpeas-1.8.0.ebuild: + Version bump for Gnome 3.8 05 Mar 2013; Gilles Dartiguelongue <eva@gentoo.org> -libpeas-1.6.2.ebuild: Clean up old revision. diff --git a/dev-libs/libpeas/libpeas-1.8.0.ebuild b/dev-libs/libpeas/libpeas-1.8.0.ebuild new file mode 100644 index 000000000000..d6b74edad381 --- /dev/null +++ b/dev-libs/libpeas/libpeas-1.8.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.8.0.ebuild,v 1.1 2013/03/28 16:33:33 pacho Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_6,2_7,3_2} ) + +inherit eutils gnome2 multilib python-r1 virtualx + +DESCRIPTION="A GObject plugins library" +HOMEPAGE="http://developer.gnome.org/libpeas/stable/" + +LICENSE="LGPL-2+" +SLOT="0" +IUSE="gjs +gtk glade +python seed" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" + +RDEPEND=">=dev-libs/glib-2.32:2 + >=dev-libs/gobject-introspection-0.10.1 + gjs? ( >=dev-libs/gjs-1.31.11 ) + 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/intltool-0.40 + >=sys-devel/gettext-0.17" + +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() { + G2CONF="${G2CONF} + $(use_enable gjs) + $(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 G2CONF="${G2CONF}" + [[ ${EPYTHON} == python2* ]] && G2CONF+=" --enable-python2 --disable-python3 PYTHON2_CONFIG=/usr/bin/python-config-${EPYTHON#python}" + [[ ${EPYTHON} == python3* ]] && G2CONF+=" --enable-python3 --disable-python2 PYTHON3_CONFIG=/usr/bin/python-config-${EPYTHON#python}" + gnome2_src_configure + } + + if use python; then + python_foreach_impl run_in_build_dir configuration + else + gnome2_src_configure + 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 +} |