Gentoo Archives: gentoo-commits

From: NP Hardass <np-hardass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-mate:1.14-bump commit in: mate-base/mate-menus/
Date: Sun, 04 Sep 2016 19:19:00
Message-Id: 1473016496.63dc97e2214a872ed8646a14980e862590837b19.np-hardass@gentoo
1 commit: 63dc97e2214a872ed8646a14980e862590837b19
2 Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 4 19:14:56 2016 +0000
4 Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 4 19:14:56 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=63dc97e2
7
8 mate-base/mate-menus: Version bump to 1.14.0
9
10 Package-Manager: portage-2.3.0
11
12 mate-base/mate-menus/Manifest | 1 +
13 mate-base/mate-menus/mate-menus-1.14.0.ebuild | 75 +++++++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/mate-base/mate-menus/Manifest b/mate-base/mate-menus/Manifest
17 index cbf7fb1..d675a02 100644
18 --- a/mate-base/mate-menus/Manifest
19 +++ b/mate-base/mate-menus/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mate-menus-1.10.1.tar.xz 342516 SHA256 bd46d676bd4780f815d8343f8a8c3e67645c85fb812a943a0a69e664d3dcddbc SHA512 f0a96334c71052060d2f40b309b91a0a6464f8bd8135e43b29b3e9c67332b01205ffe1a3e2b262b910bbd0a679acd4ebd67b6de604c1e5cfb2bc42bf54028a86 WHIRLPOOL ae24e8bb2b99966e7676f535f6c9d0bfd32223d0dd9e9c5a371c40b15ce9b788cf9b0a7af7df1a2f5880b2fa03aa12fe45e43caaaba48450164c8bc23e47aa4a
22 DIST mate-menus-1.12.0.tar.xz 342488 SHA256 b0b735be91cca632d7c63f254a9442201608b24f1d5588a1ff05b50da41b95c4 SHA512 12788d5b88c1dba7b561a3119e311a9724629d1f9ae7d54a9e4443946b331c532310c79b7b39bcacc791697ac52d4b55338051da66c4d747c371575a03183ba6 WHIRLPOOL ec1137ea30f36537dda4aa6d6432f6712a644fa942b618f83a069c8dcdf357b3106e2db6aea86a3dce19f66c053b4fb6e780143e4eab0f42e4eb246bdda29981
23 +DIST mate-menus-1.14.0.tar.xz 362136 SHA256 26585cafa82496e22851fd7c767260797eb029d24698ca8059ddfe3f70226cc5 SHA512 9d82737669b37e85ab76e94e84a464d7cafb837b71d6af90cf08b4286480de901e1a37d279ba7f0af25e655c3c9c67481b1394587b6aad902a284a8ac58559c6 WHIRLPOOL ac0a45e91ab619c40ba946624de68f71a6df8dec7c83562fa471018f7be113aa2ac9cbb9e74d44929923c3595bb0f4756d4f9458cb5f2572864ecc5e90a5fab6
24
25 diff --git a/mate-base/mate-menus/mate-menus-1.14.0.ebuild b/mate-base/mate-menus/mate-menus-1.14.0.ebuild
26 new file mode 100644
27 index 0000000..7da019b
28 --- /dev/null
29 +++ b/mate-base/mate-menus/mate-menus-1.14.0.ebuild
30 @@ -0,0 +1,75 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +GNOME2_LA_PUNT="yes"
38 +PYTHON_COMPAT=( python2_7 )
39 +
40 +inherit python-r1 mate
41 +
42 +if [[ ${PV} != 9999 ]]; then
43 + KEYWORDS="~amd64 ~arm ~x86"
44 +fi
45 +
46 +DESCRIPTION="MATE menu system, implementing the F.D.O cross-desktop spec"
47 +LICENSE="GPL-2 LGPL-2"
48 +SLOT="0"
49 +
50 +IUSE="debug +introspection python"
51 +
52 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
53 +
54 +COMMON_DEPEND=">=dev-libs/glib-2.36.0:2
55 + virtual/libintl:0
56 + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
57 + python? (
58 + dev-python/pygtk:2[${PYTHON_USEDEP}]
59 + ${PYTHON_DEPS}
60 + )"
61 +
62 +RDEPEND="${COMMON_DEPEND}"
63 +
64 +DEPEND="${COMMON_DEPEND}
65 + >=dev-util/intltool-0.40:*
66 + sys-devel/gettext:*
67 + virtual/pkgconfig:*"
68 +
69 +src_prepare() {
70 + mate_src_prepare
71 + use python && python_copy_sources
72 +}
73 +
74 +src_configure() {
75 + # Do NOT compile with --disable-debug/--enable-debug=no as it disables API
76 + # usage checks.
77 + mate_py_cond_func_wrap mate_src_configure \
78 + --enable-debug=$(usex debug yes minimum) \
79 + $(use_enable python) \
80 + $(use_enable introspection)
81 +}
82 +
83 +src_compile() {
84 + mate_py_cond_func_wrap default
85 +}
86 +
87 +src_test() {
88 + mate_py_cond_func_wrap emake check
89 +}
90 +
91 +src_install() {
92 + mate_py_cond_func_wrap mate_src_install
93 +
94 + exeinto /etc/X11/xinit/xinitrc.d/
95 + doexe "${FILESDIR}/10-xdg-menu-mate"
96 +}
97 +
98 +pkg_postinst() {
99 + mate_pkg_postinst
100 + einfo "Due to upstream bug"
101 + einfo "https://github.com/mate-desktop/mate-menus/issues/2,"
102 + einfo "it is highly recommended to run the following command"
103 + einfo "once you have logged in to your desktop for the first time:"
104 + einfo "cd ~/.config/menus && ln -s {,mate-}applications-merged"
105 +}