/[gentoo-x86]/dev-libs/libpeas/libpeas-1.6.2-r1.ebuild
Gentoo

Contents of /dev-libs/libpeas/libpeas-1.6.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jan 6 09:24:32 2013 UTC (15 months, 2 weeks ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Add ~sparc, wrt bug #449220

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.6.2-r1.ebuild,v 1.4 2013/01/01 14:10:38 ago Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_COMPAT=( python{2_6,2_7} )
9
10 inherit eutils gnome2 multilib python-single-r1 virtualx
11
12 DESCRIPTION="A GObject plugins library"
13 HOMEPAGE="http://developer.gnome.org/libpeas/stable/"
14
15 LICENSE="LGPL-2+"
16 SLOT="0"
17 IUSE="gjs +gtk glade +python seed"
18 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
19
20 RDEPEND=">=dev-libs/glib-2.32:2
21 >=dev-libs/gobject-introspection-0.10.1
22 gjs? ( >=dev-libs/gjs-1.31.11 )
23 glade? ( >=dev-util/glade-3.9.1:3.10 )
24 gtk? ( >=x11-libs/gtk+-3:3[introspection] )
25 python? (
26 ${PYTHON_DEPS}
27 >=dev-python/pygobject-3.0.0:3[${PYTHON_USEDEP}] )
28 seed? ( >=dev-libs/seed-2.91.91 )"
29 DEPEND="${RDEPEND}
30 >=dev-util/intltool-0.40
31 >=sys-devel/gettext-0.17"
32
33 pkg_setup() {
34 use python && python-single-r1_pkg_setup
35 }
36
37 src_prepare() {
38 G2CONF="${G2CONF}
39 $(use_enable gjs)
40 $(use_enable glade glade-catalog)
41 $(use_enable gtk)
42 $(use_enable python)
43 $(use_enable seed)
44 --disable-deprecation
45 --disable-static"
46 # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
47 # What do we do about gdb, valgrind, gcov, etc?
48
49 gnome2_src_prepare
50 }
51
52 src_test() {
53 # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
54 # DO NOT REPORT UPSTREAM, this is not a libpeas bug.
55 # To reproduce:
56 # >>> from gi.repository import Gtk
57 # >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
58 # This should return True, it returns False for Xvfb
59 Xemake check
60 }

  ViewVC Help
Powered by ViewVC 1.1.20