/[gentoo-x86]/gnome-extra/gnome-screensaver/gnome-screensaver-2.14.2-r1.ebuild
Gentoo

Contents of /gnome-extra/gnome-screensaver/gnome-screensaver-2.14.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Aug 11 20:19:50 2007 UTC (10 years, 10 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Removing Gnome 2.14
(Portage version: 2.1.3.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-extra/gnome-screensaver/gnome-screensaver-2.14.2-r1.ebuild,v 1.2 2007/07/22 10:10:12 graaff Exp $
4
5 inherit eutils gnome2
6
7 DESCRIPTION="Replaces xscreensaver, integrating with the desktop."
8 HOMEPAGE="http://live.gnome.org/GnomeScreensaver"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="amd64 hppa ppc ~ppc64 sparc x86"
13 IUSE="debug doc xinerama pam"
14
15 RDEPEND=">=sys-apps/dbus-0.35.2
16 >=gnome-base/gconf-2.6.1
17 >=x11-libs/gtk+-2.7.4
18 >=gnome-base/gnome-vfs-2.11
19 >=gnome-base/libgnomeui-2.11
20 >=gnome-base/libglade-2.5.0
21 >=gnome-base/gnome-menus-2.11.1
22 >=media-libs/libexif-0.6.12
23 >=dev-libs/glib-2.7.0
24 x11-libs/libX11
25 x11-libs/libXext
26 x11-libs/libXrandr
27 x11-libs/libXScrnSaver
28 x11-proto/xextproto
29 x11-proto/randrproto
30 x11-proto/scrnsaverproto
31 xinerama? (
32 x11-libs/libXinerama
33 x11-proto/xineramaproto
34 )
35 pam? ( sys-libs/pam )
36 !pam? ( sys-apps/shadow )
37 sys-devel/gettext"
38
39 DEPEND="${RDEPEND}
40 dev-util/pkgconfig
41 >=dev-util/intltool-0.29"
42
43 DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
44
45 pkg_setup() {
46 # not sure what this does, thought it might cause
47 # xscreensavers to show up, but it doesn't seem to work right
48 # -AllanonJL
49 #$(use_with xscreensaver xscreensaverdir) \
50 #$(use_with xscreensaver xscreensaverhackdir=${ROOT}/usr/bin/)"
51
52 G2CONF="${G2CONF} $(use_enable pam) $(use_enable doc) \
53 $(use_enable debug) $(use_enable xinerama)"
54
55 G2CONF="${G2CONF} --enable-locking --with-libexif --with-dpms-ext \
56 --with-gdm-config=/usr/share/gdm/defaults.conf \
57 --with-xscreensaverdir=/usr/share/xscreensaver/config \
58 --with-xscreensaverhackdir=/usr/lib/misc/xscreensaver "
59 }
60
61 src_install() {
62 gnome2_src_install
63
64 # Install the conversion script in the documentation
65 dodoc ${S}/data/migrate-xscreensaver-config.sh
66 dodoc ${S}/data/xscreensaver-config.xsl
67
68 # Conversion information
69 sed -e "s:\${PF}:${PF}:" \
70 < ${FILESDIR}/xss-conversion.txt > ${S}/xss-conversion.txt
71
72 dodoc ${S}/xss-conversion.txt
73
74 # If you are using shadow, you need to set the setuid bit on the dialog
75 if ! use pam ; then
76 fperms u+s /usr/libexec/gnome-screensaver-dialog
77 fi
78 }
79
80 pkg_postinst() {
81 ewarn "If you have xscreensaver installed, you probably want to disable it."
82 ewarn "To prevent a duplicate Screensaver entry in the menu, you need to"
83 ewarn "build xscreensaver with -gnome in the USE flags."
84 ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use"
85 echo
86 elog "Information for converting screensavers is located in "
87 elog "/usr/share/doc/${PF}/xss-conversion.txt.gz"
88 }

  ViewVC Help
Powered by ViewVC 1.1.20