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

Contents of /gnome-base/gnome-applets/gnome-applets-2.18.0-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Mar 10 22:30:16 2008 UTC (11 years, 3 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Remove GNOME 2.18
(Portage version: 2.1.4.4)

1 # Copyright 1999-2007 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.18.0-r3.ebuild,v 1.8 2007/11/23 17:42:19 jer Exp $
4
5 inherit eutils gnome2 autotools
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"
14
15 RDEPEND=">=x11-libs/gtk+-2.6
16 >=dev-libs/glib-2.6
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 >=app-admin/system-tools-backends-1.1.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 >=dev-libs/dbus-glib-0.71
30 >=x11-themes/gnome-icon-theme-2.15.91
31 >=dev-libs/libxml2-2.5.0
32 >=virtual/python-2.4
33 apm? ( sys-apps/apmd )
34 x11-apps/xrdb x11-libs/libX11
35 gnome? (
36 gnome-base/libgnomekbd
37 gnome-base/control-center
38
39 >=gnome-extra/gucharmap-1.4
40 >=gnome-base/libgtop-2.11.92
41 >=gnome-base/gnome-vfs-2.15.4
42
43 >=dev-python/pygtk-2.6
44 >=dev-python/gnome-python-2.10
45 )
46 gstreamer? (
47 >=media-libs/gstreamer-0.10.2
48 >=media-libs/gst-plugins-base-0.10.2
49 )"
50
51 DEPEND="${RDEPEND}
52 >=app-text/scrollkeeper-0.1.4
53 >=dev-util/pkgconfig-0.19
54 >=dev-util/intltool-0.35
55 dev-libs/libxslt
56 doc? (
57 app-text/docbook-sgml-utils
58 >=app-text/gnome-doc-utils-0.3.2
59 ~app-text/docbook-xml-dtd-4.3
60 )"
61
62 DOCS="AUTHORS ChangeLog NEWS README"
63
64 MAKEOPTS="${MAKEOPTS} -j1"
65
66 pkg_setup() {
67 G2CONF="--disable-scrollkeeper --enable-flags \
68 $(use_with hal)
69 $(use_enable ipv6)
70 $(use_enable doc gtk-doc)"
71
72 if use gstreamer; then
73 G2CONF="${G2CONF} --with-gstreamer=0.10"
74 fi
75
76 if ! use ppc && ! use apm && ! use acpi; then
77 G2CONF="${G2CONF} --disable-battstat"
78 fi
79
80 if use ppc && ! use apm; then
81 G2CONF="${G2CONF} --disable-battstat"
82 fi
83 }
84
85 src_unpack() {
86 gnome2_src_unpack
87 epatch "${FILESDIR}/${P}-acpi-procfs.patch"
88 epatch "${FILESDIR}/${P}-gtk+-2.12-compat.patch"
89 AT_M4DIR="m4" eautoreconf
90 }
91
92 src_install() {
93 gnome2_src_install
94
95 APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \
96 gkb-new gswitchit gweather invest-applet mini-commander \
97 mixer modemlights multiload null_applet stickynotes trashapplet"
98
99 for applet in ${APPLETS} ; do
100 docinto ${applet}
101
102 for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do
103 [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
104 done
105 done
106 }
107
108 pkg_postinst() {
109 gnome2_pkg_postinst
110
111 if use acpi && ! use hal ; then
112 elog "It is highly recommended that you install acpid if you use the"
113 elog "battstat applet to prevent any issues with other applications "
114 elog "trying to read acpi information."
115 fi
116 }

  ViewVC Help
Powered by ViewVC 1.1.20