/[gentoo-x86]/gnome-base/gnome-applets/gnome-applets-3.4.1.ebuild
Gentoo

Contents of /gnome-base/gnome-applets/gnome-applets-3.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Mar 7 08:25:00 2013 UTC (6 years, 3 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Clean up old revision.

(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-3.4.1.ebuild,v 1.4 2012/12/10 01:58:41 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="no" # bug 340725, no other la files
8 PYTHON_DEPEND="2:2.5"
9
10 inherit eutils gnome2 python
11
12 DESCRIPTION="Applets for the GNOME Desktop and Panel"
13 HOMEPAGE="http://www.gnome.org/"
14
15 LICENSE="GPL-2 FDL-1.1 LGPL-2"
16 SLOT="0"
17 IUSE="gnome ipv6 networkmanager policykit"
18 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
19
20 # null applet still needs bonobo support for gnome-panel?
21 #
22 # Latest gnome-panel needed due to commit 45a4988a6
23 # atk, cairo, pango used in multiple applets
24 RDEPEND=">=x11-libs/gtk+-3.0.0:3
25 dev-libs/atk
26 >=dev-libs/glib-2.22:2
27 >=gnome-base/gconf-2.8:2
28 >=gnome-base/gnome-panel-2.91.91
29 x11-libs/cairo
30 >=x11-libs/libxklavier-4.0
31 >=x11-libs/libwnck-2.91.0:3
32 >=x11-libs/libnotify-0.7
33 x11-libs/pango
34 >=sys-apps/dbus-1.1.2
35 >=dev-libs/dbus-glib-0.74
36 >=dev-libs/libxml2-2.5.0
37 >=x11-themes/gnome-icon-theme-2.15.91
38 >=dev-libs/libgweather-2.91.0
39 x11-libs/libX11
40
41 gnome? (
42 gnome-base/gnome-settings-daemon
43
44 >=gnome-extra/gucharmap-2.33.0:2.90
45 >=gnome-base/libgtop-2.11.92
46
47 dev-python/pygobject:3
48 gnome-base/gconf[introspection]
49 gnome-base/gnome-panel[introspection]
50 x11-libs/gdk-pixbuf[introspection]
51 x11-libs/gtk+:3[introspection]
52 x11-libs/pango[introspection] )
53 networkmanager? ( >=net-misc/networkmanager-0.7.0 )
54 policykit? ( >=sys-auth/polkit-0.92 )"
55 DEPEND="${RDEPEND}
56 app-text/docbook-xml-dtd:4.1.2
57 app-text/docbook-xml-dtd:4.3
58 >=app-text/gnome-doc-utils-0.3.2
59 >=app-text/scrollkeeper-0.1.4
60 >=dev-util/intltool-0.35
61 dev-libs/libxslt
62 virtual/pkgconfig"
63
64 pkg_setup() {
65 python_set_active_version 2
66 python_pkg_setup
67 }
68
69 src_prepare() {
70 DOCS="AUTHORS ChangeLog NEWS README"
71 # We don't want HAL or battstat.
72 # mixer applet uses gstreamer, conflicts with the mixer provided by g-s-d
73 # GNOME 3 has a hard-dependency on pulseaudio, so gstmixer applet is useless
74 G2CONF="${G2CONF}
75 --disable-scrollkeeper
76 --disable-schemas-install
77 --without-hal
78 --disable-battstat
79 --disable-mixer-applet
80 $(use_enable ipv6)
81 $(use_enable networkmanager)
82 $(use_enable policykit polkit)"
83
84 # Remove silly check for pygobject:2
85 # https://bugzilla.gnome.org/show_bug.cgi?id=660550
86 sed -e 's/pygobject-2.0/pygobject-3.0/' -i configure || die "sed failed"
87 gnome2_src_prepare
88
89 python_clean_py-compile_files
90
91 # Invest applet tests need gconf/proxy/...
92 # Note: for now, invest tests are commented out by upstream
93 #sed 's/^TESTS.*/TESTS=/g' -i invest-applet/invest/Makefile.am \
94 # invest-applet/invest/Makefile.in || die "disabling invest tests failed"
95
96 python_convert_shebangs -r 2 .
97 }
98
99 src_test() {
100 unset DBUS_SESSION_BUS_ADDRESS
101 emake check
102 }
103
104 src_install() {
105 gnome2_src_install
106
107 local APPLETS="accessx-status charpick cpufreq drivemount geyes
108 gweather invest-applet mini-commander
109 multiload null_applet stickynotes trashapplet"
110
111 # mixer is out because gnome3 uses pulseaudio
112 # modemlights is out because it needs system-tools-backends-1
113 # battstat is disabled because we don't want HAL anywhere
114
115 for applet in ${APPLETS} ; do
116 docinto ${applet}
117
118 for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do
119 [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
120 done
121 done
122 }
123
124 pkg_postinst() {
125 gnome2_pkg_postinst
126
127 # check for new python modules on bumps
128 python_mod_optimize invest
129 }
130
131 pkg_postrm() {
132 gnome2_pkg_postrm
133 python_mod_cleanup invest
134 }

  ViewVC Help
Powered by ViewVC 1.1.20