diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-20 08:32:00 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-20 08:32:00 +0000 |
commit | 5e1dc9b121cdfe311819422924f8c4b7b19a5460 (patch) | |
tree | d298958993e94e4070dd51f7763a90429f1fe572 /x11-misc/rss-glx | |
parent | Minor spelling/grammar fixes. (diff) | |
download | gentoo-2-5e1dc9b121cdfe311819422924f8c4b7b19a5460.tar.gz gentoo-2-5e1dc9b121cdfe311819422924f8c4b7b19a5460.tar.bz2 gentoo-2-5e1dc9b121cdfe311819422924f8c4b7b19a5460.zip |
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/rss-glx')
-rw-r--r-- | x11-misc/rss-glx/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/rss-glx/rss-glx-0.9.0.ebuild | 117 |
2 files changed, 125 insertions, 2 deletions
diff --git a/x11-misc/rss-glx/ChangeLog b/x11-misc/rss-glx/ChangeLog index 66f7f062e488..46abc93e30ef 100644 --- a/x11-misc/rss-glx/ChangeLog +++ b/x11-misc/rss-glx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/rss-glx # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.68 2009/03/21 21:54:41 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.69 2009/06/20 08:32:00 ssuominen Exp $ + +*rss-glx-0.9.0 (20 Jun 2009) + + 20 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> +rss-glx-0.9.0.ebuild: + Version bump. 21 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org> -files/rss-glx-0.8.1-r4-gentoo.patch, @@ -65,7 +70,8 @@ *rss-glx-0.8.1-r4 (19 Feb 2007) - 19 Feb 2007; Samuli Suominen <drac@gentoo.org> +rss-glx-0.8.1-r4.ebuild: + 19 Feb 2007; Samuli Suominen <ssuominen@gentoo.org> + +rss-glx-0.8.1-r4.ebuild: Change location of XScreenSaver file for >=xscreensaver-5. Remove virtual/x11 usage. diff --git a/x11-misc/rss-glx/rss-glx-0.9.0.ebuild b/x11-misc/rss-glx/rss-glx-0.9.0.ebuild new file mode 100644 index 000000000000..7db590eb0f6d --- /dev/null +++ b/x11-misc/rss-glx/rss-glx-0.9.0.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/rss-glx-0.9.0.ebuild,v 1.1 2009/06/20 08:32:00 ssuominen Exp $ + +EAPI=2 +inherit autotools multilib + +MY_P=${PN}_${PV} + +DESCRIPTION="Really Slick OpenGL Screensavers for XScreenSaver" +HOMEPAGE="http://rss-glx.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+bzip2 openal" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + >=media-libs/glew-1.5.1 + media-libs/mesa + >=media-gfx/imagemagick-6.2 + >=x11-misc/xscreensaver-5.08-r2 + bzip2? ( app-arch/bzip2 ) + openal? ( >=media-libs/freealut-1.1.0-r1 )" +DEPEND="${RDEPEND} + x11-proto/xextproto + dev-util/pkgconfig + sys-apps/sed" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e '/CFLAGS=/s:-O2:${CFLAGS}:' \ + -e '/CXXFLAGS=/s:-O2:${CXXFLAGS}:' \ + -i configure.in || die "sed failed" + eautoreconf +} + +src_configure() { + econf \ + --bindir=/usr/$(get_libdir)/misc/xscreensaver \ + --enable-shared \ + --disable-dependency-tracking \ + $(use_enable bzip2) \ + $(use_enable openal sound) \ + --with-configdir=/usr/share/xscreensaver/config +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc ChangeLog README* +} + +pkg_postinst() { + local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver" + + if [ -f ${xssconf} ]; then + sed -e '/*programs:/a\ + GL: \"Cyclone\" cyclone --root \\n\\\ + GL: \"Euphoria\" euphoria --root \\n\\\ + GL: \"Fieldlines\" fieldlines --root \\n\\\ + GL: \"Flocks\" flocks --root \\n\\\ + GL: \"Flux\" flux --root \\n\\\ + GL: \"Helios\" helios --root \\n\\\ + GL: \"Hyperspace\" hyperspace --root \\n\\\ + GL: \"Lattice\" lattice --root \\n\\\ + GL: \"Plasma\" plasma --root \\n\\\ + GL: \"Skyrocket\" skyrocket --root \\n\\\ + GL: \"Solarwinds\" solarwinds --root \\n\\\ + GL: \"Colorfire\" colorfire --root \\n\\\ + GL: \"Hufos Smoke\" hufo_smoke --root \\n\\\ + GL: \"Hufos Tunnel\" hufo_tunnel --root \\n\\\ + GL: \"Sundancer2\" sundancer2 --root \\n\\\ + GL: \"BioF\" biof --root \\n\\\ + GL: \"BusySpheres\" busyspheres --root \\n\\\ + GL: \"SpirographX\" spirographx --root \\n\\\ + GL: \"MatrixView\" matrixview --root \\n\\\ + GL: \"Lorenz\" lorenz --root \\n\\\ + GL: \"Drempels\" drempels --root \\n\\\ + GL: \"Feedback\" feedback --root \\n\\' \ + -i ${xssconf} || die "sed failed" + fi +} + +pkg_postrm() { + has_version x11-misc/rss-glx && return 0 + local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver" + + if [ -f ${xssconf} ]; then + sed \ + -e '/\"Cyclone\" cyclone/d' \ + -e '/\"Euphoria\" euphoria/d' \ + -e '/\"Fieldlines\" fieldlines/d' \ + -e '/\"Flocks\" flocks/d' \ + -e '/\"Flux\" flux/d' \ + -e '/\"Helios\" helios/d' \ + -e '/\"Hyperspace\" hyperspace/d' \ + -e '/\"Lattice\" lattice/d' \ + -e '/\"Plasma\" plasma/d' \ + -e '/\"Skyrocket\" skyrocket/d' \ + -e '/\"Solarwinds\" solarwinds/d' \ + -e '/\"Colorfire\" colorfire/d' \ + -e '/\"Hufos Smoke\" hufo_smoke/d' \ + -e '/\"Hufos Tunnel\" hufo_tunnel/d' \ + -e '/\"Sundancer2\" sundancer2/d' \ + -e '/\"BioF\" biof/d' \ + -e '/\"BusySpheres\" busyspheres/d' \ + -e '/\"SpirographX\" spirographx/d' \ + -e '/\"MatrixView\" matrixview/d' \ + -e '/\"Lorenz\" lorenz/d' \ + -e '/\"Drempels\" drempels/d' \ + -e '/\"Feedback\" feedback/d' \ + -i ${xssconf} || die "sed failed" + fi +} |