Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/
Date: Wed, 15 Aug 2018 10:37:42
Message-Id: 1534329442.cdab391c812c28860270eecb3377f928b10d8ca7.asturm@gentoo
1 commit: cdab391c812c28860270eecb3377f928b10d8ca7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 15 08:57:32 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 15 10:37:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdab391c
7
8 games-emulation/ppsspp: Drop old
9
10 Package-Manager: Portage-2.3.46, Repoman-2.3.10
11
12 games-emulation/ppsspp/Manifest | 9 ---
13 games-emulation/ppsspp/ppsspp-1.4.2-r1.ebuild | 98 -----------------------
14 games-emulation/ppsspp/ppsspp-1.4.2.ebuild | 107 --------------------------
15 games-emulation/ppsspp/ppsspp-1.5.4-r1.ebuild | 98 -----------------------
16 games-emulation/ppsspp/ppsspp-1.5.4.ebuild | 107 --------------------------
17 5 files changed, 419 deletions(-)
18
19 diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
20 index 29d9d297c3c..100fe7096ea 100644
21 --- a/games-emulation/ppsspp/Manifest
22 +++ b/games-emulation/ppsspp/Manifest
23 @@ -1,12 +1,3 @@
24 -DIST ppsspp-1.4.2-assets_lang.tar.gz 273563 BLAKE2B 54ab5cabe00ec8bd24fef62bc17894e8c663141283207eaa8ec79313d4d6131c3bb32f1d07f7e191592e973831e3852eff96d9e682d294d2cdf5967f95e0cae3 SHA512 b252e3335c84bedd24764caab15909f31dd8de60578b2c32ceab200a53de5689d8e82e1853c921d8835b780cefda10ea2ebe5e98e2afb4ba44204cc2b5209a5a
25 -DIST ppsspp-1.4.2-dx9sdk.tar.gz 14582591 BLAKE2B 12a370e262d045bab6f85237160189921e0bc9992726bb60d241c20a5714128995cf110bb5889c530f8cc3497a34645a96ff31b7b61fb3004279f26b15287435 SHA512 2c54b441b0a31f63ecab1bd2ab14254fb2047d35d2765262d43277330a8428fbf4c8848d5f730456a033cf84258f6b60a467213f8339289b3ab83ed7e94c65b7
26 -DIST ppsspp-1.4.2-ext_SPIRV-Cross.tar.gz 193267 BLAKE2B d7eb87441b78f95a6d37cec9d787728a8381fc0b1368a4856f8cf34ec813f891c16b35634630714239c661508143042909df6432922d5e703967941d28ead3a9 SHA512 0b24d28c9e98b170dc4ae51269dce04c100f9116e5fb66268b23878eab4ee7bfc28d257208e094fedf23be89a488e9497bb246d369711b72bf5e39332225d7bf
27 -DIST ppsspp-1.4.2-ext_armips.tar.gz 163666 BLAKE2B e9ec7d5e30027315d2f8b8b634ad99854ab9609f823e250a5cc63272cb938bc9e43c2c3ed53ceceee97fff93bbf42c150103b7c24a679c2af9eb14821df2a244 SHA512 9423bdbc1428700979c13276a427975733a07908fdf021dc6ab88cec0d37e9523aacd4a2a03eef23638070293dde3f1641647c47095ef2751982b9f9893c1baa
28 -DIST ppsspp-1.4.2-ext_armips_ext_tinyformat.tar.gz 22284 BLAKE2B d37c35efeb42e3998603127f8758cec29103b5f7700ff465d5234e032822965e9249b6d183dba9962a76bed06abeaf0c40ab701425d1fb4d64ffd83c9987fe8d SHA512 fb063ea9b632c8a9a0203c181830cb2feed9142fcf4d69c11cc0a3e8dcbb3cea51dde6bb351df567b3f105a4da99fd2e72ba3572d3fc0e9a45364f4115d6c3d1
29 -DIST ppsspp-1.4.2-ext_glslang.tar.gz 1685246 BLAKE2B c5a58a40587bd93d3b3d50a636714b599eb7eab3d7f798ffbd694b00a31f00b365ec88d47a94536fb6fac77b29377bdc46092fdd3c0d67631d2a8cd4af9ed34d SHA512 3605fb8a3c5dafcab97578030be4af3703f1475c8e9fd58412a514dcaa0ea6c7bf3a279510759496ab34b979a3d260d3da3d6f00d504c9c5e0f9a7b5a61399bc
30 -DIST ppsspp-1.4.2-ffmpeg.tar.gz 311610961 BLAKE2B e01b203ff1f230a27b02dab0596dedbc26e049190fa1607903b70023865c50de4fb7361de33c1bd1c5de305124ea02f2ba9ac854bf2f40f3e79259663cdfa4ec SHA512 d4bdb3c5a13bc64d7b22e38b416355d302a4401a1d8f6bd57a4d8502823dc9a2987df92b8e781ddab6de8ded9b59b268ef1b33f8f43a0be7b1c57d4ffbee6871
31 -DIST ppsspp-1.4.2-pspautotests.tar.gz 35084214 BLAKE2B b4c1b40cd016ac6a6547fbf6421bb9cdb35dfb0705c275d07c1fdb4f26a148cece3f125b32f0b15212148570179378cb845c0f56ff5529fe76ccbefab8384d8d SHA512 d42050bbbff976c2e09815e736b416a2b29baaed8516537429e47933738ae93c8bbe762088d150fed3fb2b781b79041834c6fdab362f667b16a5697423c78449
32 -DIST ppsspp-1.4.2.tar.gz 18922775 BLAKE2B ce680f53f8d1e8e34b79b7af6e53b20be4c331722c3b213c0b08478035d12b379e902c7ba58f45305410fbb491a28fb324c436cb310be66904d5cf3acd076a4b SHA512 fb36e211afa83363d036fac757010c6be9d1bcb4c0984f18ddf17871b04bc2b9b89f94341f6c0ada3a2709426cda863e2da5c66d60b72220dcceba7a5deca7e5
33 DIST ppsspp-1.5.4-assets_lang.tar.gz 347859 BLAKE2B 648915773856a64dafb5d159e0917b4345ff99dba7b7dae4f343ecd81e1d835cb958766ab8928118ae4768564414e3dcceba474e05e99be23d56c9447c59786b SHA512 72983f01c51900fa133ca83d226a5daec78153c9d70fc1ca6233b531f3c5d5da5e307e377560789cecccad7a98ba8f66da104cc4375f51576f90c535dc980b98
34 DIST ppsspp-1.5.4-dx9sdk.tar.gz 14582591 BLAKE2B 12a370e262d045bab6f85237160189921e0bc9992726bb60d241c20a5714128995cf110bb5889c530f8cc3497a34645a96ff31b7b61fb3004279f26b15287435 SHA512 2c54b441b0a31f63ecab1bd2ab14254fb2047d35d2765262d43277330a8428fbf4c8848d5f730456a033cf84258f6b60a467213f8339289b3ab83ed7e94c65b7
35 DIST ppsspp-1.5.4-ext_SPIRV-Cross.tar.gz 228943 BLAKE2B 0b4ed8a751737bf6fce9fa766f0b8dc0671b49a6adf026c369ebd3776d9d8c23acd08b6d3f41666a6e23410ffb243917a844d9de85e3eca5ce04935421aaca98 SHA512 5fe2f772b571da0627fb9d9c424bea2b4ea1c0563e36ff455ddaf1b92ea3d5ee636e039a0619e0971478ce10e163b45258e9b03d2610c573f74d1cfd08549bb8
36
37 diff --git a/games-emulation/ppsspp/ppsspp-1.4.2-r1.ebuild b/games-emulation/ppsspp/ppsspp-1.4.2-r1.ebuild
38 deleted file mode 100644
39 index b50b2c98db5..00000000000
40 --- a/games-emulation/ppsspp/ppsspp-1.4.2-r1.ebuild
41 +++ /dev/null
42 @@ -1,98 +0,0 @@
43 -# Copyright 1999-2017 Gentoo Foundation
44 -# Distributed under the terms of the GNU General Public License v2
45 -
46 -EAPI=6
47 -
48 -inherit desktop cmake-utils
49 -
50 -DESCRIPTION="A PSP emulator written in C++."
51 -HOMEPAGE="https://www.ppsspp.org/"
52 -SRC_URI="
53 - https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
54 - !system-ffmpeg? ( https://github.com/hrydgard/ppsspp-ffmpeg/archive/a2e98d7ba4c7c5cac08608732c3058cb46e3e0ef.tar.gz -> ${P}-ffmpeg.tar.gz )
55 - https://github.com/hrydgard/ppsspp-lang/archive/f32328a88cbf368af90eb79bc7ad5420795d6585.tar.gz -> ${P}-assets_lang.tar.gz
56 - https://github.com/hrydgard/pspautotests/archive/e18cface3db64ccb96738dc128fe769b28fff65c.tar.gz -> ${P}-pspautotests.tar.gz
57 - https://github.com/hrydgard/minidx9/archive/7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93.tar.gz -> ${P}-dx9sdk.tar.gz
58 - https://github.com/hrydgard/glslang/archive/b16f7e6819267e57c3c244808d1981f0ce34acbc.tar.gz -> ${P}-ext_glslang.tar.gz
59 - https://github.com/Kingcom/armips/archive/770365d44df35d6e675c58bb2a774ca412278ef5.tar.gz -> ${P}-ext_armips.tar.gz
60 - https://github.com/Kingcom/tinyformat/archive/b7f5a22753c81d834ab5133d655f1fd525280765.tar.gz -> ${P}-ext_armips_ext_tinyformat.tar.gz
61 - https://github.com/KhronosGroup/SPIRV-Cross/archive/6381b2ff9c0d975af8fd2974c97aa12a69ab6cc6.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
62 -"
63 -
64 -LICENSE="GPL-2"
65 -SLOT="0"
66 -KEYWORDS="~amd64 ~x86"
67 -IUSE="+qt5 sdl headless libav +system-ffmpeg"
68 -REQUIRED_USE="
69 - !headless? ( || ( qt5 sdl ) )
70 - ?? ( qt5 sdl )
71 -"
72 -
73 -RDEPEND="sys-libs/zlib
74 - system-ffmpeg? (
75 - !libav? ( media-video/ffmpeg:= )
76 - libav? ( media-video/libav:= )
77 - )
78 - sdl? ( media-libs/libsdl2 )
79 - qt5? (
80 - dev-qt/qtcore:5
81 - dev-qt/qtgui:5
82 - dev-qt/qtopengl:5
83 - dev-qt/qtwidgets:5
84 - )"
85 -
86 -DEPEND="${RDEPEND}"
87 -
88 -PATCHES=(
89 - "${FILESDIR}"/${P}-assets-lookup.patch
90 - "${FILESDIR}"/${PN}-1.4-O2.patch
91 -)
92 -
93 -src_unpack() {
94 - unpack "${P}.tar.gz"
95 - cd "${S}" || die
96 - local i list=( assets_lang pspautotests dx9sdk ext_glslang ext_armips ext_SPIRV-Cross ext_armips_ext_tinyformat )
97 - if ! use system-ffmpeg; then
98 - list+=( ffmpeg )
99 - fi
100 - for i in "${list[@]}"; do
101 - tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
102 - done
103 -}
104 -
105 -src_prepare() {
106 - if ! use system-ffmpeg; then
107 - sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
108 - fi
109 - cmake-utils_src_prepare
110 -}
111 -
112 -src_configure() {
113 - local mycmakeargs=(
114 - -DUSING_QT_UI=$(usex qt5)
115 - -DUSE_SYSTEM_FFMPEG=$(usex system-ffmpeg)
116 - -DHEADLESS=$(usex headless)
117 - )
118 - cmake-utils_src_configure
119 -}
120 -
121 -src_install() {
122 - use headless && dobin "${BUILD_DIR}/PPSSPPHeadless"
123 - insinto /usr/share/"${PN}"
124 - doins -r "${BUILD_DIR}/assets"
125 - if use qt5 || use sdl ; then
126 - dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)"
127 - local i
128 - for i in 16 24 32 48 64 96 128 256 512 ; do
129 - doicon -s ${i} "icons/hicolor/${i}x${i}/apps/${PN}.png"
130 - done
131 - make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))" "${PN}" "Game"
132 - fi
133 -}
134 -
135 -pkg_postinst() {
136 - if use system-ffmpeg; then
137 - ewarn "system-ffmpeg USE flag is enabled, some bugs might arise due to it."
138 - ewarn "See https://github.com/hrydgard/ppsspp/issues/9026 for more informations."
139 - fi
140 -}
141
142 diff --git a/games-emulation/ppsspp/ppsspp-1.4.2.ebuild b/games-emulation/ppsspp/ppsspp-1.4.2.ebuild
143 deleted file mode 100644
144 index 7a5ad73a893..00000000000
145 --- a/games-emulation/ppsspp/ppsspp-1.4.2.ebuild
146 +++ /dev/null
147 @@ -1,107 +0,0 @@
148 -# Copyright 1999-2017 Gentoo Foundation
149 -# Distributed under the terms of the GNU General Public License v2
150 -
151 -EAPI=6
152 -
153 -inherit eutils cmake-utils
154 -
155 -DESCRIPTION="A PSP emulator written in C++."
156 -HOMEPAGE="https://www.ppsspp.org/"
157 -SRC_URI="
158 - https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
159 - !system-ffmpeg? ( https://github.com/hrydgard/ppsspp-ffmpeg/archive/a2e98d7ba4c7c5cac08608732c3058cb46e3e0ef.tar.gz -> ${P}-ffmpeg.tar.gz )
160 - https://github.com/hrydgard/ppsspp-lang/archive/f32328a88cbf368af90eb79bc7ad5420795d6585.tar.gz -> ${P}-assets_lang.tar.gz
161 - https://github.com/hrydgard/pspautotests/archive/e18cface3db64ccb96738dc128fe769b28fff65c.tar.gz -> ${P}-pspautotests.tar.gz
162 - https://github.com/hrydgard/minidx9/archive/7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93.tar.gz -> ${P}-dx9sdk.tar.gz
163 - https://github.com/hrydgard/glslang/archive/b16f7e6819267e57c3c244808d1981f0ce34acbc.tar.gz -> ${P}-ext_glslang.tar.gz
164 - https://github.com/Kingcom/armips/archive/770365d44df35d6e675c58bb2a774ca412278ef5.tar.gz -> ${P}-ext_armips.tar.gz
165 - https://github.com/Kingcom/tinyformat/archive/b7f5a22753c81d834ab5133d655f1fd525280765.tar.gz -> ${P}-ext_armips_ext_tinyformat.tar.gz
166 - https://github.com/KhronosGroup/SPIRV-Cross/archive/6381b2ff9c0d975af8fd2974c97aa12a69ab6cc6.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
167 -"
168 -
169 -LICENSE="GPL-2"
170 -SLOT="0"
171 -KEYWORDS="~amd64 ~x86"
172 -IUSE="+qt5 sdl headless libav +system-ffmpeg"
173 -REQUIRED_USE="
174 - !headless? ( || ( qt5 sdl ) )
175 - ?? ( qt5 sdl )
176 -"
177 -
178 -RDEPEND="sys-libs/zlib
179 - system-ffmpeg? (
180 - !libav? ( media-video/ffmpeg:= )
181 - libav? ( media-video/libav:= )
182 - )
183 - sdl? (
184 - media-libs/libsdl
185 - media-libs/libsdl2
186 - )
187 - qt5? (
188 - dev-db/sqlite
189 - dev-qt/assistant:5
190 - dev-qt/qtcore:5
191 - dev-qt/qtdeclarative:5
192 - dev-qt/qtgui:5
193 - dev-qt/qtmultimedia:5
194 - dev-qt/qtopengl:5
195 - dev-qt/qtsvg:5
196 - dev-qt/qtwebkit:5
197 - dev-qt/qtwidgets:5
198 - )"
199 -
200 -DEPEND="${RDEPEND}"
201 -
202 -PATCHES=(
203 - "${FILESDIR}"/${P}-assets-lookup.patch
204 - "${FILESDIR}"/${PN}-1.4-O2.patch
205 -)
206 -
207 -src_unpack() {
208 - unpack "${P}.tar.gz"
209 - cd "${S}" || die
210 - local i list=( assets_lang pspautotests dx9sdk ext_glslang ext_armips ext_SPIRV-Cross ext_armips_ext_tinyformat )
211 - if ! use system-ffmpeg; then
212 - list+=( ffmpeg )
213 - fi
214 - for i in "${list[@]}"; do
215 - tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
216 - done
217 -}
218 -
219 -src_prepare() {
220 - if ! use system-ffmpeg; then
221 - sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
222 - fi
223 - cmake-utils_src_prepare
224 -}
225 -
226 -src_configure() {
227 - local mycmakeargs=(
228 - -DUSING_QT_UI=$(usex qt5)
229 - -DUSE_SYSTEM_FFMPEG=$(usex system-ffmpeg)
230 - -DHEADLESS=$(usex headless)
231 - )
232 - cmake-utils_src_configure
233 -}
234 -
235 -src_install() {
236 - use headless && dobin "${BUILD_DIR}/PPSSPPHeadless"
237 - insinto /usr/share/"${PN}"
238 - doins -r "${BUILD_DIR}/assets"
239 - if use qt5 || use sdl ; then
240 - dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)"
241 - local i
242 - for i in 16 24 32 48 64 96 128 256 512 ; do
243 - doicon -s ${i} "icons/hicolor/${i}x${i}/apps/${PN}.png"
244 - done
245 - make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))" "${PN}" "Game"
246 - fi
247 -}
248 -
249 -pkg_postinst() {
250 - if use system-ffmpeg; then
251 - ewarn "system-ffmpeg USE flag is enabled, some bugs might arise due to it."
252 - ewarn "See https://github.com/hrydgard/ppsspp/issues/9026 for more informations."
253 - fi
254 -}
255
256 diff --git a/games-emulation/ppsspp/ppsspp-1.5.4-r1.ebuild b/games-emulation/ppsspp/ppsspp-1.5.4-r1.ebuild
257 deleted file mode 100644
258 index 023b9217fe8..00000000000
259 --- a/games-emulation/ppsspp/ppsspp-1.5.4-r1.ebuild
260 +++ /dev/null
261 @@ -1,98 +0,0 @@
262 -# Copyright 1999-2017 Gentoo Foundation
263 -# Distributed under the terms of the GNU General Public License v2
264 -
265 -EAPI=6
266 -
267 -inherit desktop cmake-utils
268 -
269 -DESCRIPTION="A PSP emulator written in C++."
270 -HOMEPAGE="https://www.ppsspp.org/"
271 -SRC_URI="
272 - https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
273 - !system-ffmpeg? ( https://github.com/hrydgard/ppsspp-ffmpeg/archive/a2e98d7ba4c7c5cac08608732c3058cb46e3e0ef.tar.gz -> ${P}-ffmpeg.tar.gz )
274 - https://github.com/hrydgard/ppsspp-lang/archive/1e3e4a0ba0ca8c0a092e027dfb7c1c4778366db5.tar.gz -> ${P}-assets_lang.tar.gz
275 - https://github.com/hrydgard/pspautotests/archive/d02ba7407050f445edf9e908374ad4bf3b2f237b.tar.gz -> ${P}-pspautotests.tar.gz
276 - https://github.com/hrydgard/minidx9/archive/7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93.tar.gz -> ${P}-dx9sdk.tar.gz
277 - https://github.com/hrydgard/glslang/archive/2edde6665d9a56ead5ea0e55b4e64d9a803e6164.tar.gz -> ${P}-ext_glslang.tar.gz
278 - https://github.com/Kingcom/armips/archive/8b4cadaf62d7de42d374056fc6aafc555f2bc7dc.tar.gz -> ${P}-ext_armips.tar.gz
279 - https://github.com/Kingcom/tinyformat/archive/b7f5a22753c81d834ab5133d655f1fd525280765.tar.gz -> ${P}-ext_armips_ext_tinyformat.tar.gz
280 - https://github.com/KhronosGroup/SPIRV-Cross/archive/90966d50f57608587bafd95b4e345b02b814754a.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
281 -"
282 -
283 -LICENSE="GPL-2"
284 -SLOT="0"
285 -KEYWORDS="~amd64 ~x86"
286 -IUSE="+qt5 sdl headless libav +system-ffmpeg"
287 -REQUIRED_USE="
288 - !headless? ( || ( qt5 sdl ) )
289 - ?? ( qt5 sdl )
290 -"
291 -
292 -RDEPEND="sys-libs/zlib
293 - system-ffmpeg? (
294 - !libav? ( media-video/ffmpeg:= )
295 - libav? ( media-video/libav:= )
296 - )
297 - sdl? ( media-libs/libsdl2 )
298 - qt5? (
299 - dev-qt/qtcore:5
300 - dev-qt/qtgui:5
301 - dev-qt/qtopengl:5
302 - dev-qt/qtwidgets:5
303 - )"
304 -
305 -DEPEND="${RDEPEND}"
306 -
307 -PATCHES=(
308 - "${FILESDIR}"/${PN}-1.4.2-assets-lookup.patch
309 - "${FILESDIR}"/${PN}-1.4-O2.patch
310 -)
311 -
312 -src_unpack() {
313 - unpack "${P}.tar.gz"
314 - cd "${S}" || die
315 - local i list=( assets_lang pspautotests dx9sdk ext_glslang ext_armips ext_SPIRV-Cross ext_armips_ext_tinyformat )
316 - if ! use system-ffmpeg; then
317 - list+=( ffmpeg )
318 - fi
319 - for i in "${list[@]}"; do
320 - tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
321 - done
322 -}
323 -
324 -src_prepare() {
325 - if ! use system-ffmpeg; then
326 - sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
327 - fi
328 - cmake-utils_src_prepare
329 -}
330 -
331 -src_configure() {
332 - local mycmakeargs=(
333 - -DUSING_QT_UI=$(usex qt5)
334 - -DUSE_SYSTEM_FFMPEG=$(usex system-ffmpeg)
335 - -DHEADLESS=$(usex headless)
336 - )
337 - cmake-utils_src_configure
338 -}
339 -
340 -src_install() {
341 - use headless && dobin "${BUILD_DIR}/PPSSPPHeadless"
342 - insinto /usr/share/"${PN}"
343 - doins -r "${BUILD_DIR}/assets"
344 - if use qt5 || use sdl ; then
345 - dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)"
346 - local i
347 - for i in 16 24 32 48 64 96 128 256 512 ; do
348 - doicon -s ${i} "icons/hicolor/${i}x${i}/apps/${PN}.png"
349 - done
350 - make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))" "${PN}" "Game"
351 - fi
352 -}
353 -
354 -pkg_postinst() {
355 - if use system-ffmpeg; then
356 - ewarn "system-ffmpeg USE flag is enabled, some bugs might arise due to it."
357 - ewarn "See https://github.com/hrydgard/ppsspp/issues/9026 for more informations."
358 - fi
359 -}
360
361 diff --git a/games-emulation/ppsspp/ppsspp-1.5.4.ebuild b/games-emulation/ppsspp/ppsspp-1.5.4.ebuild
362 deleted file mode 100644
363 index 3204b52eb09..00000000000
364 --- a/games-emulation/ppsspp/ppsspp-1.5.4.ebuild
365 +++ /dev/null
366 @@ -1,107 +0,0 @@
367 -# Copyright 1999-2017 Gentoo Foundation
368 -# Distributed under the terms of the GNU General Public License v2
369 -
370 -EAPI=6
371 -
372 -inherit eutils cmake-utils
373 -
374 -DESCRIPTION="A PSP emulator written in C++."
375 -HOMEPAGE="https://www.ppsspp.org/"
376 -SRC_URI="
377 - https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
378 - !system-ffmpeg? ( https://github.com/hrydgard/ppsspp-ffmpeg/archive/a2e98d7ba4c7c5cac08608732c3058cb46e3e0ef.tar.gz -> ${P}-ffmpeg.tar.gz )
379 - https://github.com/hrydgard/ppsspp-lang/archive/1e3e4a0ba0ca8c0a092e027dfb7c1c4778366db5.tar.gz -> ${P}-assets_lang.tar.gz
380 - https://github.com/hrydgard/pspautotests/archive/d02ba7407050f445edf9e908374ad4bf3b2f237b.tar.gz -> ${P}-pspautotests.tar.gz
381 - https://github.com/hrydgard/minidx9/archive/7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93.tar.gz -> ${P}-dx9sdk.tar.gz
382 - https://github.com/hrydgard/glslang/archive/2edde6665d9a56ead5ea0e55b4e64d9a803e6164.tar.gz -> ${P}-ext_glslang.tar.gz
383 - https://github.com/Kingcom/armips/archive/8b4cadaf62d7de42d374056fc6aafc555f2bc7dc.tar.gz -> ${P}-ext_armips.tar.gz
384 - https://github.com/Kingcom/tinyformat/archive/b7f5a22753c81d834ab5133d655f1fd525280765.tar.gz -> ${P}-ext_armips_ext_tinyformat.tar.gz
385 - https://github.com/KhronosGroup/SPIRV-Cross/archive/90966d50f57608587bafd95b4e345b02b814754a.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
386 -"
387 -
388 -LICENSE="GPL-2"
389 -SLOT="0"
390 -KEYWORDS="~amd64 ~x86"
391 -IUSE="+qt5 sdl headless libav +system-ffmpeg"
392 -REQUIRED_USE="
393 - !headless? ( || ( qt5 sdl ) )
394 - ?? ( qt5 sdl )
395 -"
396 -
397 -RDEPEND="sys-libs/zlib
398 - system-ffmpeg? (
399 - !libav? ( media-video/ffmpeg:= )
400 - libav? ( media-video/libav:= )
401 - )
402 - sdl? (
403 - media-libs/libsdl
404 - media-libs/libsdl2
405 - )
406 - qt5? (
407 - dev-db/sqlite
408 - dev-qt/assistant:5
409 - dev-qt/qtcore:5
410 - dev-qt/qtdeclarative:5
411 - dev-qt/qtgui:5
412 - dev-qt/qtmultimedia:5
413 - dev-qt/qtopengl:5
414 - dev-qt/qtsvg:5
415 - dev-qt/qtwebkit:5
416 - dev-qt/qtwidgets:5
417 - )"
418 -
419 -DEPEND="${RDEPEND}"
420 -
421 -PATCHES=(
422 - "${FILESDIR}"/${PN}-1.4.2-assets-lookup.patch
423 - "${FILESDIR}"/${PN}-1.4-O2.patch
424 -)
425 -
426 -src_unpack() {
427 - unpack "${P}.tar.gz"
428 - cd "${S}" || die
429 - local i list=( assets_lang pspautotests dx9sdk ext_glslang ext_armips ext_SPIRV-Cross ext_armips_ext_tinyformat )
430 - if ! use system-ffmpeg; then
431 - list+=( ffmpeg )
432 - fi
433 - for i in "${list[@]}"; do
434 - tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
435 - done
436 -}
437 -
438 -src_prepare() {
439 - if ! use system-ffmpeg; then
440 - sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
441 - fi
442 - cmake-utils_src_prepare
443 -}
444 -
445 -src_configure() {
446 - local mycmakeargs=(
447 - -DUSING_QT_UI=$(usex qt5)
448 - -DUSE_SYSTEM_FFMPEG=$(usex system-ffmpeg)
449 - -DHEADLESS=$(usex headless)
450 - )
451 - cmake-utils_src_configure
452 -}
453 -
454 -src_install() {
455 - use headless && dobin "${BUILD_DIR}/PPSSPPHeadless"
456 - insinto /usr/share/"${PN}"
457 - doins -r "${BUILD_DIR}/assets"
458 - if use qt5 || use sdl ; then
459 - dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)"
460 - local i
461 - for i in 16 24 32 48 64 96 128 256 512 ; do
462 - doicon -s ${i} "icons/hicolor/${i}x${i}/apps/${PN}.png"
463 - done
464 - make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))" "${PN}" "Game"
465 - fi
466 -}
467 -
468 -pkg_postinst() {
469 - if use system-ffmpeg; then
470 - ewarn "system-ffmpeg USE flag is enabled, some bugs might arise due to it."
471 - ewarn "See https://github.com/hrydgard/ppsspp/issues/9026 for more informations."
472 - fi
473 -}