Lines 2-26
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/gnome-base/libglade/libglade-2.6.4.ebuild,v 1.17 2013/02/23 02:19:26 zmedico Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/gnome-base/libglade/libglade-2.6.4.ebuild,v 1.17 2013/02/23 02:19:26 zmedico Exp $ |
4 |
|
4 |
|
5 |
EAPI="3" |
5 |
EAPI=5 |
|
|
6 |
|
6 |
GCONF_DEBUG="no" |
7 |
GCONF_DEBUG="no" |
|
|
8 |
GNOME_TARBALL_SUFFIX="bz2" |
7 |
GNOME2_LA_PUNT="yes" |
9 |
GNOME2_LA_PUNT="yes" |
8 |
PYTHON_DEPEND="2" |
10 |
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 ) |
|
|
11 |
PYTHON_REQ_USE='xml' |
9 |
|
12 |
|
10 |
inherit autotools eutils gnome2 python virtualx |
13 |
inherit autotools eutils gnome2 python-single-r1 virtualx |
11 |
|
14 |
|
12 |
DESCRIPTION="Library to construct graphical interfaces at runtime" |
15 |
DESCRIPTION="Library to construct graphical interfaces at runtime" |
13 |
HOMEPAGE="http://library.gnome.org/devel/libglade/stable/" |
16 |
HOMEPAGE="http://library.gnome.org/devel/libglade/stable/" |
14 |
|
17 |
|
15 |
LICENSE="LGPL-2" |
18 |
LICENSE="LGPL-2" |
16 |
SLOT="2.0" |
19 |
SLOT="2.0" |
17 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
20 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
18 |
IUSE="doc static-libs test" |
21 |
IUSE="doc static-libs test" |
19 |
|
22 |
|
20 |
RDEPEND=">=dev-libs/glib-2.10:2 |
23 |
RDEPEND=">=dev-libs/glib-2.10:2 |
21 |
>=x11-libs/gtk+-2.8.10:2 |
24 |
>=x11-libs/gtk+-2.8.10:2 |
22 |
>=dev-libs/atk-1.9 |
25 |
>=dev-libs/atk-1.9 |
23 |
>=dev-libs/libxml2-2.4.10" |
26 |
>=dev-libs/libxml2-2.4.10 |
|
|
27 |
${PYTHON_DEPS}" |
24 |
DEPEND="${RDEPEND} |
28 |
DEPEND="${RDEPEND} |
25 |
virtual/pkgconfig |
29 |
virtual/pkgconfig |
26 |
doc? ( >=dev-util/gtk-doc-1 )" |
30 |
doc? ( >=dev-util/gtk-doc-1 )" |
Lines 28-34
DEPEND="${RDEPEND}
Link Here
|
28 |
pkg_setup() { |
32 |
pkg_setup() { |
29 |
G2CONF="${G2CONF} $(use_enable static-libs static)" |
33 |
G2CONF="${G2CONF} $(use_enable static-libs static)" |
30 |
DOCS="AUTHORS ChangeLog NEWS README" |
34 |
DOCS="AUTHORS ChangeLog NEWS README" |
31 |
python_set_active_version 2 |
35 |
|
|
|
36 |
python-single-r1_pkg_setup |
32 |
} |
37 |
} |
33 |
|
38 |
|
34 |
src_prepare() { |
39 |
src_prepare() { |
Lines 63-69
src_test() {
Link Here
|
63 |
src_install() { |
68 |
src_install() { |
64 |
dodir /etc/xml |
69 |
dodir /etc/xml |
65 |
gnome2_src_install |
70 |
gnome2_src_install |
66 |
python_convert_shebangs 2 "${ED}"/usr/bin/libglade-convert |
71 |
|
|
|
72 |
# /usr/bin/libglade-convert is the only Python thing in it |
73 |
python_fix_shebang "${ED}"/usr/bin/libglade-convert |
67 |
} |
74 |
} |
68 |
|
75 |
|
69 |
pkg_postinst() { |
76 |
pkg_postinst() { |