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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Nov 29 12:14:58 2008 UTC (10 years, 6 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bump to 2.24.2. Fix a leak, update translations.
(Portage version: 2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel 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.24.0.1.ebuild,v 1.1 2008/11/06 23:49:39 eva Exp $
4
5 inherit gnome2 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 ~ppc64 ~sparc ~x86"
13 IUSE="acpi apm doc gnome gstreamer hal ipv6"
14
15 # TODO: configure says python stuff is optional
16 # my secret script says cpufrequtils might be needed in RDEPEND
17
18 RDEPEND=">=x11-libs/gtk+-2.13
19 >=dev-libs/glib-2.18.0
20 >=gnome-base/libgnome-2.8
21 >=gnome-base/libgnomeui-2.8
22 >=gnome-base/gconf-2.8
23 >=gnome-base/gnome-panel-2.13.4
24 >=x11-libs/libxklavier-2.91
25 >=x11-libs/libwnck-2.9.3
26 >=gnome-base/gnome-desktop-2.11.1
27 >=x11-libs/libnotify-0.3.2
28 hal? ( >=sys-apps/hal-0.5.3 )
29 >=sys-apps/dbus-1.1.2
30 >=dev-libs/dbus-glib-0.74
31 >=dev-libs/libxml2-2.5.0
32 >=x11-themes/gnome-icon-theme-2.15.91
33 >=dev-libs/libgweather-2.22.1
34 >=virtual/python-2.4
35 apm? ( sys-apps/apmd )
36 x11-libs/libX11
37 gnome? (
38 >=gnome-base/libgnomekbd-2.21.4.1
39 gnome-base/gnome-settings-daemon
40
41 >=gnome-extra/gucharmap-1.4
42 >=gnome-base/libgtop-2.11.92
43
44 >=dev-python/pygtk-2.6
45 >=dev-python/gnome-python-2.10 )
46 gstreamer? (
47 >=media-libs/gstreamer-0.10.2
48 >=media-libs/gst-plugins-base-0.10.14 )"
49
50 DEPEND="${RDEPEND}
51 >=app-text/scrollkeeper-0.1.4
52 >=app-text/gnome-doc-utils-0.3.2
53 >=dev-util/pkgconfig-0.19
54 >=dev-util/intltool-0.35
55 dev-libs/libxslt
56 ~app-text/docbook-xml-dtd-4.3
57 doc? (
58 app-text/docbook-sgml-utils
59 )"
60
61 DOCS="AUTHORS ChangeLog NEWS README"
62
63 src_unpack() {
64 gnome2_src_unpack
65
66 # disable pyc compiling
67 mv py-compile py-compile.orig
68 ln -s $(type -P true) py-compile
69 }
70
71 pkg_setup() {
72 G2CONF="${G2CONF}
73 --disable-scrollkeeper
74 --disable-schemas-install
75 --enable-flags
76 $(use_with hal)
77 $(use_enable ipv6)
78 --disable-polkit"
79
80 if use gstreamer; then
81 G2CONF="${G2CONF} --with-gstreamer=0.10"
82 fi
83
84 if ! use ppc && ! use apm && ! use acpi; then
85 G2CONF="${G2CONF} --disable-battstat"
86 fi
87
88 if use ppc && ! use apm; then
89 G2CONF="${G2CONF} --disable-battstat"
90 fi
91 }
92
93 src_install() {
94 gnome2_src_install
95
96 local APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \
97 gkb-new gswitchit gweather invest-applet mini-commander \
98 mixer modemlights multiload null_applet stickynotes trashapplet"
99
100 # modemlights is out because it needs system-tools-backends-1
101
102 for applet in ${APPLETS} ; do
103 docinto ${applet}
104
105 for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do
106 [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
107 done
108 done
109 }
110
111 pkg_postinst() {
112 gnome2_pkg_postinst
113
114 if use acpi && ! use hal ; then
115 elog "It is highly recommended that you install acpid if you use the"
116 elog "battstat applet to prevent any issues with other applications "
117 elog "trying to read acpi information."
118 fi
119
120 # check for new python modules on bumps
121 python_version
122 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/invest
123 }
124
125 pkg_postrm() {
126 gnome2_pkg_postrm
127 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/invest
128 }

  ViewVC Help
Powered by ViewVC 1.1.20