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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon May 11 22:01:31 2009 UTC (10 years, 1 month ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
New version for GNOME 2.26. Use networkmanager, enable policykit, use split python bindings, drop libgnome, gstreamer-0.8 usage. Still provide a mixer applet based on gstreamer until people move to pulseaudio. Clean up old revisions.
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.20.1.ebuild,v 1.12 2008/06/05 11:50:11 remi Exp $
4
5 inherit eutils gnome2 autotools python
6
7 DESCRIPTION="Applets for the GNOME Desktop and Panel"
8 HOMEPAGE="http://www.gnome.org/"
9
10 LICENSE="GPL-2 FDL-1.1 LGPL-2"
11 SLOT="2"
12 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
13 IUSE="acpi apm doc gnome gstreamer hal ipv6 test"
14
15 RDEPEND=">=x11-libs/gtk+-2.11
16 >=dev-libs/glib-2.13
17 >=gnome-base/libgnome-2.8
18 >=gnome-base/libgnomeui-2.8
19 >=gnome-base/gconf-2.8
20 >=gnome-base/gnome-panel-2.13.4
21 >=gnome-base/libglade-2.4
22 >=gnome-base/gail-1.1
23 >=x11-libs/libxklavier-2.91
24 >=x11-libs/libwnck-2.9.3
25 >=gnome-base/gnome-desktop-2.11.1
26 >=x11-libs/libnotify-0.3.2
27 hal? ( >=sys-apps/hal-0.5.3 )
28 >=dev-libs/dbus-glib-0.71
29 >=x11-themes/gnome-icon-theme-2.15.91
30 >=dev-libs/libxml2-2.5.0
31 >=virtual/python-2.4
32 apm? ( sys-apps/apmd )
33 x11-apps/xrdb x11-libs/libX11
34 gnome? (
35 gnome-base/libgnomekbd
36 gnome-base/gnome-control-center
37
38 >=gnome-extra/gucharmap-1.4
39 >=gnome-base/libgtop-2.11.92
40 >=gnome-base/gnome-vfs-2.15.4
41
42 >=dev-python/pygtk-2.6
43 >=dev-python/gnome-python-2.10
44 )
45 gstreamer? (
46 >=media-libs/gstreamer-0.10.2
47 >=media-libs/gst-plugins-base-0.10.2
48 )"
49
50 # Remove gnome-system-tools 2.14 from RDEPEND to all because it is starting
51 # to cause more headache to keep it than to mask it. Supports only s-t-b-1
52 # anyway.
53 # >=app-admin/system-tools-backends-1.1.3
54
55 DEPEND="${RDEPEND}
56 >=app-text/scrollkeeper-0.1.4
57 >=app-text/gnome-doc-utils-0.3.2
58 >=dev-util/pkgconfig-0.19
59 >=dev-util/intltool-0.35
60 dev-libs/libxslt
61 doc? (
62 app-text/docbook-sgml-utils
63 ~app-text/docbook-xml-dtd-4.3
64 )
65 test? ( ~app-text/docbook-xml-dtd-4.3 )"
66
67 DOCS="AUTHORS ChangeLog NEWS README"
68
69 # to double check on next release
70 MAKEOPTS="${MAKEOPTS} -j1"
71
72 src_unpack() {
73 gnome2_src_unpack
74
75 # disable pyc compiling
76 mv py-compile py-compile.orig
77 ln -s $(type -P true) py-compile
78 }
79
80 pkg_setup() {
81 G2CONF="${G2CONF}
82 --disable-scrollkeeper --enable-flags
83 $(use_with hal)
84 $(use_enable ipv6)"
85
86 if use gstreamer; then
87 G2CONF="${G2CONF} --with-gstreamer=0.10"
88 fi
89
90 if ! use ppc && ! use apm && ! use acpi; then
91 G2CONF="${G2CONF} --disable-battstat"
92 fi
93
94 if use ppc && ! use apm; then
95 G2CONF="${G2CONF} --disable-battstat"
96 fi
97 }
98
99 src_install() {
100 gnome2_src_install
101
102 APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \
103 gkb-new gswitchit gweather invest-applet mini-commander \
104 mixer multiload null_applet stickynotes trashapplet"
105
106 # modemlights is out because it needs system-tools-backends-1
107
108 for applet in ${APPLETS} ; do
109 docinto ${applet}
110
111 for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do
112 [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
113 done
114 done
115 }
116
117 pkg_postinst() {
118 gnome2_pkg_postinst
119
120 if use acpi && ! use hal ; then
121 elog "It is highly recommended that you install acpid if you use the"
122 elog "battstat applet to prevent any issues with other applications "
123 elog "trying to read acpi information."
124 fi
125
126 # check for new python modules on bumps
127 python_version
128 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/invest
129 }
130
131 pkg_postrm() {
132 gnome2_pkg_postrm
133 python_version
134 python_mod_cleanup
135 }

  ViewVC Help
Powered by ViewVC 1.1.20