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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Dec 10 01:58:41 2012 UTC (6 years, 6 months ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Punt silly pygobject:2 dependency. Drop old.

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

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.2.1.ebuild,v 1.4 2012/05/05 05:38:07 jdhore 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-2.26:2[introspection]
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/scrollkeeper-0.1.4
57 >=app-text/gnome-doc-utils-0.3.2
58 virtual/pkgconfig
59 >=dev-util/intltool-0.35
60 dev-libs/libxslt
61 app-text/docbook-xml-dtd:4.1.2
62 app-text/docbook-xml-dtd:4.3"
63
64 pkg_setup() {
65 DOCS="AUTHORS ChangeLog NEWS README"
66 # We don't want HAL or battstat.
67 # mixer applet uses gstreamer, conflicts with the mixer provided by g-s-d
68 # GNOME 3 has a hard-dependency on pulseaudio, so gstmixer applet is useless
69 G2CONF="${G2CONF}
70 --disable-scrollkeeper
71 --disable-schemas-install
72 --without-hal
73 --disable-battstat
74 --disable-mixer-applet
75 $(use_enable ipv6)
76 $(use_enable networkmanager)
77 $(use_enable policykit polkit)"
78
79 python_set_active_version 2
80 python_pkg_setup
81 }
82
83 src_prepare() {
84 gnome2_src_prepare
85
86 # disable pyc compiling
87 echo '#!/bin/sh' > py-compile
88
89 # Invest applet tests need gconf/proxy/...
90 # Note: for now, invest tests are commented out by upstream
91 #sed 's/^TESTS.*/TESTS=/g' -i invest-applet/invest/Makefile.am \
92 # invest-applet/invest/Makefile.in || die "disabling invest tests failed"
93
94 python_convert_shebangs -r 2 .
95 }
96
97 src_test() {
98 unset DBUS_SESSION_BUS_ADDRESS
99 emake check
100 }
101
102 src_install() {
103 gnome2_src_install
104
105 local APPLETS="accessx-status charpick cpufreq drivemount geyes
106 gkb-new gweather invest-applet mini-commander
107 multiload null_applet stickynotes trashapplet"
108
109 # mixer is out because gnome3 uses pulseaudio
110 # modemlights is out because it needs system-tools-backends-1
111 # battstat is disabled because we don't want HAL anywhere
112
113 for applet in ${APPLETS} ; do
114 docinto ${applet}
115
116 for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do
117 [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
118 done
119 done
120 }
121
122 pkg_postinst() {
123 gnome2_pkg_postinst
124
125 # check for new python modules on bumps
126 python_mod_optimize invest
127 }
128
129 pkg_postrm() {
130 gnome2_pkg_postrm
131 python_mod_cleanup invest
132 }

  ViewVC Help
Powered by ViewVC 1.1.20