diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-02-23 20:26:38 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-02-23 20:26:38 +0000 |
commit | d45fab453a22c134614254cc50d4f59fa26c4560 (patch) | |
tree | 8a5b7b852d10aef55b6526279c0cb5bbadfb49a0 /x11-misc/xscreensaver | |
parent | marked as stable (diff) | |
download | historical-d45fab453a22c134614254cc50d4f59fa26c4560.tar.gz historical-d45fab453a22c134614254cc50d4f59fa26c4560.tar.bz2 historical-d45fab453a22c134614254cc50d4f59fa26c4560.zip |
bump version
Diffstat (limited to 'x11-misc/xscreensaver')
-rw-r--r-- | x11-misc/xscreensaver/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/xscreensaver/files/digest-xscreensaver-4.08 | 1 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-4.08.ebuild | 142 |
3 files changed, 149 insertions, 1 deletions
diff --git a/x11-misc/xscreensaver/ChangeLog b/x11-misc/xscreensaver/ChangeLog index 4cc056c7be71..912322ba2884 100644 --- a/x11-misc/xscreensaver/ChangeLog +++ b/x11-misc/xscreensaver/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/xscreensaver # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.16 2003/02/12 09:34:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/ChangeLog,v 1.17 2003/02/23 20:26:38 agriffis Exp $ + +*xscreensaver-4.08 (23 Feb 2003) + + 23 Feb 2003; Aron Griffis <agriffis@gentoo.org> xscreensaver-4.08.ebuild files/digest-xscreensaver-4.08 : + Bump version and add ~alpha to KEYWORDS *xscreensaver-4.07 (03 Feb 2003) diff --git a/x11-misc/xscreensaver/files/digest-xscreensaver-4.08 b/x11-misc/xscreensaver/files/digest-xscreensaver-4.08 new file mode 100644 index 000000000000..acb74124d3fb --- /dev/null +++ b/x11-misc/xscreensaver/files/digest-xscreensaver-4.08 @@ -0,0 +1 @@ +MD5 c75efd30fff334202b904f4fe4409fef xscreensaver-4.08.tar.gz 328380 diff --git a/x11-misc/xscreensaver/xscreensaver-4.08.ebuild b/x11-misc/xscreensaver/xscreensaver-4.08.ebuild new file mode 100644 index 000000000000..9b362c20fc90 --- /dev/null +++ b/x11-misc/xscreensaver/xscreensaver-4.08.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-4.08.ebuild,v 1.1 2003/02/23 20:26:38 agriffis Exp $ + +IUSE="pam kerberos gtk motif gnome opengl jpeg xml" + +DESCRIPTION="a modular screensaver for X11" +SRC_URI="http://www.jwz.org/xscreensaver/${P}.tar.gz" +HOMEPAGE="http://www.jwz.org/xscreensaver/" + +LICENSE="BSD" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" +SLOT="0" + +# Enable gtk+ by default if 'motif' not in USE, or if +# both 'motif' and 'gtk' is in USE. ONLY enable motif +# if 'motif', but not 'gtk' is in USE. +DEPEND="sys-devel/bc + dev-util/pkgconfig + gtk? ( x11-libs/gtk+ + gnome-base/libglade + dev-libs/libxml2 ) + gnome? ( gnome-base/libglade + dev-libs/libxml2 + gnome-base/control-center ) + motif? ( virtual/motif ) + !motif? ( x11-libs/gtk+ + gnome-base/libglade + dev-libs/libxml2 ) + pam? ( sys-libs/pam ) + jpeg? ( media-libs/jpeg ) + opengl? ( virtual/opengl + >=media-libs/gle-3.0.1 ) + xml? ( dev-libs/libxml2 )" + +RDEPEND="${DEPEND} + media-libs/netpbm" + +src_unpack() { + unpack ${A} + + cd ${S} + cp Makefile.in Makefile.in.orig + sed "s:hacks/glx po:hacks/glx:" \ + Makefile.in.orig > Makefile.in +} + +src_compile() { + local myconf="" + + # gtk is the more stable one, so enable it by default. + if use motif && ! use gtk + then + myconf="${myconf} --with-motif --without-gtk" + else + myconf="${myconf} --without-motif --with-gtk --with-xml" + fi + + use pam \ + && myconf="${myconf} --with-pam" \ + || myconf="${myconf} --without-pam" + + use kerberos \ + && myconf="${myconf} --with-kerberos" \ + || myconf="${myconf} --without-kerberos" + + use opengl \ + && myconf="${myconf} --with-gl --with-gle" \ + || myconf="${myconf} --without-gl --without-gle" + + use jpeg \ + && myconf="${myconf} --with-jpeg" \ + || myconf="${myconf} --without-jpeg" + + use xml2 \ + && myconf="${myconf} --with-xml" +# Do not specifically disable xml, as gtk use it +# || myconf="${myconf} --without-xml" + + use nls \ + && myconf="${myconf} --enable-nls" \ + || myconf="${myconf} --disable-nls" + + # Check if x11-libs/gtk+-2.0 is installed + pkg-config gtk+-2.0 &> /dev/null + local gtk2_installed="$?" + + # Enable pixbuf support if x11-libs/gtk+-2.0 is not installed, but + # media-libs/gdk-pixbuf is installed, + # OR enable it if x11-libs/gtk+-2.0 is installed + ( ( [ "${gtk2_installed}" -ne 0 ] && [ -x /usr/bin/gdk-pixbuf-config ] ) \ + || [ "${gtk2_installed}" -eq 0 ] ) \ + && myconf="${myconf} --with-pixbuf" + + # Enable gnome support (control-center capplet) if 'gnome' in USE, + # but gtk+-2.0 is not installed. + ( [ "${gtk2_installed}" -ne 0 ] && use gnome ) \ + && myconf="${myconf} --with-gnome" + + export C_INCLUDE_PATH="/usr/include/libxml2/" + econf \ + --enable-hackdir=/usr/lib/xscreensaver \ + --with-mit-ext \ + --with-dpms-ext \ + --with-xinerama-ext \ + --with-xf86vmode-ext \ + --with-xf86gamma-ext \ + --with-proc-interrupts \ + --with-xpm \ + --with-xshm-ext \ + --with-xdbe-ext \ + --enable-locking \ + ${myconf} || die + + emake || die +} + +src_install() { + [ -n "${KDEDIR}" ] && dodir ${KDEDIR}/bin + + make install_prefix="${D}" install || die + + # install correctly in gnome2 + use gnome && ( \ + dodir /usr/share/gnome/capplets + insinto /usr/share/gnome/capplets + doins driver/screensaver-properties.desktop + ) + + # Remove "extra" capplet + rm -f ${D}/usr/share/control-center/capplets/screensaver-properties.desktop + + use gnome && ( \ + insinto /usr/share/pixmaps + newins ${S}/utils/images/logo-50.xpm xscreensaver.xpm + ) + + use pam && ( \ + insinto /etc/pam.d + doins ${FILESDIR}/pam.d/xscreensaver + ) +} |