1 |
commit: 7efcd72291ba745978e8a02ca0ac6f8c07434a38 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 14:49:29 2016 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 14:49:29 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7efcd722 |
7 |
|
8 |
Revert "games-emulation/dosbox: remove games eclass and convert to EAPI 6" |
9 |
|
10 |
This reverts commit 3d239d4e470c8f0c99339649ec74c4bdf86cf98f. |
11 |
|
12 |
games-emulation/dosbox/dosbox-0.74-r2.ebuild | 46 ---------------------------- |
13 |
games-emulation/dosbox/dosbox-9999.ebuild | 12 ++++---- |
14 |
2 files changed, 6 insertions(+), 52 deletions(-) |
15 |
|
16 |
diff --git a/games-emulation/dosbox/dosbox-0.74-r2.ebuild b/games-emulation/dosbox/dosbox-0.74-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 165707b..0000000 |
19 |
--- a/games-emulation/dosbox/dosbox-0.74-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,46 +0,0 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI=6 |
27 |
-inherit eutils |
28 |
- |
29 |
-DESCRIPTION="DOS emulator" |
30 |
-HOMEPAGE="http://dosbox.sourceforge.net/" |
31 |
-SRC_URI="mirror://sourceforge/dosbox/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
36 |
-IUSE="alsa debug hardened opengl" |
37 |
- |
38 |
-DEPEND="alsa? ( media-libs/alsa-lib ) |
39 |
- debug? ( sys-libs/ncurses:0 ) |
40 |
- opengl? ( virtual/glu virtual/opengl ) |
41 |
- media-libs/libpng:0 |
42 |
- media-libs/libsdl[joystick,video,X] |
43 |
- media-libs/sdl-net |
44 |
- media-libs/sdl-sound" |
45 |
-RDEPEND=${DEPEND} |
46 |
- |
47 |
-PATCHES=( |
48 |
- "${FILESDIR}"/${P}-clang.patch |
49 |
- "${FILESDIR}"/${P}-gcc46.patch |
50 |
- "${FILESDIR}"/${P}-wine-drive-z.patch |
51 |
- "${FILESDIR}"/${P}-wine-filenames.patch |
52 |
-) |
53 |
- |
54 |
-src_configure() { |
55 |
- econf \ |
56 |
- $(use_enable alsa alsa-midi) \ |
57 |
- $(use_enable !hardened dynamic-core) \ |
58 |
- $(use_enable !hardened dynamic-x86) \ |
59 |
- $(use_enable debug) \ |
60 |
- $(use_enable opengl) |
61 |
-} |
62 |
- |
63 |
-src_install() { |
64 |
- default |
65 |
- make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico |
66 |
- doicon src/dosbox.ico |
67 |
-} |
68 |
|
69 |
diff --git a/games-emulation/dosbox/dosbox-9999.ebuild b/games-emulation/dosbox/dosbox-9999.ebuild |
70 |
index 1c5c700..f0caa33 100644 |
71 |
--- a/games-emulation/dosbox/dosbox-9999.ebuild |
72 |
+++ b/games-emulation/dosbox/dosbox-9999.ebuild |
73 |
@@ -1,10 +1,10 @@ |
74 |
-# Copyright 1999-2016 Gentoo Foundation |
75 |
+# Copyright 1999-2015 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Id$ |
78 |
|
79 |
-EAPI=6 |
80 |
+EAPI=5 |
81 |
ESVN_REPO_URI="https://dosbox.svn.sourceforge.net/svnroot/dosbox/dosbox/trunk" |
82 |
-inherit autotools eutils subversion |
83 |
+inherit autotools eutils subversion games |
84 |
|
85 |
DESCRIPTION="DOS emulator" |
86 |
HOMEPAGE="http://dosbox.sourceforge.net/" |
87 |
@@ -15,8 +15,8 @@ KEYWORDS="" |
88 |
IUSE="alsa debug hardened opengl" |
89 |
|
90 |
DEPEND="alsa? ( media-libs/alsa-lib ) |
91 |
- debug? ( sys-libs/ncurses:0 ) |
92 |
opengl? ( virtual/glu virtual/opengl ) |
93 |
+ debug? ( sys-libs/ncurses:0 ) |
94 |
media-libs/libpng:0 |
95 |
media-libs/libsdl[joystick,video,X] |
96 |
media-libs/sdl-net |
97 |
@@ -30,13 +30,12 @@ src_unpack() { |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
- default |
102 |
subversion_src_prepare |
103 |
eautoreconf |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
- econf \ |
108 |
+ egamesconf \ |
109 |
$(use_enable alsa alsa-midi) \ |
110 |
$(use_enable !hardened dynamic-core) \ |
111 |
$(use_enable !hardened dynamic-x86) \ |
112 |
@@ -48,4 +47,5 @@ src_install() { |
113 |
default |
114 |
make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico |
115 |
doicon src/dosbox.ico |
116 |
+ prepgamesdirs |
117 |
} |