Link Here
|
3 |
# $Header: $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="2" |
|
|
6 |
|
7 |
PYTHON_DEPEND="python? 2:2.4" |
8 |
|
6 |
inherit eutils gnome2 python |
9 |
inherit eutils gnome2 python |
7 |
|
10 |
|
8 |
DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec" |
11 |
DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec" |
Link Here
|
13 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
16 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
14 |
IUSE="debug python" |
17 |
IUSE="debug python" |
15 |
|
18 |
|
16 |
RDEPEND=">=dev-libs/glib-2.18.0 |
19 |
RDEPEND="dev-libs/glib:2 |
17 |
python? ( |
20 |
python? ( dev-python/pygtk )" |
18 |
>=virtual/python-2.4 |
|
|
19 |
dev-python/pygtk )" |
20 |
DEPEND="${RDEPEND} |
21 |
DEPEND="${RDEPEND} |
21 |
sys-devel/gettext |
22 |
dev-util/intltool |
22 |
>=dev-util/pkgconfig-0.9 |
23 |
dev-util/pkgconfig |
23 |
>=dev-util/intltool-0.40" |
24 |
sys-devel/gettext" |
24 |
|
25 |
|
25 |
DOCS="AUTHORS ChangeLog HACKING NEWS README" |
26 |
DOCS="AUTHORS ChangeLog HACKING NEWS README" |
26 |
|
27 |
|
Link Here
|
35 |
$(use_enable python) \ |
36 |
$(use_enable python) \ |
36 |
--disable-static \ |
37 |
--disable-static \ |
37 |
--disable-introspection" |
38 |
--disable-introspection" |
|
|
39 |
|
40 |
use python && python_set_active_version 2 |
38 |
} |
41 |
} |
39 |
|
42 |
|
40 |
src_unpack() { |
43 |
src_unpack() { |
Link Here
|
69 |
pkg_postinst() { |
72 |
pkg_postinst() { |
70 |
gnome2_pkg_postinst |
73 |
gnome2_pkg_postinst |
71 |
if use python; then |
74 |
if use python; then |
72 |
python_version |
|
|
73 |
python_need_rebuild |
74 |
python_mod_optimize $(python_get_sitedir)/GMenuSimpleEditor |
75 |
python_mod_optimize $(python_get_sitedir)/GMenuSimpleEditor |
75 |
fi |
76 |
fi |
76 |
|
77 |
|