diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-08-16 18:57:21 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-08-16 18:57:21 +0000 |
commit | bc53bc531c7ef1db153031d02b6773500978022c (patch) | |
tree | bf82c4f1c882546b6678b061fd431ecd9a943dc3 /dev-libs/libpeas | |
parent | Use-mask seed, broken package (diff) | |
download | gentoo-2-bc53bc531c7ef1db153031d02b6773500978022c.tar.gz gentoo-2-bc53bc531c7ef1db153031d02b6773500978022c.tar.bz2 gentoo-2-bc53bc531c7ef1db153031d02b6773500978022c.zip |
Move from gnome overlay for GNOME 3
(Portage version: 2.2.0_alpha39_p14/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libpeas')
-rw-r--r-- | dev-libs/libpeas/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libpeas/libpeas-1.0.0.ebuild | 59 | ||||
-rw-r--r-- | dev-libs/libpeas/metadata.xml | 14 |
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-libs/libpeas/ChangeLog b/dev-libs/libpeas/ChangeLog new file mode 100644 index 000000000000..d8e93f34fc98 --- /dev/null +++ b/dev-libs/libpeas/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/libpeas +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v 1.1 2011/08/16 18:57:21 nirbheek Exp $ + +*libpeas-1.0.0 (16 Aug 2011) + + 16 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org> +libpeas-1.0.0.ebuild, + +metadata.xml: + Move from gnome overlay for GNOME 3 + diff --git a/dev-libs/libpeas/libpeas-1.0.0.ebuild b/dev-libs/libpeas/libpeas-1.0.0.ebuild new file mode 100644 index 000000000000..ad643eaea012 --- /dev/null +++ b/dev-libs/libpeas/libpeas-1.0.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.0.0.ebuild,v 1.1 2011/08/16 18:57:21 nirbheek Exp $ + +EAPI="3" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_DEPEND="python? 2:2.5" + +inherit gnome2 python virtualx + +DESCRIPTION="A GObject plugins library" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="doc +gtk glade python seed vala" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +RDEPEND=">=dev-libs/glib-2.23.6:2 + >=dev-libs/gobject-introspection-0.10.1 + glade? ( >=dev-util/glade-3.9.1:3.10 ) + gtk? ( >=x11-libs/gtk+-2.90:3[introspection] ) + python? ( >=dev-python/pygobject-2.28:2[introspection] ) + seed? ( >=dev-libs/seed-2.91.91 )" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.40 + >=sys-devel/gettext-0.17 + doc? ( >=dev-util/gtk-doc-1.11 ) + vala? ( >=dev-lang/vala-0.11.1:0.12 )" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} + $(use_enable glade glade-catalog) + $(use_enable gtk) + $(use_enable python) + $(use_enable seed) + $(use_enable vala) + VALAC=$(type -P valac-0.12) + --disable-static + --disable-maintainer-mode + --disable-gtk2-test-build" + # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov + # What do we do about gdb, valgrind, gcov, etc? + + python_set_active_version 2 +} + +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 + Xemake check || die +} diff --git a/dev-libs/libpeas/metadata.xml b/dev-libs/libpeas/metadata.xml new file mode 100644 index 000000000000..8bf7c930ef4d --- /dev/null +++ b/dev-libs/libpeas/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnome</herd> + <use> + <flag name="python">Build support for loading <pkg>dev-lang/python</pkg> + plugins</flag> + <flag name="seed">Build support for loading JavaScript plugins using + <pkg>dev-libs/seed</pkg></flag> + <flag name="vala">Build support for loading <pkg>dev-lang/vala</pkg> + plugins</flag> + <flag name="glade">Install the glade catalog</flag> + </use> +</pkgmetadata> |