1 |
# Doesn't require any BIOS/copyrighted material, so it can go in core. |
2 |
|
3 |
Name: mednafen |
4 |
Version: 1.32.1 |
5 |
Release: %mkrel 1 |
6 |
Summary: Command-line-driven multi-system emulator utilizing OpenGL and SDL |
7 |
Group: Emulators |
8 |
License: GPLv2+ |
9 |
URL: https://mednafen.github.io |
10 |
Source0: https://mednafen.github.io/releases/files/%{name}-%{version}.tar.xz |
11 |
|
12 |
BuildRequires: bison |
13 |
BuildRequires: musepack-devel |
14 |
BuildRequires: pkgconfig(alsa) |
15 |
BuildRequires: pkgconfig(jack) |
16 |
BuildRequires: pkgconfig(lzo2) |
17 |
BuildRequires: pkgconfig(libzstd) |
18 |
BuildRequires: pkgconfig(sdl2) |
19 |
BuildRequires: pkgconfig(sndfile) |
20 |
BuildRequires: pkgconfig(zlib) |
21 |
# Recommend a front-end (mednaffe or qmednafen) |
22 |
Recommends: mednafen-frontend |
23 |
|
24 |
%description |
25 |
Mednafen is a portable, command-line-driven multi-system emulator utilizing |
26 |
OpenGL and SDL. Mednafen has the ability to remap hotkey functions and |
27 |
virtual system inputs to a keyboard, a joystick, or both simultaneously. |
28 |
|
29 |
The following systems are supported: |
30 |
- Apple II/II+ |
31 |
- Atari Lynx |
32 |
- GameBoy (Color) |
33 |
- GameBoy Advance |
34 |
- Neo Geo Pocket (Color) |
35 |
- Nintendo Entertainment System |
36 |
- PC Engine/TurboGrafx 16 (CD) |
37 |
- PC-FX |
38 |
- Sega Game Gear |
39 |
- Sega Genesis/Megadrive |
40 |
- Sega Master System |
41 |
- Sega Saturn (experimental, x86_64 only) |
42 |
- Sony Playstation |
43 |
- Super Nintendo Entertainment System/Super Famicom |
44 |
- SuperGrafx |
45 |
- Virtual Boy |
46 |
- WonderSwan |
47 |
|
48 |
Warning: No GUI. |
49 |
|
50 |
%files -f %{name}.lang |
51 |
%doc ChangeLog TODO Documentation/* |
52 |
%{_bindir}/%{name} |
53 |
|
54 |
#-------------------------------------------------------------------- |
55 |
|
56 |
%prep |
57 |
%autosetup -p1 -n %{name} |
58 |
|
59 |
%build |
60 |
%configure --enable-psx \ |
61 |
--with-external-mpcdec \ |
62 |
--with-external-lzo \ |
63 |
--with-external-libzstd |
64 |
%make_build |
65 |
|
66 |
#TODO --with-external-tremor --with-external-trio |
67 |
|
68 |
%install |
69 |
%make_install |
70 |
|
71 |
# Clear doc folder from unneeded bits |
72 |
pushd Documentation |
73 |
rm -rf docgen.inc \ |
74 |
generate.sh \ |
75 |
Makefile* \ |
76 |
*.php |
77 |
popd |
78 |
|
79 |
%find_lang %{name} |