1 |
commit: df7759af13d413bc7d24255b6c5dc91504372313 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 15:49:27 2016 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 17:33:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7759af |
7 |
|
8 |
games-emulation/dosbox: add snapshot ebuild from upstream svn to provide a non-moving-target for situations where the upstream release doesn't work (bugs #586650 and #449060) |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
games-emulation/dosbox/Manifest | 1 + |
13 |
games-emulation/dosbox/dosbox-3989.ebuild | 48 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/games-emulation/dosbox/Manifest b/games-emulation/dosbox/Manifest |
17 |
index aa7079d..539ba17 100644 |
18 |
--- a/games-emulation/dosbox/Manifest |
19 |
+++ b/games-emulation/dosbox/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST dosbox-0.74.tar.gz 1265711 SHA256 13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05 SHA512 4a6ff4c658997a495119d200ec6ad37649da940814a4b14fca0dd29a99142026e324695b7aa9d2946efc2abf9067a819d911e43778efe905ed10ddf9b9f2dd3d WHIRLPOOL abc94770c732f8b73bedffbcca778f249c2fdc09353c3f484e2fc23f910602cc60b3abfcc22a9dbf3d3c4e77535fc488cd476217fe6498cab786a8024a257ff3 |
22 |
+DIST dosbox-code-0-3989-dosbox-trunk.zip 1327592 SHA256 32f2cfff1be9f9bd2b0e246f9c0486f050714fdaba0bc47b66f3983eb7f55965 SHA512 625eacc1a1190d87d56713f7af54e6a7886e7666ba9f7f0b1d553c96a2eb02ec7810ac2da73d014d5ea3b69f2a7658bdd445532abe030e7f6ef85a3c20bdd3c7 WHIRLPOOL 1272c5a8d8480fa0dede2e78941a1cc78938407ab86d3720e18762fe2c749de89eea3db2811426f43eb57efa762a4ff55aa44d8e624c05bcb82b2404dad86f49 |
23 |
|
24 |
diff --git a/games-emulation/dosbox/dosbox-3989.ebuild b/games-emulation/dosbox/dosbox-3989.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..50488ee |
27 |
--- /dev/null |
28 |
+++ b/games-emulation/dosbox/dosbox-3989.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+inherit autotools eutils games |
36 |
+ |
37 |
+PATCH=3989 |
38 |
+DESCRIPTION="DOS emulator" |
39 |
+HOMEPAGE="http://dosbox.sourceforge.net/" |
40 |
+SRC_URI="mirror://gentoo/dosbox-code-0-${PATCH}-dosbox-trunk.zip" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="" |
45 |
+IUSE="alsa debug hardened opengl" |
46 |
+ |
47 |
+RDEPEND="alsa? ( media-libs/alsa-lib ) |
48 |
+ opengl? ( virtual/glu virtual/opengl ) |
49 |
+ debug? ( sys-libs/ncurses:0 ) |
50 |
+ media-libs/libpng:0 |
51 |
+ media-libs/libsdl[joystick,video,X] |
52 |
+ media-libs/sdl-net |
53 |
+ media-libs/sdl-sound" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ app-arch/unzip" |
56 |
+ |
57 |
+S=${WORKDIR}/${PN}-code-0-${PATCH}-dosbox-trunk |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ eautoreconf |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ egamesconf \ |
65 |
+ $(use_enable alsa alsa-midi) \ |
66 |
+ $(use_enable !hardened dynamic-core) \ |
67 |
+ $(use_enable !hardened dynamic-x86) \ |
68 |
+ $(use_enable debug) \ |
69 |
+ $(use_enable opengl) |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico |
75 |
+ doicon src/dosbox.ico |
76 |
+ prepgamesdirs |
77 |
+} |