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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jun 29 22:48:36 2007 UTC (10 years, 11 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bump
(Portage version: 2.1.3_rc5)

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

  ViewVC Help
Powered by ViewVC 1.1.20