1 |
commit: 650236e9939157e369d959bba9704bd5d0613b2b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 29 07:05:16 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 29 07:09:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650236e9 |
7 |
|
8 |
games-emulation/atari800: Bump to 5.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
games-emulation/atari800/Manifest | 1 + |
13 |
games-emulation/atari800/atari800-5.0.0.ebuild | 86 ++++++++++++++++++++++++++ |
14 |
games-emulation/atari800/metadata.xml | 5 +- |
15 |
3 files changed, 91 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/games-emulation/atari800/Manifest b/games-emulation/atari800/Manifest |
18 |
index 8955c0ab3425..a5f28f5de9c0 100644 |
19 |
--- a/games-emulation/atari800/Manifest |
20 |
+++ b/games-emulation/atari800/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST atari800-4.2.0-src.tgz 7047710 BLAKE2B eac4b2da03d2ff5ec9e18dda41e0345975ed16c1cee23d15d2633211b7d4835b7a26c79fbf1672bb9ce3b82d52c7273e717371a0065ba29807f76d823eeb9855 SHA512 1236a8e05bf878e4514ae8e9f1556e0961a7f11ff0333eef415af455d217f712d5c6ededdd343dff6ba1aab777e19997bf9ecb859408187d69fc141301ecba31 |
23 |
+DIST atari800-5.0.0-src.tgz 1847596 BLAKE2B 315afa4fc8d88c2267c3da04f50a541a871f2d9d0867030b30e8f5d22b421f73f89de85ea1c7d6bc41202304de43d482f5d0fd9a081b4e493b3bba1363ce1e71 SHA512 2469561cdfe185ad26fd0fff8d589c528ca267e0195dab58a0fe739674f7445b53c21070f6bcb838c1d776b9803b1e2874ecf58a36b2d6df04bd9eb38855bfac |
24 |
DIST xf25.zip 188942 BLAKE2B c10b9108eebc571ac334ea6fca76d227e3d2fcde1595e8823a3d178dc31d9efa9b209572ee03875461289093615470192cf5c9a06cf0b4363d097a9eac201db4 SHA512 306612fc2af41ed10d76103af83e141cfd8bd3ba2ea3cbd1d0b81d4d5b0108c06948a5c626648c8a2424536757a42a3f8b9af1fb63fa3c31096447ffed0f9923 |
25 |
|
26 |
diff --git a/games-emulation/atari800/atari800-5.0.0.ebuild b/games-emulation/atari800/atari800-5.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..8ad5a7e21a69 |
29 |
--- /dev/null |
30 |
+++ b/games-emulation/atari800/atari800-5.0.0.ebuild |
31 |
@@ -0,0 +1,86 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools desktop |
38 |
+ |
39 |
+DESCRIPTION="Atari 800 emulator" |
40 |
+HOMEPAGE="https://atari800.github.io/" |
41 |
+SRC_URI=" |
42 |
+ https://github.com/atari800/atari800/releases/download/ATARI800_${PV//./_}/${P}-src.tgz |
43 |
+ https://sourceforge.net/projects/${PN}/files/ROM/Original%20XL%20ROM/xf25.zip" |
44 |
+ |
45 |
+LICENSE="GPL-2+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="encode-mp3 opengl readline +sdl +sound" |
49 |
+REQUIRED_USE=" |
50 |
+ encode-mp3? ( sound ) |
51 |
+ opengl? ( sdl ) |
52 |
+" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ encode-mp3? ( |
56 |
+ media-sound/lame |
57 |
+ ) |
58 |
+ sdl? ( |
59 |
+ >=media-libs/libsdl-1.2.0[joystick,opengl?,sound?,video] |
60 |
+ ) |
61 |
+ !sdl? ( |
62 |
+ sys-libs/ncurses:= |
63 |
+ ) |
64 |
+ readline? ( |
65 |
+ sys-libs/readline:= |
66 |
+ sys-libs/ncurses:= |
67 |
+ ) |
68 |
+ media-libs/libpng:= |
69 |
+ sys-libs/zlib |
70 |
+" |
71 |
+RDEPEND=" |
72 |
+ ${DEPEND} |
73 |
+" |
74 |
+BDEPEND=" |
75 |
+ app-arch/unzip |
76 |
+" |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ local PATCHES=( |
80 |
+ # Bug 544608 |
81 |
+ "${FILESDIR}"/atari800-3.1.0-tgetent-detection.patch |
82 |
+ ) |
83 |
+ |
84 |
+ default |
85 |
+ eautoreconf |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ local video=ncurses |
90 |
+ local sound=no |
91 |
+ |
92 |
+ if use sdl; then |
93 |
+ video=sdl |
94 |
+ use sound && sound=sdl |
95 |
+ elif use sound; then |
96 |
+ sound=oss |
97 |
+ fi |
98 |
+ |
99 |
+ local myconf=( |
100 |
+ $(use_with opengl) |
101 |
+ $(use_with readline) |
102 |
+ $(use_with encode-mp3 mp3) |
103 |
+ --with-video=${video} |
104 |
+ --with-sound=${sound} |
105 |
+ ) |
106 |
+ econf "${myconf[@]}" |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ default |
111 |
+ insinto "/usr/share/${PN}" |
112 |
+ doins "${WORKDIR}/"*.ROM |
113 |
+ insinto /etc |
114 |
+ newins "${FILESDIR}"/atari800-4.2.0.cfg atari800.cfg |
115 |
+ newicon data/atari2.svg ${PN}.svg |
116 |
+ make_desktop_entry ${PN} "Atari 800 emulator" |
117 |
+} |
118 |
|
119 |
diff --git a/games-emulation/atari800/metadata.xml b/games-emulation/atari800/metadata.xml |
120 |
index 93a5cf72aa74..70220fb60e13 100644 |
121 |
--- a/games-emulation/atari800/metadata.xml |
122 |
+++ b/games-emulation/atari800/metadata.xml |
123 |
@@ -26,9 +26,12 @@ ways : |
124 |
* SDL (many different platforms and systems) |
125 |
* WinCE |
126 |
* MacOS X |
127 |
-</longdescription> |
128 |
+ </longdescription> |
129 |
<upstream> |
130 |
<remote-id type="sourceforge">atari800</remote-id> |
131 |
<remote-id type="github">atari800/atari800</remote-id> |
132 |
</upstream> |
133 |
+ <use> |
134 |
+ <flag name="encode-mp3">Support recording sound in MP3 format</flag> |
135 |
+ </use> |
136 |
</pkgmetadata> |