Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/menulibre/
Date: Mon, 29 Aug 2016 05:34:28
Message-Id: 1472448856.e86684bba95e0b230eba11eb941beb0c4c27dbf5.jer@gentoo
1 commit: e86684bba95e0b230eba11eb941beb0c4c27dbf5
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 29 05:33:41 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 05:34:16 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86684bb
7
8 x11-misc/menulibre: Version bump (bug #592312 by Kete Tefid).
9
10 Package-Manager: portage-2.3.0
11
12 x11-misc/menulibre/Manifest | 2 +
13 x11-misc/menulibre/menulibre-2.0.7.ebuild | 69 +++++++++++++++++++++++++++++++
14 x11-misc/menulibre/menulibre-2.1.3.ebuild | 69 +++++++++++++++++++++++++++++++
15 3 files changed, 140 insertions(+)
16
17 diff --git a/x11-misc/menulibre/Manifest b/x11-misc/menulibre/Manifest
18 index 40af0a7..9ebee36 100644
19 --- a/x11-misc/menulibre/Manifest
20 +++ b/x11-misc/menulibre/Manifest
21 @@ -1,2 +1,4 @@
22 +DIST menulibre-2.0.7.tar.gz 179919 SHA256 29ce8bc117b5aff3bc535f1cb94b356351442e0199f1e94d906f9b234d9c0f66 SHA512 bb0d78b9feaaf6e5c52f339b9174158d819201a0418234f9fcba2783068c56f58ba1c2b0d9d943df7ce47b41d3ef76389691d74031d2283e22526e01db06692c WHIRLPOOL 63b94f88606f15fb64e84860011e0034067356e731fd957fcd75e4e384e26dbc84ef34b8bb7c0215bebfd60157a77cae1bb8f505a5ef6e484250396f78fbd886
23 +DIST menulibre-2.1.3.tar.gz 231336 SHA256 bdd69740119902f1b1f8c7831155f4428403792a0a6c4287bcbb395c4e71fb31 SHA512 0a9040bcb311fe993238e5d1fc459db2400466c538c729ecd5bf2ff20cf9c7300ef2543c56ae4ef7cfa44cd66768ee9a9001ab997fd2507d8d74a246b2029c7a WHIRLPOOL 9d5086659914edda86063844e052078ea96c731d8fc900b50b9f06ecf8286621020afbd60743dcfc4494ee544f3395855cef929d267d726891bc067f09e12c4d
24 DIST menulibre_13.01.4.tar.gz 322686 SHA256 2329b426af55936dc40c7d1bcae99f98b674d06e3757657bd47dcb93d1ac45f3 SHA512 c3311443d00901d0c80078e4f51f81cc2bafbb8048a8eb1f0594e4430e9d8d1c563f4ec6b423952d3e8523f921220bb9d6fa0e4a62453d07011ae781070750d4 WHIRLPOOL b419f3285a97918796c08d0cb7681ada8f6bd19297bdfaea603c2e6256c06d775369d683f150f9c708d26ff2220fceb97d37541143bbcd9d08387e5ebd2967d5
25 DIST menulibre_13.04.17.tar.gz 337166 SHA256 84cd21d92bb16cc221d7fa7ebf801a7493cce8743dd15b65d72af23d4b421a99 SHA512 7e0a2c3d765612a1c9ae9f82206fc180d7edc06dbe294bd200d699ecdb243a28ba58030b94084bc0525540f514642914b4224d766d4c9817ee7ee9ac9074b627 WHIRLPOOL d8d87c4180623a956f3c799b506c8718f1b42dcc7554df20d7e21b612f3134451250f5e5b07db0f672df40b1478b8e4189be94ea1850a8008800fe5c07ad051c
26
27 diff --git a/x11-misc/menulibre/menulibre-2.0.7.ebuild b/x11-misc/menulibre/menulibre-2.0.7.ebuild
28 new file mode 100644
29 index 00000000..b71392b
30 --- /dev/null
31 +++ b/x11-misc/menulibre/menulibre-2.0.7.ebuild
32 @@ -0,0 +1,69 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +PYTHON_COMPAT=( python3_{3,4} )
40 +PYTHON_REQ_USE="xml"
41 +DISTUTILS_IN_SOURCE_BUILD=1
42 +inherit distutils-r1 eutils gnome2-utils versionator
43 +
44 +DESCRIPTION="Advanced freedesktop.org compliant menu editor"
45 +HOMEPAGE="http://www.smdavis.us/projects/menulibre/"
46 +SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
47 +
48 +LICENSE="GPL-3"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +DEPEND="
53 + dev-python/python-distutils-extra[${PYTHON_USEDEP}]
54 +"
55 +RDEPEND="
56 + dev-libs/gobject-introspection
57 + dev-python/psutil[${PYTHON_USEDEP}]
58 + dev-python/pygobject:3[${PYTHON_USEDEP}]
59 + dev-python/pyxdg[${PYTHON_USEDEP}]
60 + gnome-base/gnome-menus[introspection]
61 + x11-libs/gdk-pixbuf[X,introspection]
62 + x11-libs/gtk+:3[X,introspection]
63 + x11-libs/gtksourceview:3.0[introspection]
64 + x11-themes/hicolor-icon-theme
65 +"
66 +
67 +python_prepare_all() {
68 + # too many categories
69 + sed -i \
70 + -e 's/X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;//' \
71 + menulibre.desktop.in || die
72 +
73 + local i
74 + # fix incorrect behavior when LINGUAS is set to an empty string
75 + # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594
76 + if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set
77 + for i in $(cd "${S}"/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language
78 + if ! has ${i} ${LINGUAS} ; then # if language is disabled
79 + rm po/${i}.po || die
80 + fi
81 + done
82 + fi
83 +
84 + distutils-r1_python_prepare_all
85 +}
86 +
87 +python_install_all() {
88 + distutils-r1_python_install_all
89 +}
90 +
91 +pkg_preinst() {
92 + gnome2_icon_savelist
93 +}
94 +
95 +pkg_postinst() {
96 + gnome2_icon_cache_update
97 +}
98 +
99 +pkg_postrm() {
100 + gnome2_icon_cache_update
101 +}
102
103 diff --git a/x11-misc/menulibre/menulibre-2.1.3.ebuild b/x11-misc/menulibre/menulibre-2.1.3.ebuild
104 new file mode 100644
105 index 00000000..b71392b
106 --- /dev/null
107 +++ b/x11-misc/menulibre/menulibre-2.1.3.ebuild
108 @@ -0,0 +1,69 @@
109 +# Copyright 1999-2016 Gentoo Foundation
110 +# Distributed under the terms of the GNU General Public License v2
111 +# $Id$
112 +
113 +EAPI=5
114 +
115 +PYTHON_COMPAT=( python3_{3,4} )
116 +PYTHON_REQ_USE="xml"
117 +DISTUTILS_IN_SOURCE_BUILD=1
118 +inherit distutils-r1 eutils gnome2-utils versionator
119 +
120 +DESCRIPTION="Advanced freedesktop.org compliant menu editor"
121 +HOMEPAGE="http://www.smdavis.us/projects/menulibre/"
122 +SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
123 +
124 +LICENSE="GPL-3"
125 +SLOT="0"
126 +KEYWORDS="~amd64 ~x86"
127 +
128 +DEPEND="
129 + dev-python/python-distutils-extra[${PYTHON_USEDEP}]
130 +"
131 +RDEPEND="
132 + dev-libs/gobject-introspection
133 + dev-python/psutil[${PYTHON_USEDEP}]
134 + dev-python/pygobject:3[${PYTHON_USEDEP}]
135 + dev-python/pyxdg[${PYTHON_USEDEP}]
136 + gnome-base/gnome-menus[introspection]
137 + x11-libs/gdk-pixbuf[X,introspection]
138 + x11-libs/gtk+:3[X,introspection]
139 + x11-libs/gtksourceview:3.0[introspection]
140 + x11-themes/hicolor-icon-theme
141 +"
142 +
143 +python_prepare_all() {
144 + # too many categories
145 + sed -i \
146 + -e 's/X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;//' \
147 + menulibre.desktop.in || die
148 +
149 + local i
150 + # fix incorrect behavior when LINGUAS is set to an empty string
151 + # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594
152 + if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set
153 + for i in $(cd "${S}"/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language
154 + if ! has ${i} ${LINGUAS} ; then # if language is disabled
155 + rm po/${i}.po || die
156 + fi
157 + done
158 + fi
159 +
160 + distutils-r1_python_prepare_all
161 +}
162 +
163 +python_install_all() {
164 + distutils-r1_python_install_all
165 +}
166 +
167 +pkg_preinst() {
168 + gnome2_icon_savelist
169 +}
170 +
171 +pkg_postinst() {
172 + gnome2_icon_cache_update
173 +}
174 +
175 +pkg_postrm() {
176 + gnome2_icon_cache_update
177 +}