Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libappindicator: ChangeLog libappindicator-0.4.1-r300.ebuild libappindicator-0.4.1-r201.ebuild
Date: Mon, 28 Nov 2011 15:04:37
Message-Id: 20111128150424.1C96F2004C@flycatcher.gentoo.org
1 ssuominen 11/11/28 15:04:24
2
3 Modified: ChangeLog
4 Added: libappindicator-0.4.1-r300.ebuild
5 libappindicator-0.4.1-r201.ebuild
6 Log:
7 Provide GTK+-3.0 version in SLOT="3"
8
9 (Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.4 dev-libs/libappindicator/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libappindicator/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libappindicator/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libappindicator/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libappindicator/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 20 Nov 2011 12:16:38 -0000 1.3
25 +++ ChangeLog 28 Nov 2011 15:04:24 -0000 1.4
26 @@ -1,6 +1,14 @@
27 # ChangeLog for dev-libs/libappindicator
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libappindicator/ChangeLog,v 1.3 2011/11/20 12:16:38 ssuominen Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libappindicator/ChangeLog,v 1.4 2011/11/28 15:04:24 ssuominen Exp $
31 +
32 +*libappindicator-0.4.1-r300 (28 Nov 2011)
33 +*libappindicator-0.4.1-r201 (28 Nov 2011)
34 +
35 + 28 Nov 2011; Samuli Suominen <ssuominen@g.o>
36 + +libappindicator-0.4.1-r201.ebuild, +libappindicator-0.4.1-r300.ebuild,
37 + +files/libappindicator-0.4.1-gtk.patch:
38 + Provide GTK+-3.0 version in SLOT="3"
39
40 20 Nov 2011; Samuli Suominen <ssuominen@g.o> metadata.xml:
41 Move to ayatana herd.
42
43
44
45 1.1 dev-libs/libappindicator/libappindicator-0.4.1-r300.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libappindicator/libappindicator-0.4.1-r300.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libappindicator/libappindicator-0.4.1-r300.ebuild?rev=1.1&content-type=text/plain
49
50 Index: libappindicator-0.4.1-r300.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libappindicator/libappindicator-0.4.1-r300.ebuild,v 1.1 2011/11/28 15:04:24 ssuominen Exp $
55
56 EAPI=4
57 inherit autotools eutils
58
59 PN_vala_version=0.14
60
61 DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar"
62 HOMEPAGE="http://launchpad.net/libappindicator"
63 SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
64
65 LICENSE="LGPL-2.1 LGPL-3"
66 SLOT="3"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="+introspection"
69
70 # FIXME: Missing dev-lang/mono handling!
71 RDEPEND="dev-libs/dbus-glib
72 >=dev-libs/glib-2.26
73 dev-libs/libdbusmenu[gtk,gtk3]
74 >=dev-libs/libindicator-0.4:3
75 x11-libs/gtk+:3
76 introspection? ( >=dev-libs/gobject-introspection-0.10 )"
77 DEPEND="${RDEPEND}
78 dev-lang/vala:${PN_vala_version}[vapigen]
79 dev-util/gtk-doc-am
80 dev-util/pkgconfig"
81
82 src_prepare() {
83 epatch \
84 "${FILESDIR}"/${P}-no-mono.patch \
85 "${FILESDIR}"/${P}-gtk.patch
86
87 eautoreconf
88 }
89
90 src_configure() {
91 export VALAC="$(type -P valac-${PN_vala_version})"
92
93 econf \
94 --disable-static \
95 --with-html-dir=/usr/share/doc/${PF}/html \
96 --with-gtk=3
97 }
98
99 src_install() {
100 emake -j1 DESTDIR="${D}" install
101 dodoc AUTHORS ChangeLog
102
103 find "${ED}"usr -name '*.la' -exec rm -f {} +
104 }
105
106
107
108 1.1 dev-libs/libappindicator/libappindicator-0.4.1-r201.ebuild
109
110 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libappindicator/libappindicator-0.4.1-r201.ebuild?rev=1.1&view=markup
111 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libappindicator/libappindicator-0.4.1-r201.ebuild?rev=1.1&content-type=text/plain
112
113 Index: libappindicator-0.4.1-r201.ebuild
114 ===================================================================
115 # Copyright 1999-2011 Gentoo Foundation
116 # Distributed under the terms of the GNU General Public License v2
117 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libappindicator/libappindicator-0.4.1-r201.ebuild,v 1.1 2011/11/28 15:04:24 ssuominen Exp $
118
119 EAPI=4
120
121 PYTHON_DEPEND="2:2.7"
122
123 inherit autotools eutils python
124
125 __vala_version=0.14
126
127 DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar"
128 HOMEPAGE="http://launchpad.net/libappindicator"
129 SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
130
131 LICENSE="LGPL-2.1 LGPL-3"
132 SLOT="0"
133 KEYWORDS="~amd64 ~x86"
134 IUSE="+introspection"
135
136 # FIXME: Missing dev-lang/mono handling!
137 RDEPEND="dev-libs/dbus-glib
138 >=dev-libs/glib-2.26
139 dev-libs/libdbusmenu[gtk,-gtk3]
140 >=dev-libs/libindicator-0.4
141 dev-python/pygobject:2
142 >=dev-python/pygtk-2.14:2
143 >=x11-libs/gtk+-2.18:2
144 introspection? ( >=dev-libs/gobject-introspection-0.10 )"
145 DEPEND="${RDEPEND}
146 dev-lang/vala:${__vala_version}[vapigen]
147 dev-util/gtk-doc-am
148 dev-util/pkgconfig"
149
150 pkg_setup() {
151 python_set_active_version 2
152 python_pkg_setup
153 }
154
155 src_prepare() {
156 sed -i -e '/LDFLAGS/s:python2.6:python2.7:' bindings/python/Makefile.{am,in} || die
157 epatch "${FILESDIR}"/${P}-no-mono.patch
158 eautoreconf
159
160 rm -f py-compile
161 ln -s $(type -P true) py-compile
162 }
163
164 src_configure() {
165 export VALAC="$(type -P valac-${__vala_version})"
166
167 econf \
168 --disable-static \
169 --with-gtk=2
170 }
171
172 src_install() {
173 emake -j1 DESTDIR="${D}" install
174 find "${ED}"usr -name '*.la' -exec rm -f {} +
175
176 # SLOT="3" has eveything required
177 rm -rf "${ED}"usr/share/gtk-doc
178 }
179
180 pkg_postinst() {
181 python_mod_optimize appindicator
182 }
183
184 pkg_postrm() {
185 python_mod_cleanup appindicator
186 }