blob: 998bef59561008dc1acc5141f0dfe5152af91ff3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
GCONF_DEBUG="no"
inherit autotools eutils gnome2
MY_P=${P/_p/_}
DESCRIPTION="Global menubar applet for Gnome2."
HOMEPAGE="http://code.google.com/p/gnome2-globalmenu/"
SRC_URI="http://gnome2-globalmenu.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gnome +introspection xfce"
RDEPEND=">=x11-libs/gtk+-2.10:2
>=dev-libs/glib-2.10:2
gnome-base/gconf:2
>=x11-libs/libwnck-2.16:1
>=gnome-base/gnome-menus-2.16
>=x11-libs/libX11-1.1.0
gnome? (
>=gnome-base/gnome-panel-2.16
>=x11-libs/libnotify-0.4.4 )
xfce? (
>=xfce-base/xfce4-panel-4.4.3 )
"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
>=dev-lang/vala-0.7.7:0.10"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS README*"
G2CONF="${G2CONF}
--docdir=/usr/share/doc/${PF}
--without-gir
$(use_with gnome gnome-panel)
$(use_with xfce xfce4-panel)
VALAC_BIN=$(type -P valac-0.10)"
# Does not enable anything
#$(use_with introspection gir)
}
src_prepare() {
gnome2_src_prepare
# Append missing files
cat >>po/POTFILES.in <<EOF
applet/applet.c
applet/application.c
applet/gtkextra-gconfdialog.c
applet/main.c
applet/switcher.c
applet/workspaceselector.c
globalmenu-plugin/module-main.c
libserver/globalmenuitem.c
libserver/widgets/menuitem.c
tools/globalmenu-settings.c
EOF
}
src_install() {
gnome2_src_install
find "${ED}" -name "*.la" -delete
}
|