Gentoo Archives: gentoo-commits

From: Marcel Unbehaun <frostworks@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-emulation/pcsx2-meta/, games-emulation/pcsx2/
Date: Sun, 30 Oct 2011 08:09:44
Message-Id: c82ecece86e6981199d520fc51091193fa9a0b9e.frostwork@gentoo
1 commit: c82ecece86e6981199d520fc51091193fa9a0b9e
2 Author: Marcel Unbehaun <marcel <AT> frostworx <DOT> de>
3 AuthorDate: Sun Oct 30 09:09:44 2011 +0000
4 Commit: Marcel Unbehaun <frostworks <AT> gmx <DOT> de>
5 CommitDate: Sun Oct 30 09:09:44 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=c82ecece
7
8 [games-emulation/pcsx2] added plugin useflags, dropped pcsx2-meta
9
10 ---
11 games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild | 33 ---------------------
12 games-emulation/pcsx2/metadata.xml | 29 ++++++++++++++++++
13 games-emulation/pcsx2/pcsx2-0.9.8.ebuild | 21 ++++++++++++-
14 games-emulation/pcsx2/pcsx2-9999.ebuild | 25 ++++++++++++++-
15 4 files changed, 71 insertions(+), 37 deletions(-)
16
17 diff --git a/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild b/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild
18 deleted file mode 100644
19 index 81bde05..0000000
20 --- a/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild
21 +++ /dev/null
22 @@ -1,33 +0,0 @@
23 -# Copyright 1999-2011 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Header: $
26 -
27 -EAPI="2"
28 -
29 -inherit eutils
30 -
31 -DESCRIPTION="meta package for pcsx2 and plugins"
32 -HOMEPAGE="http://www.pcsx2.net"
33 -SRC_URI=""
34 -
35 -LICENSE="GPL-3"
36 -SLOT="0"
37 -KEYWORDS="~x86"
38 -
39 -RDEPEND=" games-emulation/pcsx2
40 - games-emulation/ps2emu-cdvdiso
41 - games-emulation/ps2emu-cdvdlinuz
42 - games-emulation/ps2emu-cdvdnull
43 - games-emulation/ps2emu-dev9null
44 - games-emulation/ps2emu-fwnull
45 - games-emulation/ps2emu-gsdx
46 - games-emulation/ps2emu-gsnull
47 - games-emulation/ps2emu-onepad
48 - games-emulation/ps2emu-padnull
49 - games-emulation/ps2emu-spu2null
50 - games-emulation/ps2emu-spu2-x
51 - games-emulation/ps2emu-usbnull
52 - games-emulation/ps2emu-zerogs
53 - games-emulation/ps2emu-zerospu
54 - games-emulation/ps2emu-zzogl
55 - "
56
57 diff --git a/games-emulation/pcsx2/metadata.xml b/games-emulation/pcsx2/metadata.xml
58 new file mode 100644
59 index 0000000..b96b78d
60 --- /dev/null
61 +++ b/games-emulation/pcsx2/metadata.xml
62 @@ -0,0 +1,29 @@
63 +<?xml version="1.0" encoding="UTF-8"?>
64 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
65 +<pkgmetadata>
66 +<maintainer>
67 + <email>frostworks@×××.de</email>
68 + <name>Marcel Unbehaun</name>
69 +</maintainer>
70 + <herd>games</herd>
71 + <longdescription lang="en">
72 +the one and only ps2 emulator
73 +</longdescription>
74 + <use>
75 + <flag name="cdvdiso">enable cdvdiso plugin support</flag>
76 + <flag name="cdvdlinuz">enable cdvdlinuz plugin support</flag>
77 + <flag name="cdvdnull">enable cdvdnull plugin support</flag>
78 + <flag name="dev9null">enable dev9null plugin support</flag>
79 + <flag name="fwnull">enable fwnull plugin support</flag>
80 + <flag name="gsdx">enable gsdx plugin support</flag>
81 + <flag name="gsnull">enable gsnull plugin support</flag>
82 + <flag name="onepad">enable onepad plugin support</flag>
83 + <flag name="padnull">enable padnull plugin support</flag>
84 + <flag name="spu2null">enable spu2null plugin support</flag>
85 + <flag name="spu2-x">enable spu2-x plugin support</flag>
86 + <flag name="usbnull">enable usbnull plugin support</flag>
87 + <flag name="zerogs">enable zerogs plugin support</flag>
88 + <flag name="zerospu">enable zerospu plugin support</flag>
89 + <flag name="zzogl">enable zzogl plugin support</flag>
90 + </use>
91 +</pkgmetadata>
92
93 diff --git a/games-emulation/pcsx2/pcsx2-0.9.8.ebuild b/games-emulation/pcsx2/pcsx2-0.9.8.ebuild
94 index 45fda70..36dab1d 100644
95 --- a/games-emulation/pcsx2/pcsx2-0.9.8.ebuild
96 +++ b/games-emulation/pcsx2/pcsx2-0.9.8.ebuild
97 @@ -20,7 +20,8 @@ SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> ${P}.7z"
98 LICENSE="GPL-3"
99 SLOT="0"
100 KEYWORDS="~x86"
101 -IUSE="debug"
102 +IUSE="cdvdiso cdvdlinuz cdvdnull dev9null fwnull gsdx gsnull onepad padnull spu2null spu2-x usbnull zerogs zerospu zzogl debug"
103 +
104 if use amd64; then
105 ABI="x86"
106 fi
107 @@ -55,7 +56,23 @@ DEPEND="dev-cpp/sparsehash
108 app-emulation/emul-linux-x86-sdl
109 app-emulation/emul-linux-x86-soundlibs
110 app-emulation/emul-linux-x86-wxGTK
111 - )"
112 + )
113 + cdvdiso? ( games-emulation/ps2emu-cdvdiso )
114 + cdvdlinuz? ( games-emulation/ps2emu-cdvdlinuz )
115 + cdvdnull? ( games-emulation/ps2emu-cdvdnull )
116 + dev9null? ( games-emulation/ps2emu-dev9null )
117 + fwnull? ( games-emulation/ps2emu-fwnull )
118 + gsdx? ( games-emulation/ps2emu-gsdx )
119 + gsnull? ( games-emulation/ps2emu-gsnull )
120 + onepad? ( games-emulation/ps2emu-onepad )
121 + padnull? ( games-emulation/ps2emu-padnull )
122 + spu2null? ( games-emulation/ps2emu-spu2null )
123 + spu2-x? ( games-emulation/ps2emu-spu2-x )
124 + usbnull? ( games-emulation/ps2emu-usbnull )
125 + zerogs? ( games-emulation/ps2emu-zerogs )
126 + zerospu? ( games-emulation/ps2emu-zerospu )
127 + zzogl? ( games-emulation/ps2emu-zzogl )
128 + "
129 RDEPEND="${DEPEND}"
130
131 S=${WORKDIR}/${MY_PV}
132
133 diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
134 index f635a46..c0bc446 100644
135 --- a/games-emulation/pcsx2/pcsx2-9999.ebuild
136 +++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
137 @@ -21,7 +21,9 @@ ESVN_PROJECT="pcsx2"
138 LICENSE="GPL-3"
139 SLOT="0"
140 KEYWORDS=""
141 -IUSE="debug"
142 +
143 +IUSE="cdvdiso cdvdlinuz cdvdnull dev9null fwnull gsdx gsnull onepad padnull spu2null spu2-x usbnull zerogs zerospu zzogl debug"
144 +
145 if use amd64; then
146 ABI="x86"
147 fi
148 @@ -31,6 +33,9 @@ else
149 CMAKE_BUILD_TYPE="Release"
150 fi
151
152 +PDEPEND="
153 + "
154 +
155 DEPEND="dev-cpp/sparsehash
156 x86? (
157 app-arch/bzip2
158 @@ -56,7 +61,23 @@ DEPEND="dev-cpp/sparsehash
159 app-emulation/emul-linux-x86-sdl
160 app-emulation/emul-linux-x86-soundlibs
161 app-emulation/emul-linux-x86-wxGTK
162 - )"
163 + )
164 + cdvdiso? ( games-emulation/ps2emu-cdvdiso )
165 + cdvdlinuz? ( games-emulation/ps2emu-cdvdlinuz )
166 + cdvdnull? ( games-emulation/ps2emu-cdvdnull )
167 + dev9null? ( games-emulation/ps2emu-dev9null )
168 + fwnull? ( games-emulation/ps2emu-fwnull )
169 + gsdx? ( games-emulation/ps2emu-gsdx )
170 + gsnull? ( games-emulation/ps2emu-gsnull )
171 + onepad? ( games-emulation/ps2emu-onepad )
172 + padnull? ( games-emulation/ps2emu-padnull )
173 + spu2null? ( games-emulation/ps2emu-spu2null )
174 + spu2-x? ( games-emulation/ps2emu-spu2-x )
175 + usbnull? ( games-emulation/ps2emu-usbnull )
176 + zerogs? ( games-emulation/ps2emu-zerogs )
177 + zerospu? ( games-emulation/ps2emu-zerospu )
178 + zzogl? ( games-emulation/ps2emu-zzogl )
179 + "
180 RDEPEND="${DEPEND}"
181
182 src_prepare() {