Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsxr/, games-emulation/pcsxr/files/
Date: Thu, 26 Jan 2017 17:54:31
Message-Id: 1485453259.2b72d627cafdde2e840708ef32045fe91f638c95.mgorny@gentoo
1 commit: 2b72d627cafdde2e840708ef32045fe91f638c95
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 26 17:26:48 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 26 17:54:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b72d627
7
8 games-emulation/pcsxr: Clean up old
9
10 .../pcsxr/files/pcsxr-1.9.94-install-paths.patch | 223 ---------------------
11 games-emulation/pcsxr/pcsxr-1.9.94.ebuild | 101 ----------
12 2 files changed, 324 deletions(-)
13
14 diff --git a/games-emulation/pcsxr/files/pcsxr-1.9.94-install-paths.patch b/games-emulation/pcsxr/files/pcsxr-1.9.94-install-paths.patch
15 deleted file mode 100644
16 index adf2866..00000000
17 --- a/games-emulation/pcsxr/files/pcsxr-1.9.94-install-paths.patch
18 +++ /dev/null
19 @@ -1,223 +0,0 @@
20 -From a5b0086e76672083f91ddb4d0350cc99c19604fb Mon Sep 17 00:00:00 2001
21 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
22 -Date: Wed, 11 Dec 2013 17:12:58 +0100
23 -Subject: [PATCH 1/2] Fix install paths for Gentoo.
24 -
25 ----
26 - data/Makefile.am | 2 +-
27 - gui/Makefile.am | 6 +++---
28 - libpcsxcore/Makefile.am | 2 +-
29 - pixmaps/Makefile.am | 2 +-
30 - plugins/bladesio1/Makefile.am | 6 +++---
31 - plugins/dfcdrom/Makefile.am | 6 +++---
32 - plugins/dfinput/Makefile.am | 6 +++---
33 - plugins/dfnet/Makefile.am | 6 +++---
34 - plugins/dfsound/Makefile.am | 6 +++---
35 - plugins/dfxvideo/Makefile.am | 6 +++---
36 - plugins/peopsxgl/Makefile.am | 8 ++++----
37 - 11 files changed, 28 insertions(+), 28 deletions(-)
38 -
39 -diff --git a/data/Makefile.am b/data/Makefile.am
40 -index 8f1ce6a..9df8e87 100644
41 ---- a/data/Makefile.am
42 -+++ b/data/Makefile.am
43 -@@ -1,7 +1,7 @@
44 - glade_DATA = pcsxr.ui
45 - gladedir = $(datadir)/pcsxr
46 -
47 --desktopdir = $(datadir)/applications
48 -+desktopdir = $(datarootdir)/applications
49 - desktop_DATA = pcsxr.desktop
50 -
51 - EXTRA_DIST = $(glade_DATA) pcsxr.desktop
52 -diff --git a/gui/Makefile.am b/gui/Makefile.am
53 -index 5feb39e..6146ef0 100644
54 ---- a/gui/Makefile.am
55 -+++ b/gui/Makefile.am
56 -@@ -1,10 +1,10 @@
57 - AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\"${datadir}/pcsxr/\" \
58 -- -DPIXMAPDIR=\"${datadir}/pixmaps/\" \
59 -- -DLOCALE_DIR=\"${datadir}/locale/\" \
60 -+ -DPIXMAPDIR=\"${datarootdir}/pixmaps/\" \
61 -+ -DLOCALE_DIR=\"${datarootdir}/locale/\" \
62 - $(GTK3_CFLAGS) \
63 - -I$(top_srcdir)/libpcsxcore -I$(top_srcdir)/include \
64 - -DPSEMU_DATA_DIR=\"${datadir}/psemu\" \
65 -- -DDEF_PLUGIN_DIR=\"${libdir}/games/psemu\"
66 -+ -DDEF_PLUGIN_DIR=\"${libdir}/psemu\"
67 -
68 - bin_PROGRAMS = pcsxr
69 -
70 -diff --git a/libpcsxcore/Makefile.am b/libpcsxcore/Makefile.am
71 -index 1ae5389..9571ea3 100644
72 ---- a/libpcsxcore/Makefile.am
73 -+++ b/libpcsxcore/Makefile.am
74 -@@ -1,4 +1,4 @@
75 --AM_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \
76 -+AM_CPPFLAGS = -DLOCALE_DIR=\"${datarootdir}/locale/\" \
77 - -I$(top_srcdir)/include
78 -
79 - noinst_LIBRARIES = libpcsxcore.a
80 -diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am
81 -index e77fda4..f7e10da 100644
82 ---- a/pixmaps/Makefile.am
83 -+++ b/pixmaps/Makefile.am
84 -@@ -1,7 +1,7 @@
85 - pixmapdir = "$(datadir)/pcsxr"
86 - pixmap_DATA = pcsxr.png iso-open.png iso-reopen.png cd.png cdr.png gpu.png memcard.png pad.png play.png sio1.png spu.png
87 -
88 --icondir = "$(datadir)/pixmaps"
89 -+icondir = "$(datarootdir)/pixmaps"
90 - icon_DATA = pcsxr-icon.png
91 -
92 - EXTRA_DIST = pcsxr.png iso-open.png iso-reopen.png cd.png cdr.png gpu.png memcard.png pad.png play.png sio1.png spu.png pcsxr-icon.png
93 -diff --git a/plugins/bladesio1/Makefile.am b/plugins/bladesio1/Makefile.am
94 -index 5b7fee4..75d9588 100644
95 ---- a/plugins/bladesio1/Makefile.am
96 -+++ b/plugins/bladesio1/Makefile.am
97 -@@ -1,12 +1,12 @@
98 --bindir = @libdir@/games/psemu/
99 --libdir = @libdir@/games/psemu/
100 -+bindir = @libdir@/psemu/
101 -+libdir = @libdir@/psemu/
102 -
103 - lib_LTLIBRARIES = libBladeSio1.la
104 -
105 - libBladeSio1_la_SOURCES = cfg.c sio1.c sio1.h fifo.c fifo.h connection.c connection.h
106 - libBladeSio1_la_LDFLAGS = -module -avoid-version
107 -
108 --AM_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \
109 -+AM_CPPFLAGS = -DLOCALE_DIR=\"${datarootdir}/locale/\" \
110 - -DDATADIR=\"${datadir}/psemu/\" \
111 - $(GTK3_CFLAGS) \
112 - -I../../libpcsxcore -I../../include
113 -diff --git a/plugins/dfcdrom/Makefile.am b/plugins/dfcdrom/Makefile.am
114 -index b4c729f..297b4f9 100644
115 ---- a/plugins/dfcdrom/Makefile.am
116 -+++ b/plugins/dfcdrom/Makefile.am
117 -@@ -1,5 +1,5 @@
118 --bindir = @libdir@/games/psemu/
119 --libdir = @libdir@/games/psemu/
120 -+bindir = @libdir@/psemu/
121 -+libdir = @libdir@/psemu/
122 -
123 - lib_LTLIBRARIES = libDFCdrom.la
124 -
125 -@@ -21,7 +21,7 @@ libDFCdrom_la_CFLAGS += -DUSE_LIBCDIO=1 $(LIBCDIO_CFLAGS)
126 - libDFCdrom_la_LIBADD += $(LIBCDIO_LIBS)
127 - endif
128 -
129 --AM_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \
130 -+AM_CPPFLAGS = -DLOCALE_DIR=\"${datarootdir}/locale/\" \
131 - -DDATADIR=\"${datadir}/psemu/\" \
132 - $(GTK3_CFLAGS) \
133 - -I../../libpcsxcore -I../../include
134 -diff --git a/plugins/dfinput/Makefile.am b/plugins/dfinput/Makefile.am
135 -index f270ca7..0f7f9b5 100644
136 ---- a/plugins/dfinput/Makefile.am
137 -+++ b/plugins/dfinput/Makefile.am
138 -@@ -1,5 +1,5 @@
139 --bindir = @libdir@/games/psemu/
140 --libdir = @libdir@/games/psemu/
141 -+bindir = @libdir@/psemu/
142 -+libdir = @libdir@/psemu/
143 -
144 - lib_LTLIBRARIES = libDFInput.la
145 -
146 -@@ -7,7 +7,7 @@ libDFInput_la_SOURCES = cfg.c pad.c pad.h sdljoy.c xkb.c analog.c util.c util.h
147 - libDFInput_la_LDFLAGS = -module -avoid-version
148 - libDFInput_la_LIBADD = -lpthread -lX11 $(SDL2_LIBS) $(SDL_LIBS)
149 -
150 --AM_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \
151 -+AM_CPPFLAGS = -DLOCALE_DIR=\"${datarootdir}/locale/\" \
152 - -DDATADIR=\"${datadir}/psemu/\" \
153 - $(GTK3_CFLAGS) \
154 - -I../../include -I../../libpcsxcore $(SDL2_CFLAGS) $(SDL_CFLAGS)
155 -diff --git a/plugins/dfnet/Makefile.am b/plugins/dfnet/Makefile.am
156 -index 004df63..fff3dba 100644
157 ---- a/plugins/dfnet/Makefile.am
158 -+++ b/plugins/dfnet/Makefile.am
159 -@@ -1,12 +1,12 @@
160 --bindir = @libdir@/games/psemu/
161 --libdir = @libdir@/games/psemu/
162 -+bindir = @libdir@/psemu/
163 -+libdir = @libdir@/psemu/
164 -
165 - lib_LTLIBRARIES = libDFNet.la
166 -
167 - libDFNet_la_SOURCES = dfnet.c dfnet.h unix.c cfg.c
168 - libDFNet_la_LDFLAGS = -module -avoid-version
169 -
170 --AM_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \
171 -+AM_CPPFLAGS = -DLOCALE_DIR=\"${datarootdir}/locale/\" \
172 - -DDATADIR=\"${datadir}/psemu/\" \
173 - $(GTK3_CFLAGS) \
174 - -I../../libpcsxcore -I../../include
175 -diff --git a/plugins/dfsound/Makefile.am b/plugins/dfsound/Makefile.am
176 -index 5325555..15515b8 100644
177 ---- a/plugins/dfsound/Makefile.am
178 -+++ b/plugins/dfsound/Makefile.am
179 -@@ -1,7 +1,7 @@
180 - AM_CPPFLAGS = -I../../include
181 -
182 --bindir = @libdir@/games/psemu/
183 --libdir = @libdir@/games/psemu/
184 -+bindir = @libdir@/psemu/
185 -+libdir = @libdir@/psemu/
186 -
187 - lib_LTLIBRARIES = libDFSound.la
188 -
189 -@@ -46,7 +46,7 @@ libDFSound_la_CPPFLAGS += -DUSENULL=1
190 - endif
191 -
192 - bin_PROGRAMS = cfgDFSound
193 --cfgDFSound_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \
194 -+cfgDFSound_CPPFLAGS = -DLOCALE_DIR=\"${datarootdir}/locale/\" \
195 - -DDATADIR=\"${datadir}/psemu/\" \
196 - $(GTK3_CFLAGS) $(AM_CPPFLAGS)
197 - cfgDFSound_SOURCES = spucfg-0.1df/main.c
198 -diff --git a/plugins/dfxvideo/Makefile.am b/plugins/dfxvideo/Makefile.am
199 -index 2af76fd..0515690 100644
200 ---- a/plugins/dfxvideo/Makefile.am
201 -+++ b/plugins/dfxvideo/Makefile.am
202 -@@ -6,14 +6,14 @@ SUFFIXES = .asm
203 - $(LIBTOOL) --tag=CC --mode=compile \
204 - $(STRIP_FPIC) $(NASM) -f elf -d ELF -I${srcdir}/ $<
205 -
206 --AM_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \
207 -+AM_CPPFLAGS = -DLOCALE_DIR=\"${datarootdir}/locale/\" \
208 - -DDATADIR=\"${datadir}/psemu/\" \
209 - $(GTK3_CFLAGS)\
210 - -I../../libpcsxcore \
211 - -I../../include
212 -
213 --bindir = @libdir@/games/psemu/
214 --libdir = @libdir@/games/psemu/
215 -+bindir = @libdir@/psemu/
216 -+libdir = @libdir@/psemu/
217 -
218 - lib_LTLIBRARIES = libDFXVideo.la
219 -
220 -diff --git a/plugins/peopsxgl/Makefile.am b/plugins/peopsxgl/Makefile.am
221 -index 99c9554..e3af49f 100644
222 ---- a/plugins/peopsxgl/Makefile.am
223 -+++ b/plugins/peopsxgl/Makefile.am
224 -@@ -1,11 +1,11 @@
225 --AM_CPPFLAGS = -DPIXMAPDIR=\"${datadir}/pixmaps/\" \
226 -- -DLOCALE_DIR=\"${datadir}/locale/\" \
227 -+AM_CPPFLAGS = -DPIXMAPDIR=\"${datarootdir}/pixmaps/\" \
228 -+ -DLOCALE_DIR=\"${datarootdir}/locale/\" \
229 - -DDATADIR=\"${datadir}/psemu/\" \
230 - $(GTK3_CFLAGS) \
231 - -I../../libpcsxcore -I../../include
232 -
233 --bindir = @libdir@/games/psemu/
234 --libdir = @libdir@/games/psemu/
235 -+bindir = @libdir@/psemu/
236 -+libdir = @libdir@/psemu/
237 -
238 - lib_LTLIBRARIES = libpeopsxgl.la
239 -
240 ---
241 -1.8.5.1
242 -
243
244 diff --git a/games-emulation/pcsxr/pcsxr-1.9.94.ebuild b/games-emulation/pcsxr/pcsxr-1.9.94.ebuild
245 deleted file mode 100644
246 index fb5c544..00000000
247 --- a/games-emulation/pcsxr/pcsxr-1.9.94.ebuild
248 +++ /dev/null
249 @@ -1,101 +0,0 @@
250 -# Copyright 1999-2014 Gentoo Foundation
251 -# Distributed under the terms of the GNU General Public License v2
252 -# $Id$
253 -
254 -EAPI=5
255 -
256 -inherit autotools eutils games
257 -
258 -DESCRIPTION="PCSX-Reloaded: a fork of PCSX, the discontinued Playstation emulator"
259 -HOMEPAGE="http://pcsxr.codeplex.com"
260 -# codeplex doesn't support direct downloads but GPL-2 doesn't mind me
261 -# mirroring it.
262 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.zip"
263 -
264 -LICENSE="GPL-2 public-domain"
265 -SLOT="0"
266 -KEYWORDS="~amd64"
267 -IUSE="alsa cdio ffmpeg nls openal opengl oss pulseaudio +sdl"
268 -
269 -# pcsxr supports both SDL1 and SDL2 but uses the newer version installed
270 -# since SDL is not properly slotted in Gentoo, just fix it on SDL2
271 -
272 -RDEPEND="dev-libs/glib:2=
273 - media-libs/libsdl:0=[joystick]
274 - sys-libs/zlib:0=
275 - x11-libs/gtk+:3=
276 - x11-libs/libX11:0=
277 - x11-libs/libXext:0=
278 - x11-libs/libXtst:0=
279 - x11-libs/libXv:0=
280 - alsa? ( media-libs/alsa-lib:0= )
281 - cdio? ( dev-libs/libcdio:0= )
282 - ffmpeg? ( virtual/ffmpeg:0= )
283 - nls? ( virtual/libintl:0= )
284 - openal? ( media-libs/openal:0= )
285 - opengl? ( virtual/opengl:0=
286 - x11-libs/libXxf86vm:0= )
287 - pulseaudio? ( media-sound/pulseaudio:0= )
288 - sdl? ( media-libs/libsdl:0=[sound] )"
289 -DEPEND="${RDEPEND}
290 - app-arch/unzip
291 - dev-util/intltool
292 - x11-proto/videoproto
293 - nls? ( sys-devel/gettext:0 )
294 - x86? ( dev-lang/nasm )"
295 -
296 -REQUIRED_USE="?? ( alsa openal oss pulseaudio sdl )"
297 -
298 -# it's only the .po file check that fails :)
299 -RESTRICT=test
300 -
301 -S=${WORKDIR}/${PN}
302 -
303 -src_prepare() {
304 - local PATCHES=(
305 - "${FILESDIR}"/${P}-disable-sdl2.patch
306 - "${FILESDIR}"/${P}-install-paths.patch
307 - )
308 -
309 - epatch "${PATCHES[@]}"
310 - epatch_user
311 - eautoreconf
312 -}
313 -
314 -src_configure() {
315 - local sound_backend
316 -
317 - if use alsa; then
318 - sound_backend=alsa
319 - elif use oss; then
320 - sound_backend=oss
321 - elif use pulseaudio; then
322 - sound_backend=pulseaudio
323 - elif use sdl; then
324 - sound_backend=sdl
325 - elif use openal; then
326 - sound_backend=openal
327 - else
328 - sound_backend=null
329 - fi
330 -
331 - local myeconfargs=(
332 - --datarootdir="${EPREFIX%/}"/usr/share
333 -
334 - $(use_enable nls)
335 - $(use_enable cdio libcdio)
336 - $(use_enable opengl)
337 - $(use_enable ffmpeg ccdda)
338 - --enable-sound=${sound_backend}
339 - )
340 -
341 - egamesconf "${myeconfargs[@]}"
342 -}
343 -
344 -src_install() {
345 - default
346 - prune_libtool_files --all
347 -
348 - dodoc doc/{keys,tweaks}.txt
349 - prepgamesdirs
350 -}