Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mate-base/mate-menus: metadata.xml mate-menus-1.6.0.ebuild ChangeLog
Date: Fri, 28 Feb 2014 01:06:33
Message-Id: 20140228010625.311342004C@flycatcher.gentoo.org
1 tomwij 14/02/28 01:06:25
2
3 Added: metadata.xml mate-menus-1.6.0.ebuild ChangeLog
4 Log:
5 New ebuild for mate-base/mate-menus, MATE menu system, implementing the F.D.O cross-desktop spec; imported from the mate-overlay, reviewed and adjusted.
6
7 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
8
9 Revision Changes Path
10 1.1 mate-base/mate-menus/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-base/mate-menus/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-base/mate-menus/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <maintainer>
21 <email>TomWij@g.o</email>
22 <name>Tom Wijsman</name>
23 </maintainer>
24 </pkgmetadata>
25
26
27
28 1.1 mate-base/mate-menus/mate-menus-1.6.0.ebuild
29
30 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-base/mate-menus/mate-menus-1.6.0.ebuild?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-base/mate-menus/mate-menus-1.6.0.ebuild?rev=1.1&content-type=text/plain
32
33 Index: mate-menus-1.6.0.ebuild
34 ===================================================================
35 # Copyright 1999-2014 Gentoo Foundation
36 # Distributed under the terms of the GNU General Public License v2
37 # $Header: /var/cvsroot/gentoo-x86/mate-base/mate-menus/mate-menus-1.6.0.ebuild,v 1.1 2014/02/28 01:06:25 tomwij Exp $
38
39 EAPI="5"
40
41 GCONF_DEBUG="no"
42 GNOME2_LA_PUNT="yes"
43 PYTHON_COMPAT=( python2_{6,7} )
44
45 inherit autotools gnome2 python-r1
46
47 MATE_BRANCH="$(get_version_component_range 1-2)"
48
49 SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
50 DESCRIPTION="MATE menu system, implementing the F.D.O cross-desktop spec"
51 HOMEPAGE="http://mate-desktop.org"
52
53 LICENSE="GPL-2 LGPL-2"
54 SLOT="0"
55 KEYWORDS="~amd64"
56
57 IUSE="debug +introspection python"
58
59 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
60
61 RDEPEND=">=dev-libs/glib-2.15.2:2
62 sys-libs/glibc:2.2
63 virtual/libintl:0
64 introspection? ( >=dev-libs/gobject-introspection-0.6.7:0 )
65 python? (
66 dev-python/pygtk:2[${PYTHON_USEDEP}]
67 ${PYTHON_DEPS}
68 )"
69
70 DEPEND="${RDEPEND}
71 >=dev-util/intltool-0.40:0
72 >=mate-base/mate-common-${MATE_BRANCH}:0
73 sys-devel/gettext:0
74 virtual/pkgconfig:0"
75
76 src_prepare() {
77 eautoreconf
78 gnome2_src_prepare
79 }
80
81 my_command() {
82 if use python ; then
83 python_foreach_impl run_in_build_dir $@
84 else
85 $@
86 fi
87 }
88
89 src_configure() {
90 G2CONF="${G2CONF} \
91 $(use_enable python) \
92 $(use_enable introspection)"
93
94 # Do NOT compile with --disable-debug/--enable-debug=no as it disables API
95 # usage checks.
96 if ! use debug ; then
97 G2CONF="${G2CONF} --enable-debug=minimum"
98 fi
99
100 if use python ; then
101 python_copy_sources
102 fi
103
104 my_command gnome2_src_configure
105 }
106
107 src_compile() {
108 my_command gnome2_src_compile
109 }
110
111 src_test() {
112 my_command emake check
113 }
114
115 DOCS="AUTHORS ChangeLog NEWS README"
116
117 src_install() {
118 my_command gnome2_src_install
119
120 exeinto /etc/X11/xinit/xinitrc.d/
121 doexe "${FILESDIR}/10-xdg-menu-mate"
122 }
123
124
125
126 1.1 mate-base/mate-menus/ChangeLog
127
128 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-base/mate-menus/ChangeLog?rev=1.1&view=markup
129 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-base/mate-menus/ChangeLog?rev=1.1&content-type=text/plain
130
131 Index: ChangeLog
132 ===================================================================
133 # ChangeLog for mate-base/mate-menus
134 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
135 # $Header: /var/cvsroot/gentoo-x86/mate-base/mate-menus/ChangeLog,v 1.1 2014/02/28 01:06:25 tomwij Exp $
136
137 *mate-menus-1.6.0 (28 Feb 2014)
138
139 28 Feb 2014; Tom Wijsman <TomWij@g.o> +files/10-xdg-menu-mate,
140 +mate-menus-1.6.0.ebuild, +metadata.xml:
141 New ebuild for mate-base/mate-menus, MATE menu system, implementing the F.D.O
142 cross-desktop spec; imported from the mate-overlay, reviewed and adjusted.