Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/rss-glx: ChangeLog rss-glx-0.9.0.ebuild
Date: Sat, 20 Jun 2009 08:32:03
Message-Id: E1MHvzU-0001sk-Oe@stork.gentoo.org
1 ssuominen 09/06/20 08:32:00
2
3 Modified: ChangeLog
4 Added: rss-glx-0.9.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.69 x11-misc/rss-glx/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/rss-glx/ChangeLog?rev=1.69&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/rss-glx/ChangeLog?rev=1.69&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/rss-glx/ChangeLog?r1=1.68&r2=1.69
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v
19 retrieving revision 1.68
20 retrieving revision 1.69
21 diff -u -r1.68 -r1.69
22 --- ChangeLog 21 Mar 2009 21:54:41 -0000 1.68
23 +++ ChangeLog 20 Jun 2009 08:32:00 -0000 1.69
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-misc/rss-glx
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.68 2009/03/21 21:54:41 nelchael Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.69 2009/06/20 08:32:00 ssuominen Exp $
29 +
30 +*rss-glx-0.9.0 (20 Jun 2009)
31 +
32 + 20 Jun 2009; Samuli Suominen <ssuominen@g.o> +rss-glx-0.9.0.ebuild:
33 + Version bump.
34
35 21 Mar 2009; Krzysiek Pawlik <nelchael@g.o>
36 -files/rss-glx-0.8.1-r4-gentoo.patch,
37 @@ -65,7 +70,8 @@
38
39 *rss-glx-0.8.1-r4 (19 Feb 2007)
40
41 - 19 Feb 2007; Samuli Suominen <drac@g.o> +rss-glx-0.8.1-r4.ebuild:
42 + 19 Feb 2007; Samuli Suominen <ssuominen@g.o>
43 + +rss-glx-0.8.1-r4.ebuild:
44 Change location of XScreenSaver file for >=xscreensaver-5. Remove
45 virtual/x11 usage.
46
47
48
49
50 1.1 x11-misc/rss-glx/rss-glx-0.9.0.ebuild
51
52 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/rss-glx/rss-glx-0.9.0.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/rss-glx/rss-glx-0.9.0.ebuild?rev=1.1&content-type=text/plain
54
55 Index: rss-glx-0.9.0.ebuild
56 ===================================================================
57 # Copyright 1999-2009 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $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 $
60
61 EAPI=2
62 inherit autotools multilib
63
64 MY_P=${PN}_${PV}
65
66 DESCRIPTION="Really Slick OpenGL Screensavers for XScreenSaver"
67 HOMEPAGE="http://rss-glx.sourceforge.net"
68 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
69
70 LICENSE="GPL-2"
71 SLOT="0"
72 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
73 IUSE="+bzip2 openal"
74
75 RDEPEND="x11-libs/libX11
76 x11-libs/libXext
77 >=media-libs/glew-1.5.1
78 media-libs/mesa
79 >=media-gfx/imagemagick-6.2
80 >=x11-misc/xscreensaver-5.08-r2
81 bzip2? ( app-arch/bzip2 )
82 openal? ( >=media-libs/freealut-1.1.0-r1 )"
83 DEPEND="${RDEPEND}
84 x11-proto/xextproto
85 dev-util/pkgconfig
86 sys-apps/sed"
87
88 S=${WORKDIR}/${MY_P}
89
90 src_prepare() {
91 sed -e '/CFLAGS=/s:-O2:${CFLAGS}:' \
92 -e '/CXXFLAGS=/s:-O2:${CXXFLAGS}:' \
93 -i configure.in || die "sed failed"
94 eautoreconf
95 }
96
97 src_configure() {
98 econf \
99 --bindir=/usr/$(get_libdir)/misc/xscreensaver \
100 --enable-shared \
101 --disable-dependency-tracking \
102 $(use_enable bzip2) \
103 $(use_enable openal sound) \
104 --with-configdir=/usr/share/xscreensaver/config
105 }
106
107 src_install() {
108 emake DESTDIR="${D}" install || die "emake install failed"
109 dodoc ChangeLog README*
110 }
111
112 pkg_postinst() {
113 local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver"
114
115 if [ -f ${xssconf} ]; then
116 sed -e '/*programs:/a\
117 GL: \"Cyclone\" cyclone --root \\n\\\
118 GL: \"Euphoria\" euphoria --root \\n\\\
119 GL: \"Fieldlines\" fieldlines --root \\n\\\
120 GL: \"Flocks\" flocks --root \\n\\\
121 GL: \"Flux\" flux --root \\n\\\
122 GL: \"Helios\" helios --root \\n\\\
123 GL: \"Hyperspace\" hyperspace --root \\n\\\
124 GL: \"Lattice\" lattice --root \\n\\\
125 GL: \"Plasma\" plasma --root \\n\\\
126 GL: \"Skyrocket\" skyrocket --root \\n\\\
127 GL: \"Solarwinds\" solarwinds --root \\n\\\
128 GL: \"Colorfire\" colorfire --root \\n\\\
129 GL: \"Hufos Smoke\" hufo_smoke --root \\n\\\
130 GL: \"Hufos Tunnel\" hufo_tunnel --root \\n\\\
131 GL: \"Sundancer2\" sundancer2 --root \\n\\\
132 GL: \"BioF\" biof --root \\n\\\
133 GL: \"BusySpheres\" busyspheres --root \\n\\\
134 GL: \"SpirographX\" spirographx --root \\n\\\
135 GL: \"MatrixView\" matrixview --root \\n\\\
136 GL: \"Lorenz\" lorenz --root \\n\\\
137 GL: \"Drempels\" drempels --root \\n\\\
138 GL: \"Feedback\" feedback --root \\n\\' \
139 -i ${xssconf} || die "sed failed"
140 fi
141 }
142
143 pkg_postrm() {
144 has_version x11-misc/rss-glx && return 0
145 local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver"
146
147 if [ -f ${xssconf} ]; then
148 sed \
149 -e '/\"Cyclone\" cyclone/d' \
150 -e '/\"Euphoria\" euphoria/d' \
151 -e '/\"Fieldlines\" fieldlines/d' \
152 -e '/\"Flocks\" flocks/d' \
153 -e '/\"Flux\" flux/d' \
154 -e '/\"Helios\" helios/d' \
155 -e '/\"Hyperspace\" hyperspace/d' \
156 -e '/\"Lattice\" lattice/d' \
157 -e '/\"Plasma\" plasma/d' \
158 -e '/\"Skyrocket\" skyrocket/d' \
159 -e '/\"Solarwinds\" solarwinds/d' \
160 -e '/\"Colorfire\" colorfire/d' \
161 -e '/\"Hufos Smoke\" hufo_smoke/d' \
162 -e '/\"Hufos Tunnel\" hufo_tunnel/d' \
163 -e '/\"Sundancer2\" sundancer2/d' \
164 -e '/\"BioF\" biof/d' \
165 -e '/\"BusySpheres\" busyspheres/d' \
166 -e '/\"SpirographX\" spirographx/d' \
167 -e '/\"MatrixView\" matrixview/d' \
168 -e '/\"Lorenz\" lorenz/d' \
169 -e '/\"Drempels\" drempels/d' \
170 -e '/\"Feedback\" feedback/d' \
171 -i ${xssconf} || die "sed failed"
172 fi
173 }