diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-09-06 18:08:18 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-09-06 18:08:18 +0000 |
commit | ce0249ae88028a40a4c8867f3f3700b03e166234 (patch) | |
tree | 360c92bcffbd394245de77f3a2af65305dbd6535 /x11-misc/rss-glx | |
parent | version bump (diff) | |
download | gentoo-2-ce0249ae88028a40a4c8867f3f3700b03e166234.tar.gz gentoo-2-ce0249ae88028a40a4c8867f3f3700b03e166234.tar.bz2 gentoo-2-ce0249ae88028a40a4c8867f3f3700b03e166234.zip |
version bump
Diffstat (limited to 'x11-misc/rss-glx')
-rw-r--r-- | x11-misc/rss-glx/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/rss-glx/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/rss-glx/files/digest-rss-glx-0.7.6 | 1 | ||||
-rw-r--r-- | x11-misc/rss-glx/files/rss-glx-0.7.6-kdedesktop.patch | 11 | ||||
-rw-r--r-- | x11-misc/rss-glx/rss-glx-0.7.6.ebuild | 123 |
5 files changed, 144 insertions, 3 deletions
diff --git a/x11-misc/rss-glx/ChangeLog b/x11-misc/rss-glx/ChangeLog index de56cdc84c8c..c419e6a067a1 100644 --- a/x11-misc/rss-glx/ChangeLog +++ b/x11-misc/rss-glx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/rss-glx # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.9 2003/09/02 19:47:19 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.10 2003/09/06 18:08:13 liquidx Exp $ + +*rss-glx-0.7.6 (06 Sep 2003) + + 06 Sep 2003; Alastair Tse <liquidx@gentoo.org> rss-glx-0.7.6.ebuild, + files/rss-glx-0.7.6-kdedesktop.patch: + version bump. thanks to rizzo@gentoo.org 02 Sep 2003; Alastair Tse <liquidx@gentoo.org> rss-glx-0.7.5.ebuild: added imagemagick dep (#27720) diff --git a/x11-misc/rss-glx/Manifest b/x11-misc/rss-glx/Manifest index 96169b78b31f..9eafbd9abc4c 100644 --- a/x11-misc/rss-glx/Manifest +++ b/x11-misc/rss-glx/Manifest @@ -1,9 +1,9 @@ -MD5 531751dd962ea72f6fb709944dafc234 ChangeLog 2354 +MD5 0e290e5b4ab20acfb0327b557bc3b547 ChangeLog 2540 MD5 8481ad795f967cd3cfc4dd878e2c555e metadata.xml 277 MD5 3097eb4ef5aba9394457045b5ca6aecf rss-glx-0.6.8.ebuild 909 MD5 ce7e95f9a324947b4d040d1724b832bd rss-glx-0.7.4-r1.ebuild 3781 MD5 2ade81970111d65c7454c2f2073ecca2 rss-glx-0.7.5.ebuild 4098 -MD5 d58c55f5e95e285e009a836032f94066 rss-glx-0.7.6.ebuild 4094 +MD5 dfc45986d1f9b6336f2c71cfa36c6915 rss-glx-0.7.6.ebuild 4093 MD5 770314fd1bc3c265dfb526582bba9832 files/digest-rss-glx-0.6.8 67 MD5 55ae7a0c63825a631b147a3c34f1131b files/digest-rss-glx-0.7.4-r1 67 MD5 66e0d6c48e590305135ac37ec5cef675 files/digest-rss-glx-0.7.5 67 diff --git a/x11-misc/rss-glx/files/digest-rss-glx-0.7.6 b/x11-misc/rss-glx/files/digest-rss-glx-0.7.6 new file mode 100644 index 000000000000..b51e11ba19ed --- /dev/null +++ b/x11-misc/rss-glx/files/digest-rss-glx-0.7.6 @@ -0,0 +1 @@ +MD5 c896bd55e9ffdfad69bda4422b42e03b rss-glx_0.7.6.tar.bz2 4978215 diff --git a/x11-misc/rss-glx/files/rss-glx-0.7.6-kdedesktop.patch b/x11-misc/rss-glx/files/rss-glx-0.7.6-kdedesktop.patch new file mode 100644 index 000000000000..d8f082eca346 --- /dev/null +++ b/x11-misc/rss-glx/files/rss-glx-0.7.6-kdedesktop.patch @@ -0,0 +1,11 @@ +--- rss_glx-0.7.4/reallyslick/cpp_src/Makefile.in 2003-06-02 15:38:07.000000000 +0100 ++++ rss_glx-0.7.4/reallyslick/cpp_src/Makefile.in 2003-06-02 15:38:34.000000000 +0100 +@@ -139,7 +139,7 @@ + + @INSTALL_XSCREENSAVER_CONFIG_FILES_TRUE@dist_config_DATA = cyclone.xml fieldlines.xml flocks.xml flux.xml helios.xml plasma.xml skyrocket.xml solarwinds.xml + +-@INSTALL_XSCREENSAVER_CONFIG_FILES_TRUE@dist_kdessconfig_DATA = cyclone.desktop fieldlines.desktop flocks.desktop flux.desktop helios.desktop plasma.desktop skyrocket.desktop solarwinds.desktop ++@INSTALL_KDE_CONFIG_FILES_TRUE@dist_kdessconfig_DATA = cyclone.desktop fieldlines.desktop flocks.desktop flux.desktop helios.desktop plasma.desktop skyrocket.desktop solarwinds.desktop + + man_MANS = cyclone.1 fieldlines.1 flocks.1 flux.1 helios.1 plasma.1 skyrocket.1 solarwinds.1 + diff --git a/x11-misc/rss-glx/rss-glx-0.7.6.ebuild b/x11-misc/rss-glx/rss-glx-0.7.6.ebuild new file mode 100644 index 000000000000..8d4264d27fc3 --- /dev/null +++ b/x11-misc/rss-glx/rss-glx-0.7.6.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/rss-glx-0.7.6.ebuild,v 1.1 2003/09/06 18:08:13 liquidx Exp $ + +inherit flag-o-matic +filter-flags -fPIC +use kde && inherit kde + +MY_P=${PN}_${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Really Slick Screensavers using OpenGL for XScreenSaver" +HOMEPAGE="http://rss-glx.sourceforge.net/" +SRC_URI="mirror://sourceforge/rss-glx/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="kde sse 3dnow" + +DEPEND="virtual/x11 + virtual/opengl + >=sys-apps/sed-4 + media-gfx/imagemagick + kde? ( kde-base/kdeartwork ) : ( x11-misc/xscreensaver )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-kdedesktop.patch +} + +src_compile() { + local myconf + + myconf="${myconf} --bindir=/usr/lib/xscreensaver" \ + myconf="${myconf} --with-configdir=/usr/share/control-center/screensavers/" \ + + if [ -n "`use kde`" ]; then + find . -name '*.desktop' -exec \ + sed -i \ + -e 's:Exec=kxsrun \(.*\):Exec=kxsrun /usr/lib/xscreensaver/\1:g' \ + -e 's:Exec=kxsconfig \(.*\):Exec=kxsconfig /usr/lib/xscreensaver/\1:g' \ + '{}' \ + \; \ + || die "couldnt sed desktop files" + [ -n "${KDEDIR}" ] \ + && myconf="${myconf} --with-kdessconfigdir=${KDEDIR}/share/applnk/System/ScreenSavers" + fi + + econf \ + `use_enable sse` \ + `use_enable 3dnow` \ + ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + dodoc COPYING INSTALL README README.xscreensaver + + # symlink to satisfy kde's kxs* + use kde && dosym /usr/share/control-center/screensavers /usr/lib/xscreensaver/config +} + +pkg_postinst() { + if [ -f ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver ]; then + [ -n "`grep 'euphoria --root' /usr/X11R6/lib/X11/app-defaults/XScreenSaver`" ] && return 0 + einfo "Adding Really Slick Screensavers to XScreenSaver" + + sed -i '/*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: \"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: \"MatrixView\" matrixview --root \\n\\\ + GL: \"Spirographx\" spirographx --root \\n\\\ + GL: \"BusySpheres\" busyspheres --root \\n\\' \ + ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver + + else + einfo "Unable to add these to XScreenSaver configuration" + einfo "Read /usr/share/doc/${PF}/README.xscreensaver.gz for" + einfo "entries to add to your ~/.xscreensaver file to enable these hacks" + fi +} + +pkg_postrm() { + has_version rss-glx && return 0 + if [ -f ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver ]; then + einfo "Removing Really Slick Screensavers from XScreenSaver configuration." + 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 '/\"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 '/\"MatrixView\" matrixview/d' \ + -e '/\"Spirographx\" spirographx/d' \ + -e '/\"BusySpheres\" busyspheres/d' -i \ + ${ROOT}/usr/X11R6/lib/X11/app-defaults/XScreenSaver + fi +} |