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

Contents of /gnome-extra/gnome-screensaver/gnome-screensaver-2.18.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jul 22 03:06:31 2007 UTC (10 years, 11 months ago) by compnerd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
revbump entire set for security bug (#186177)
(Portage version: 2.1.3_rc8)

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.18.2.ebuild,v 1.2 2007/07/08 04:41:55 mr_bones_ Exp $
4
5 inherit 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
13 IUSE="debug doc xinerama opengl pam kernel_linux"
14
15 RDEPEND=">=gnome-base/gconf-2.6.1
16 >=x11-libs/gtk+-2.8
17 >=gnome-base/gnome-vfs-2.12
18 >=gnome-base/libgnomeui-2.12
19 >=gnome-base/libglade-2.5.0
20 >=gnome-base/gnome-menus-2.12
21 >=media-libs/libexif-0.6.12
22 >=dev-libs/glib-2.8
23 >=gnome-base/libgnomekbd-0.1
24 >=dev-libs/dbus-glib-0.71
25 opengl? ( virtual/opengl )
26 xinerama? (
27 x11-libs/libXinerama
28 x11-proto/xineramaproto
29 )
30 pam? ( virtual/pam )
31 !pam? ( kernel_linux? ( sys-apps/shadow ) )
32 x11-libs/libX11
33 x11-libs/libXext
34 x11-libs/libXrandr
35 x11-libs/libXScrnSaver"
36 DEPEND="${RDEPEND}
37 sys-devel/gettext
38 >=dev-util/pkgconfig-0.9
39 >=dev-util/intltool-0.35
40 doc? (
41 app-text/xmlto
42 ~app-text/docbook-xml-dtd-4.1.2
43 ~app-text/docbook-xml-dtd-4.4
44 )
45 x11-proto/xextproto
46 x11-proto/randrproto
47 x11-proto/scrnsaverproto
48 x11-proto/xf86miscproto"
49
50 DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
51
52 pkg_setup() {
53 G2CONF="${G2CONF} \
54 $(use_enable doc docbook-docs) \
55 $(use_enable debug) \
56 $(use_enable pam) \
57 $(use_enable xinerama) \
58 $(use_with opengl gl) \
59 --enable-locking --with-libexif --with-dpms-ext \
60 --with-kbd-layout-indicator \
61 --with-gdm-config=/usr/share/gdm/defaults.conf \
62 --with-xscreensaverdir=/usr/share/xscreensaver/config \
63 --with-xscreensaverhackdir=/usr/lib/misc/xscreensaver"
64 }
65
66 src_install() {
67 gnome2_src_install
68
69 # Install the conversion script in the documentation
70 dodoc ${S}/data/migrate-xscreensaver-config.sh
71 dodoc ${S}/data/xscreensaver-config.xsl
72
73 # Conversion information
74 sed -e "s:\${PF}:${PF}:" \
75 < ${FILESDIR}/xss-conversion-2.txt > ${S}/xss-conversion.txt
76
77 dodoc ${S}/xss-conversion.txt
78
79 # Non PAM users will need this suid to read the password hashes.
80 # OpenPAM users will probably need this too when
81 # http://bugzilla.gnome.org/show_bug.cgi?id=370847
82 # is fixed.
83 if ! use pam ; then
84 fperms +s /usr/libexec/gnome-screensaver-dialog
85 fi
86 }
87
88 pkg_postinst() {
89 gnome2_pkg_postinst
90
91 ewarn "If you have xscreensaver installed, you probably want to disable it."
92 ewarn "To prevent a duplicate Screensaver entry in the menu, you need to"
93 ewarn "build xscreensaver with -gnome in the USE flags."
94 ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use"
95 echo
96 elog "Information for converting screensavers is located in "
97 elog "/usr/share/doc/${PF}/xss-conversion.txt.gz"
98 }

  ViewVC Help
Powered by ViewVC 1.1.20