1 |
commit: 855b3c22296b3aea2e29cb5f568bd00d467a490b |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 16 11:42:07 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 16 11:42:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855b3c22 |
7 |
|
8 |
app-emulation/fs-uae: Version bump to 3.1.35, EAPI 8 |
9 |
|
10 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
11 |
|
12 |
app-emulation/fs-uae/Manifest | 1 + |
13 |
app-emulation/fs-uae/fs-uae-3.1.35.ebuild | 113 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 114 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/fs-uae/Manifest b/app-emulation/fs-uae/Manifest |
17 |
index 4e1ce60994c..250829fecce 100644 |
18 |
--- a/app-emulation/fs-uae/Manifest |
19 |
+++ b/app-emulation/fs-uae/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST fs-uae-3.0.5.tar.gz 4819884 BLAKE2B 0a82e0635ed02c1b4f04610555370c80ea12a870a73fd00cc98adefcefada2deed293c437202af34fc98e2f695fe1b08df918eca71b504e5b94e5ab3a099d9ed SHA512 b34ffb818040c7bf67022f26e1dbc9ebf06742a354212f2b0d2aa6b8e04c60807893a16ff965c819395f4c3fb3c43c35b38dce848b86fa046a211e12414385c7 |
22 |
+DIST fs-uae-3.1.35.tar.gz 4817547 BLAKE2B 5f75a1e262ba8d642401a03ac5b2494be37b8bab8f014a48208cc6e0b2e33373a7ce6146065f41404d8fcbd60fe71582319abe51521336c2d7c04668c3adacd9 SHA512 96bec936f867fc42eb9f61058887c027da0bab1c8df196ab62a714b1f28c92aafe6c4a61d441e5c7b5d8aee28c90d68812d0f6049c610e2ef9eebdd7e3edf013 |
23 |
|
24 |
diff --git a/app-emulation/fs-uae/fs-uae-3.1.35.ebuild b/app-emulation/fs-uae/fs-uae-3.1.35.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0df1e65c2b8 |
27 |
--- /dev/null |
28 |
+++ b/app-emulation/fs-uae/fs-uae-3.1.35.ebuild |
29 |
@@ -0,0 +1,113 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit autotools xdg |
36 |
+ |
37 |
+DESCRIPTION="Integrates the most accurate Amiga emulation code available from WinUAE" |
38 |
+HOMEPAGE="https://fs-uae.net/" |
39 |
+SRC_URI="https://fs-uae.net/stable/${PV}/${P}.tar.gz" |
40 |
+LICENSE="GPL-2" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64" |
43 |
+IUSE="fmv glew" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ dev-libs/glib:2 |
47 |
+ media-libs/libpng:0= |
48 |
+ media-libs/libsdl2[opengl,X] |
49 |
+ media-libs/openal |
50 |
+ sys-libs/zlib |
51 |
+ virtual/opengl |
52 |
+ x11-libs/libdrm |
53 |
+ x11-libs/libX11 |
54 |
+ fmv? ( media-libs/libmpeg2 ) |
55 |
+ glew? ( media-libs/glew:0= ) |
56 |
+" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ ${RDEPEND} |
60 |
+ x11-base/xorg-proto |
61 |
+" |
62 |
+ |
63 |
+BDEPEND=" |
64 |
+ app-arch/zip |
65 |
+ sys-devel/gettext |
66 |
+ virtual/pkgconfig |
67 |
+" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-3.0.0-libmpeg2.patch |
71 |
+ "${FILESDIR}"/${PN}-3.0.0-Xatom.h.patch |
72 |
+) |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ default |
76 |
+ AT_NO_RECURSIVE=1 eautoreconf |
77 |
+ |
78 |
+ # Ensure bundled libraries are not used. Udis86 is unused |
79 |
+ # regardless. Only FLAC headers are bundled and the library is never |
80 |
+ # used? Lua is bundled but differs from upstream. We keep the |
81 |
+ # default of disabling the Lua feature anyway as it is unfinished. |
82 |
+ rm -r libmpeg2/ libudis86/ || die |
83 |
+} |
84 |
+ |
85 |
+src_configure() { |
86 |
+ # Qt and Udis86 are unused. |
87 |
+ econf \ |
88 |
+ --enable-a2065 \ |
89 |
+ --enable-action-replay \ |
90 |
+ --enable-aga \ |
91 |
+ --enable-arcadia \ |
92 |
+ --enable-bsdsocket \ |
93 |
+ --enable-caps \ |
94 |
+ --enable-cd32 \ |
95 |
+ --enable-cdtv \ |
96 |
+ --enable-codegen \ |
97 |
+ --enable-dms \ |
98 |
+ --enable-drivesound \ |
99 |
+ --enable-fdi2raw \ |
100 |
+ --enable-gfxboard \ |
101 |
+ --enable-jit \ |
102 |
+ --enable-jit-fpu \ |
103 |
+ --disable-lua \ |
104 |
+ --enable-netplay \ |
105 |
+ --enable-ncr \ |
106 |
+ --enable-ncr9x \ |
107 |
+ --enable-parallel-port \ |
108 |
+ --enable-prowizard \ |
109 |
+ --enable-savestate \ |
110 |
+ --enable-scp \ |
111 |
+ --enable-serial-port \ |
112 |
+ --enable-slirp \ |
113 |
+ --enable-softfloat \ |
114 |
+ --enable-qemu-cpu \ |
115 |
+ --enable-qemu-slirp \ |
116 |
+ --enable-uaenative \ |
117 |
+ --enable-uaenet \ |
118 |
+ --enable-uaescsi \ |
119 |
+ --enable-uaeserial \ |
120 |
+ --disable-udis86 \ |
121 |
+ --enable-vpar \ |
122 |
+ --enable-xml-shader \ |
123 |
+ --enable-zip \ |
124 |
+ --without-cef \ |
125 |
+ --with-glad \ |
126 |
+ --without-qt \ |
127 |
+ $(use_with fmv libmpeg2) \ |
128 |
+ $(use_with glew) |
129 |
+} |
130 |
+ |
131 |
+src_install() { |
132 |
+ default |
133 |
+ |
134 |
+ # Needed for QEMU-UAE. |
135 |
+ insinto /usr/include/uae |
136 |
+ doins src/include/uae/{api,attributes,log,ppc,qemu,types}.h |
137 |
+} |
138 |
+ |
139 |
+pkg_postinst() { |
140 |
+ xdg_pkg_postinst |
141 |
+ elog "Install app-emulation/fs-uae-launcher for a better graphical interface." |
142 |
+} |