1 |
commit: 131f5e3f0227725681da9fb3b65dacb309a1b049 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 25 18:58:56 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 26 09:37:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=131f5e3f |
7 |
|
8 |
games-arcade/tuxanci: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
games-arcade/tuxanci/tuxanci-20110429-r1.ebuild | 59 ++++++++++++++++++++ |
13 |
games-arcade/tuxanci/tuxanci-20110429.ebuild | 72 ------------------------- |
14 |
games-arcade/tuxanci/tuxanci-99999999.ebuild | 59 ++++++++------------ |
15 |
3 files changed, 82 insertions(+), 108 deletions(-) |
16 |
|
17 |
diff --git a/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild b/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..3d55994e39e |
20 |
--- /dev/null |
21 |
+++ b/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild |
22 |
@@ -0,0 +1,59 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+inherit cmake-utils |
29 |
+ |
30 |
+DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci" |
31 |
+HOMEPAGE="http://www.tuxanci.org/" |
32 |
+ |
33 |
+if [[ ${PV} = *9999 ]]; then |
34 |
+ inherit git-r3 |
35 |
+ EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" |
36 |
+else |
37 |
+ SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz" |
38 |
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
39 |
+fi |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+IUSE="debug dedicated +ipv6 nls opengl physfs +sound" |
44 |
+ |
45 |
+# >=x11-libs/cairo-1.8.8[X,svg] |
46 |
+RDEPEND=" |
47 |
+ !dedicated? ( |
48 |
+ >=media-libs/fontconfig-2.7.0 |
49 |
+ media-libs/libsdl[X,opengl?] |
50 |
+ media-libs/sdl-ttf[X] |
51 |
+ >=media-libs/sdl-image-1.2.10[png] |
52 |
+ sound? ( |
53 |
+ >=media-libs/sdl-mixer-1.2.11[vorbis] |
54 |
+ ) |
55 |
+ ) |
56 |
+ physfs? ( dev-games/physfs[zip] ) |
57 |
+ !physfs? ( >=dev-libs/libzip-0.9 ) |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ virtual/pkgconfig |
61 |
+ nls? ( sys-devel/gettext ) |
62 |
+" |
63 |
+ |
64 |
+src_configure() { |
65 |
+ local mycmakeargs=( |
66 |
+ -DWITH_AUDIO=$(usex sound) |
67 |
+ -DBUILD_SERVER=$(usex dedicated) |
68 |
+ -DWITH_NLS=$(usex nls) |
69 |
+ -DWITH_PHYSFS=$(usex physfs) |
70 |
+ -DWITH_OPENGL=$(usex opengl) |
71 |
+ -DENABLE_IPV6=$(usex ipv6) |
72 |
+ -DDEVELOPER=$(usex debug) |
73 |
+ -DCMAKE_INSTALL_ICONDIR="${EPREFIX}"/usr/pixmaps/ |
74 |
+ -DCMAKE_INSTALL_DESKTOPDIR="${EPREFIX}"/usr/applications/ |
75 |
+ -DCMAKE_DATA_PATH="${EPREFIX}"/usr/share/ |
76 |
+ -DCMAKE_LOCALE_PATH="${EPREFIX}"/usr/share/locale/ |
77 |
+ -DCMAKE_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF} |
78 |
+ -DCMAKE_CONF_PATH="${EPREFIX}"/etc |
79 |
+ ) |
80 |
+ cmake-utils_src_configure |
81 |
+} |
82 |
|
83 |
diff --git a/games-arcade/tuxanci/tuxanci-20110429.ebuild b/games-arcade/tuxanci/tuxanci-20110429.ebuild |
84 |
deleted file mode 100644 |
85 |
index 0a18633e815..00000000000 |
86 |
--- a/games-arcade/tuxanci/tuxanci-20110429.ebuild |
87 |
+++ /dev/null |
88 |
@@ -1,72 +0,0 @@ |
89 |
-# Copyright 1999-2015 Gentoo Foundation |
90 |
-# Distributed under the terms of the GNU General Public License v2 |
91 |
- |
92 |
-EAPI=5 |
93 |
- |
94 |
-[[ ${PV} = 9999* ]] && GIT="git-2" |
95 |
-EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" |
96 |
- |
97 |
-inherit games cmake-utils ${GIT} |
98 |
- |
99 |
-DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci" |
100 |
-HOMEPAGE="http://www.tuxanci.org/" |
101 |
-if [[ ${PV} = 9999* ]]; then |
102 |
- SRC_URI="" |
103 |
- KEYWORDS="" |
104 |
-else |
105 |
- SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz" |
106 |
- KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
107 |
-fi |
108 |
-LICENSE="GPL-2" |
109 |
- |
110 |
-SLOT="0" |
111 |
-IUSE="debug dedicated +ipv6 nls opengl physfs +sound" |
112 |
- |
113 |
-# >=x11-libs/cairo-1.8.8[X,svg] |
114 |
-RDEPEND=" |
115 |
- !dedicated? ( |
116 |
- >=media-libs/fontconfig-2.7.0 |
117 |
- media-libs/libsdl[X,opengl?] |
118 |
- media-libs/sdl-ttf[X] |
119 |
- >=media-libs/sdl-image-1.2.10[png] |
120 |
- sound? ( |
121 |
- >=media-libs/sdl-mixer-1.2.11[vorbis] |
122 |
- ) |
123 |
- ) |
124 |
- physfs? ( dev-games/physfs[zip] ) |
125 |
- !physfs? ( >=dev-libs/libzip-0.9 ) |
126 |
-" |
127 |
-DEPEND="${RDEPEND} |
128 |
- virtual/pkgconfig |
129 |
- nls? ( sys-devel/gettext ) |
130 |
-" |
131 |
- |
132 |
-src_configure() { |
133 |
- local mycmakeargs+=( |
134 |
- $(cmake-utils_use_with sound AUDIO) |
135 |
- $(cmake-utils_use_build dedicated SERVER) |
136 |
- $(cmake-utils_use_with nls) |
137 |
- $(cmake-utils_use_with physfs) |
138 |
- $(cmake-utils_use_with opengl) |
139 |
- $(cmake-utils_use_enable ipv6) |
140 |
- $(cmake-utils_use debug DEVELOPER) |
141 |
- ) |
142 |
- |
143 |
- mycmakeargs+=( |
144 |
- "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}" |
145 |
- "-DCMAKE_INSTALL_ICONDIR=${GAMES_DATADIR_BASE}/pixmaps/" |
146 |
- "-DCMAKE_INSTALL_DESKTOPDIR=${GAMES_DATADIR_BASE}/applications/" |
147 |
- "-DCMAKE_DATA_PATH=${GAMES_DATADIR}" |
148 |
- "-DCMAKE_LOCALE_PATH=${GAMES_DATADIR_BASE}/locale/" |
149 |
- "-DCMAKE_DOC_PATH=${GAMES_DATADIR_BASE}/doc/${PF}" |
150 |
- "-DCMAKE_CONF_PATH=${GAMES_SYSCONFDIR}" |
151 |
- ) |
152 |
- |
153 |
- cmake-utils_src_configure |
154 |
-} |
155 |
- |
156 |
-src_install() { |
157 |
- cmake-utils_src_install |
158 |
- |
159 |
- prepgamesdirs |
160 |
-} |
161 |
|
162 |
diff --git a/games-arcade/tuxanci/tuxanci-99999999.ebuild b/games-arcade/tuxanci/tuxanci-99999999.ebuild |
163 |
index 8d85ddeeebb..3d55994e39e 100644 |
164 |
--- a/games-arcade/tuxanci/tuxanci-99999999.ebuild |
165 |
+++ b/games-arcade/tuxanci/tuxanci-99999999.ebuild |
166 |
@@ -1,24 +1,22 @@ |
167 |
-# Copyright 1999-2015 Gentoo Foundation |
168 |
+# Copyright 1999-2017 Gentoo Foundation |
169 |
# Distributed under the terms of the GNU General Public License v2 |
170 |
|
171 |
-EAPI=5 |
172 |
+EAPI=6 |
173 |
|
174 |
-[[ ${PV} = 9999* ]] && GIT="git-2" |
175 |
-EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" |
176 |
- |
177 |
-inherit games cmake-utils ${GIT} |
178 |
+inherit cmake-utils |
179 |
|
180 |
DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci" |
181 |
HOMEPAGE="http://www.tuxanci.org/" |
182 |
-if [[ ${PV} = 9999* ]]; then |
183 |
- SRC_URI="" |
184 |
- KEYWORDS="" |
185 |
+ |
186 |
+if [[ ${PV} = *9999 ]]; then |
187 |
+ inherit git-r3 |
188 |
+ EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" |
189 |
else |
190 |
- SRC_URI="http://download.${PN}.org/${P}.tar.bz2" |
191 |
+ SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz" |
192 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
193 |
fi |
194 |
-LICENSE="GPL-2" |
195 |
|
196 |
+LICENSE="GPL-2" |
197 |
SLOT="0" |
198 |
IUSE="debug dedicated +ipv6 nls opengl physfs +sound" |
199 |
|
200 |
@@ -42,31 +40,20 @@ DEPEND="${RDEPEND} |
201 |
" |
202 |
|
203 |
src_configure() { |
204 |
- local mycmakeargs+=( |
205 |
- $(cmake-utils_use_with sound AUDIO) |
206 |
- $(cmake-utils_use_build dedicated SERVER) |
207 |
- $(cmake-utils_use_with nls) |
208 |
- $(cmake-utils_use_with physfs) |
209 |
- $(cmake-utils_use_with opengl) |
210 |
- $(cmake-utils_use_enable ipv6) |
211 |
- $(cmake-utils_use debug DEVELOPER) |
212 |
- ) |
213 |
- |
214 |
- mycmakeargs+=( |
215 |
- "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}" |
216 |
- "-DCMAKE_INSTALL_ICONDIR=${GAMES_DATADIR_BASE}/pixmaps/" |
217 |
- "-DCMAKE_INSTALL_DESKTOPDIR=${GAMES_DATADIR_BASE}/applications/" |
218 |
- "-DCMAKE_DATA_PATH=${GAMES_DATADIR}" |
219 |
- "-DCMAKE_LOCALE_PATH=${GAMES_DATADIR_BASE}/locale/" |
220 |
- "-DCMAKE_DOC_PATH=${GAMES_DATADIR_BASE}/doc/${PF}" |
221 |
- "-DCMAKE_CONF_PATH=${GAMES_SYSCONFDIR}" |
222 |
+ local mycmakeargs=( |
223 |
+ -DWITH_AUDIO=$(usex sound) |
224 |
+ -DBUILD_SERVER=$(usex dedicated) |
225 |
+ -DWITH_NLS=$(usex nls) |
226 |
+ -DWITH_PHYSFS=$(usex physfs) |
227 |
+ -DWITH_OPENGL=$(usex opengl) |
228 |
+ -DENABLE_IPV6=$(usex ipv6) |
229 |
+ -DDEVELOPER=$(usex debug) |
230 |
+ -DCMAKE_INSTALL_ICONDIR="${EPREFIX}"/usr/pixmaps/ |
231 |
+ -DCMAKE_INSTALL_DESKTOPDIR="${EPREFIX}"/usr/applications/ |
232 |
+ -DCMAKE_DATA_PATH="${EPREFIX}"/usr/share/ |
233 |
+ -DCMAKE_LOCALE_PATH="${EPREFIX}"/usr/share/locale/ |
234 |
+ -DCMAKE_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF} |
235 |
+ -DCMAKE_CONF_PATH="${EPREFIX}"/etc |
236 |
) |
237 |
- |
238 |
cmake-utils_src_configure |
239 |
} |
240 |
- |
241 |
-src_install() { |
242 |
- cmake-utils_src_install |
243 |
- |
244 |
- prepgamesdirs |
245 |
-} |