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

Contents of /gnome-base/gnome-applets/gnome-applets-2.32.1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Dec 25 10:04:52 2013 UTC (5 years, 5 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Drop old and a version that can no longer be used due 3.6 removal

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

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-2.32.1.1-r1.ebuild,v 1.7 2012/10/28 15:50:24 armin76 Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME_TARBALL_SUFFIX="bz2"
8 PYTHON_DEPEND="2:2.5"
9
10 inherit eutils gnome2 python autotools
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 KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
18 IUSE="+cpufreq gstreamer ipv6 networkmanager policykit"
19
20 # TODO: configure says python stuff is optional
21 # null applet still needs bonobo support for gnome-panel
22 RDEPEND=">=x11-libs/gtk+-2.20:2
23 >=dev-libs/glib-2.22:2
24 >=gnome-base/gconf-2.8:2
25 >=gnome-base/gnome-panel-2.31.2[bonobo]
26 >=x11-libs/libxklavier-4.0
27 >=x11-libs/libwnck-2.9.3:1
28 >=gnome-base/gnome-desktop-2.11.1:2
29 >=x11-libs/libnotify-0.3.2
30 >=sys-apps/dbus-1.1.2
31 >=dev-libs/dbus-glib-0.74
32 >=dev-libs/libxml2-2.5.0:2
33 >=x11-themes/gnome-icon-theme-2.15.91
34 >=dev-libs/libgweather-2.22.1:2
35 <dev-libs/libgweather-2.91:2
36 x11-libs/libX11
37
38 gnome-base/gnome-settings-daemon
39 gnome-base/libgnome
40 >=gnome-extra/gucharmap-2.23:0
41 >=gnome-base/libgtop-2.11.92:2
42 >=dev-python/pygobject-2.6:2
43 >=dev-python/pygtk-2.6:2
44 >=dev-python/gconf-python-2.10:2
45 >=dev-python/gnome-applets-python-2.10
46
47 cpufreq? ( sys-power/cpufrequtils )
48 gstreamer? (
49 >=media-libs/gstreamer-0.10.2:0.10
50 >=media-libs/gst-plugins-base-0.10.14:0.10
51 || (
52 >=media-plugins/gst-plugins-alsa-0.10.14:0.10
53 >=media-plugins/gst-plugins-oss-0.10.14:0.10 ) )
54 networkmanager? ( >=net-misc/networkmanager-0.7.0 )
55 policykit? ( >=sys-auth/polkit-0.92 )"
56
57 DEPEND="${RDEPEND}
58 >=app-text/scrollkeeper-0.1.4
59 >=app-text/gnome-doc-utils-0.3.2
60 virtual/pkgconfig
61 >=dev-util/intltool-0.35
62 dev-libs/libxslt
63 ~app-text/docbook-xml-dtd-4.3
64 gnome-base/gnome-common"
65 # gnome-base/gnome-common for eautoreconf
66
67 pkg_setup() {
68 DOCS="AUTHORS ChangeLog NEWS README"
69 G2CONF="${G2CONF}
70 --without-hal
71 --disable-battstat
72 --disable-scrollkeeper
73 --disable-schemas-install
74 $(use_enable cpufreq)
75 $(use_enable gstreamer mixer-applet)
76 $(use_enable ipv6)
77 $(use_enable networkmanager)
78 $(use_enable policykit polkit)"
79
80 python_set_active_version 2
81 python_pkg_setup
82 }
83
84 src_prepare() {
85 epatch \
86 "${FILESDIR}"/${P}-libnotify-0.7.patch \
87 "${FILESDIR}"/${P}-underlinking.patch
88
89 # gweather: fix NetworkManager support to compile, see upstream bug 636217 and bug 358043
90 epatch "${FILESDIR}"/${P}-dbus-fix.patch
91
92 # Invest applet tests need gconf/proxy/...
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_clean_py-compile_files
97 python_convert_shebangs -r 2 .
98
99 eautoreconf
100 gnome2_src_prepare
101 }
102
103 src_test() {
104 unset DBUS_SESSION_BUS_ADDRESS
105 emake check || die "emake check failed"
106 }
107
108 src_install() {
109 gnome2_src_install
110
111 local APPLETS="accessx-status charpick drivemount geyes
112 gkb-new gswitchit gweather invest-applet mini-commander
113 mixer modemlights multiload null_applet stickynotes trashapplet"
114 use cpufreq && APPLETS="${APPLETS} cpufreq"
115
116 # modemlights is out because it needs system-tools-backends-1
117
118 for applet in ${APPLETS} ; do
119 docinto ${applet}
120
121 for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do
122 [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
123 done
124 done
125 }
126
127 pkg_postinst() {
128 gnome2_pkg_postinst
129
130 # check for new python modules on bumps
131 python_mod_optimize invest
132 }
133
134 pkg_postrm() {
135 gnome2_pkg_postrm
136 python_mod_cleanup invest
137 }

  ViewVC Help
Powered by ViewVC 1.1.20