1 |
commit: d5dd056a01154266b8ccd52e13caf31e0f350a4d |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 22 21:43:08 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 22 22:25:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5dd056a |
7 |
|
8 |
games-arcade/apricots: drop 0.2.6-r2 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-arcade/apricots/Manifest | 1 - |
13 |
games-arcade/apricots/apricots-0.2.6-r2.ebuild | 63 --------------------- |
14 |
.../apricots/files/apricots-0.2.6-freealut.patch | 65 ---------------------- |
15 |
.../apricots/files/apricots-0.2.6-ldflags.patch | 20 ------- |
16 |
4 files changed, 149 deletions(-) |
17 |
|
18 |
diff --git a/games-arcade/apricots/Manifest b/games-arcade/apricots/Manifest |
19 |
index b2b36ece927..777ad348f17 100644 |
20 |
--- a/games-arcade/apricots/Manifest |
21 |
+++ b/games-arcade/apricots/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST apricots-0.2.6.tar.gz 768568 BLAKE2B 82fa6d4be5f1a9ed86e968a4645822cbf558ea37df956d54d0f07e3260ca2e7ff561ae6ea357dabb2c35b7bfd4ff0d806dda5cf51cbb3a956ebdba52f6ef526a SHA512 cf8a988d316382469e4b13a86315c760b702b3d490398cf2fe96f119ba743c1ff707c09228dbbf4eb601189fece708913a621b04c44e9d93162639ccbd502cf5 |
24 |
DIST apricots-0.2.7.tar.gz 388024 BLAKE2B 5d16cb2637580ae728aa4f1b3911801effa6c79faabf7f3a1c026de8d91aaa582c8063ae33152c44fc9878ae0f7126fdb6ab0363b562e90c7359bcfe6ac78391 SHA512 7f97759402703962f660cdf609f50bb9a4465cc727d3fd17751eb5863b0b9131d9014eab50632c1638130f7e4223c89c45c12cecbc9fe2639943def2ce80ae25 |
25 |
DIST apricots.png 1965 BLAKE2B 164e06ec9856273077636b347cac555cc49f5f38faffeea6f43b9032edee9dfebedce24470f70b185707ee2e467d861164a9c90c370ada5ff89d5c4854b99e7c SHA512 5d637707d7cfa775e5f3d3416a51abbbb39369cf0bfd9be871295ca3079530c25b893076c2cb6a6621586d67860920e079cb4f491d2c67ff13ce80e56a2cf4e5 |
26 |
|
27 |
diff --git a/games-arcade/apricots/apricots-0.2.6-r2.ebuild b/games-arcade/apricots/apricots-0.2.6-r2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 32117603fb8..00000000000 |
30 |
--- a/games-arcade/apricots/apricots-0.2.6-r2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,63 +0,0 @@ |
33 |
-# Copyright 1999-2018 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
-inherit autotools desktop |
38 |
- |
39 |
-DESCRIPTION="Fly a plane around bomb/shoot the enemy. Port of Planegame from Amiga" |
40 |
-HOMEPAGE="http://www.fishies.org.uk/apricots.html" |
41 |
-SRC_URI="http://www.fishies.org.uk/${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="GPL-2" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~amd64 ~x86" |
46 |
-IUSE="" |
47 |
- |
48 |
-DEPEND="media-libs/libsdl[sound,video] |
49 |
- media-libs/openal |
50 |
- media-libs/freealut" |
51 |
-RDEPEND="${DEPEND}" |
52 |
- |
53 |
-src_prepare() { |
54 |
- default |
55 |
- |
56 |
- eapply "${FILESDIR}"/${P}-freealut.patch \ |
57 |
- "${FILESDIR}"/${P}-ldflags.patch |
58 |
- |
59 |
- cp admin/acinclude.m4.in acinclude.m4 |
60 |
- |
61 |
- sed -i \ |
62 |
- -e 's:-DAP_PATH=\\\\\\"$prefix.*":-DAP_PATH=\\\\\\"/usr/share/${PN}/\\\\\\"":' \ |
63 |
- -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \ |
64 |
- configure.in || die |
65 |
- sed -i \ |
66 |
- -e "s:filename(AP_PATH):filename(\"/etc/${PN}/\"):" \ |
67 |
- ${PN}/init.cpp || die |
68 |
- sed -i \ |
69 |
- -e "s:apricots.cfg:/etc/${PN}/apricots.cfg:" \ |
70 |
- README apricots.html || die |
71 |
- sed -i \ |
72 |
- -e 's/-Wmissing-prototypes//' \ |
73 |
- acinclude.m4 || die |
74 |
- |
75 |
- mv configure.in configure.ac || die |
76 |
- eautoreconf |
77 |
-} |
78 |
- |
79 |
-src_compile() { |
80 |
- emake LIBTOOL="/usr/bin/libtool" |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- HTML_DOCS="apricots.html" |
85 |
- einstalldocs |
86 |
- |
87 |
- cd ${PN} |
88 |
- dobin apricots |
89 |
- insinto /usr/share/${PN} |
90 |
- doins *.wav *.psf *.shapes |
91 |
- insinto /etc/${PN} |
92 |
- doins apricots.cfg |
93 |
- |
94 |
- make_desktop_entry ${PN} Apricots |
95 |
-} |
96 |
|
97 |
diff --git a/games-arcade/apricots/files/apricots-0.2.6-freealut.patch b/games-arcade/apricots/files/apricots-0.2.6-freealut.patch |
98 |
deleted file mode 100644 |
99 |
index d2e1b27f6f3..00000000000 |
100 |
--- a/games-arcade/apricots/files/apricots-0.2.6-freealut.patch |
101 |
+++ /dev/null |
102 |
@@ -1,65 +0,0 @@ |
103 |
---- a/apricots/apricots.cpp |
104 |
-+++ b/apricots/apricots.cpp |
105 |
-@@ -16,6 +16,7 @@ |
106 |
- int main(int, char**){ |
107 |
- #endif |
108 |
- |
109 |
-+atexit(SDL_Quit); |
110 |
- // Initialize data |
111 |
- gamedata g; |
112 |
- init_data(g); |
113 |
- |
114 |
---- a/apricots/sampleio.cpp |
115 |
-+++ b/apricots/sampleio.cpp |
116 |
-@@ -74,12 +74,9 @@ |
117 |
- alListenerfv(AL_ORIENTATION, front ); |
118 |
- |
119 |
- // Load in samples |
120 |
-- ALvoid* data = malloc(5 * (512 * 3) * 1024); |
121 |
- alGenBuffers(numsamples, samples); |
122 |
- |
123 |
- for (int i = 0; i < numsamples; i++){ |
124 |
-- ALsizei freq; |
125 |
-- ALboolean fileok; |
126 |
- // Evil OpenAL portability fix done here |
127 |
- #ifdef _WIN32 |
128 |
- ALenum format; |
129 |
-@@ -87,15 +84,12 @@ |
130 |
- alutLoadWAVFile(filenames[i],&format,&data,&filelen,&freq,&trash); |
131 |
- fileok = (alGetError() == AL_NO_ERROR); |
132 |
- #else |
133 |
-- ALsizei format; |
134 |
-- ALsizei trash; |
135 |
-- fileok = alutLoadWAV(filenames[i],&data,&format,&filelen,&trash,&freq); |
136 |
-+ samples[i] = alutCreateBufferFromFile(filenames[i]); |
137 |
- #endif |
138 |
-- if (!fileok){ |
139 |
-+ if (samples[i] == AL_NONE){ |
140 |
- cerr << "sampleio: could not open " << filenames[i] << endl; |
141 |
- exit(1); |
142 |
- } |
143 |
-- alBufferData(samples[i], format, data, filelen, freq); |
144 |
- } |
145 |
- |
146 |
- // Generate Sources |
147 |
-@@ -107,7 +101,6 @@ |
148 |
- alSourcefv(sources[j], AL_ORIENTATION, back ); |
149 |
- } |
150 |
- |
151 |
-- free(data); |
152 |
- |
153 |
- } |
154 |
- |
155 |
- |
156 |
---- a/configure.in |
157 |
-+++ b/configure.in |
158 |
-@@ -100,7 +100,8 @@ |
159 |
- |
160 |
- dnl Check for OpenAL |
161 |
- AC_CHECK_HEADER(AL/al.h,[CXXFLAGS="$CXXFLAGS -DAP_AUDIO_OPENAL"]) |
162 |
--AC_CHECK_LIB( openal, alutInit) |
163 |
-+AC_CHECK_LIB( openal, alGetError) |
164 |
-+AC_CHECK_LIB( alut, alutInit) |
165 |
- |
166 |
- KDE_CHECK_EXTRA_LIBS |
167 |
- all_libraries="$all_libraries $USER_LDFLAGS" |
168 |
|
169 |
diff --git a/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch b/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch |
170 |
deleted file mode 100644 |
171 |
index 8a7b4a9f9a8..00000000000 |
172 |
--- a/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch |
173 |
+++ /dev/null |
174 |
@@ -1,20 +0,0 @@ |
175 |
---- a/apricots/Makefile.am.old 2010-10-11 15:58:18.000000000 +0200 |
176 |
-+++ b/apricots/Makefile.am 2010-10-11 15:59:21.000000000 +0200 |
177 |
-@@ -4,7 +4,8 @@ |
178 |
- ## INCLUDES were found outside kdevelop specific part |
179 |
- |
180 |
- apricots_SOURCES = SDLfont.cpp shape.cpp setup.cpp sampleio.cpp init.cpp game.cpp finish.cpp fall.cpp drawall.cpp drak.cpp collide.cpp apricots.cpp all.cpp ai.cpp |
181 |
--apricots_LDADD = |
182 |
-+apricots_LDADD = $(all_libraries) |
183 |
-+ |
184 |
- |
185 |
- SUBDIRS = docs |
186 |
- |
187 |
-@@ -68,7 +69,3 @@ |
188 |
- ####### kdevelop will overwrite this part!!! (end)############ |
189 |
- # set the include path found by configure |
190 |
- INCLUDES= $(all_includes) |
191 |
-- |
192 |
--# the library search path. |
193 |
--apricots_LDFLAGS = $(all_libraries) |
194 |
-- |