1 |
commit: a2bdf3621a5447ce667ca797c12e2bd094b998ce |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 30 20:42:12 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 20:42:12 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a2bdf362 |
7 |
|
8 |
x11-misc/alacarte: 0.13.4 → 3.6.1 |
9 |
|
10 |
--- |
11 |
x11-misc/alacarte/alacarte-3.6.1.ebuild | 81 +++++++++++++++++++++++++++++++ |
12 |
x11-misc/alacarte/metadata.xml | 5 ++ |
13 |
2 files changed, 86 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/x11-misc/alacarte/alacarte-3.6.1.ebuild b/x11-misc/alacarte/alacarte-3.6.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..71a8a0d |
18 |
--- /dev/null |
19 |
+++ b/x11-misc/alacarte/alacarte-3.6.1.ebuild |
20 |
@@ -0,0 +1,81 @@ |
21 |
+# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/alacarte-0.13.4.ebuild,v 1.1 2012/10/28 16:50:07 eva Exp $ |
24 |
+ |
25 |
+EAPI="4" |
26 |
+GCONF_DEBUG="no" |
27 |
+PYTHON_DEPEND="2:2.5" |
28 |
+PYTHON_USE_WITH="xml" |
29 |
+SUPPORT_PYTHON_ABIS="1" |
30 |
+RESTRICT_PYTHON_ABIS="3.*" |
31 |
+ |
32 |
+inherit gnome2 python |
33 |
+ |
34 |
+DESCRIPTION="Simple GNOME menu editor" |
35 |
+HOMEPAGE="http://live.gnome.org/" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
40 |
+IUSE="" |
41 |
+ |
42 |
+COMMON_DEPEND=" |
43 |
+ dev-python/pygobject:3 |
44 |
+ >=gnome-base/gnome-menus-3.5.3:3[introspection] |
45 |
+" |
46 |
+# gnome-panel needed for gnome-desktop-item-edit |
47 |
+RDEPEND="${COMMON_DEPEND} |
48 |
+ gnome-base/gnome-panel |
49 |
+ x11-libs/gdk-pixbuf:2[introspection] |
50 |
+ x11-libs/gtk+:3[introspection] |
51 |
+" |
52 |
+DEPEND="${COMMON_DEPEND} |
53 |
+ >=dev-util/intltool-0.40.0 |
54 |
+ sys-devel/gettext |
55 |
+ virtual/pkgconfig |
56 |
+" |
57 |
+ |
58 |
+pkg_setup() { |
59 |
+ python_pkg_setup |
60 |
+} |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ DOCS="AUTHORS ChangeLog NEWS README" |
64 |
+ |
65 |
+ gnome2_src_prepare |
66 |
+ python_clean_py-compile_files |
67 |
+ |
68 |
+ python_copy_sources |
69 |
+} |
70 |
+ |
71 |
+src_configure() { |
72 |
+ configure() { |
73 |
+ G2CONF="${G2CONF} PYTHON=$(PYTHON -a)" |
74 |
+ gnome2_src_configure |
75 |
+ } |
76 |
+ python_execute_function -s configure |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ python_execute_function -s gnome2_src_compile |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ python_execute_function -s -d |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ python_execute_function -s gnome2_src_install |
89 |
+ python_clean_installation_image |
90 |
+ python_convert_shebangs -r 2 "${ED}" |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ gnome2_pkg_postinst |
95 |
+ python_mod_optimize Alacarte |
96 |
+} |
97 |
+ |
98 |
+pkg_postrm() { |
99 |
+ gnome2_pkg_postrm |
100 |
+ python_mod_cleanup Alacarte |
101 |
+} |
102 |
|
103 |
diff --git a/x11-misc/alacarte/metadata.xml b/x11-misc/alacarte/metadata.xml |
104 |
new file mode 100644 |
105 |
index 0000000..6e0e2ec |
106 |
--- /dev/null |
107 |
+++ b/x11-misc/alacarte/metadata.xml |
108 |
@@ -0,0 +1,5 @@ |
109 |
+<?xml version="1.0" encoding="UTF-8"?> |
110 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
111 |
+<pkgmetadata> |
112 |
+ <herd>gnome</herd> |
113 |
+</pkgmetadata> |