forked from pool/retroarch
- Updated to version 1.7.0 CHEEVOS: Add badges for achievements, shows thumbnail images of achievements. CHEEVOS: Leaderboard support. CHEEVOS: Only disable savestates on hardcore mode if achievements are not available. COMMANDLINE: Fix fullscreen toggle switch. COMMON: Add 'Automatically Load Content To Playlist' feature, enabled by default. COMMON: Fix slowmotion ratio always being reset back to 1. COMMON: Optimized NBIO implementations now for Apple, Windows, and Linux. Uses mmap for Linux/Windows/BSD if/when available. File I/O should now be much faster for loading images inside the menu. COMMON: Native Blissbox support now for latest firmware as of writing (2.0). Implementation through libusb and/or native Windows HID. COMMON: New lightgun API. COMMON: New VFS (Virtual File System) API. COMMON: Fixed some playlist bugs. COMMON: New snow shader. COMMON: Fix Quick Menu title, no longer shows 'Select File'. COMMON: Fix loading cores that require no content one after another. COMMON: Map Delete key to Y button for non-unified menu keyboard controls. COMMON: Fix for relative paths being normalised and generating a duplicate history entry. EMSCRIPTEN: Fix references to browserfs. FREEBSD: Support libusb HID input driver. HAIKU: Buildfix. INPUT: Map clear button to DEL key. LINUX/X11: Add RetroArch logo to window title bar. LINUX/X11: Input driver now supports new lightgun code. LINUX/X11: Support window transparency (requires a compositing window manager). LOBBIES: Fix for crash on join netplay rooms via touch / glui. LOCALIZATION: Update Italian translation. LOCALIZATION: Update Japanese translation. LOCALIZATION: Update Portuguese-Brazilian translation. LOCALIZATION: Update Polish translation. LOCALIZATION: Update Russian translation. MENU: Snowflake menu shader effect. OSX/PPC: Fix the GL2 renderchain, had to use EXT versions of framebuffer/renderbuffer functions. PS3: HTTP requests / downloads should now work. PS3: Core Updater now works. PS3: Improved font rendering, enable STB Unicode font renderer. PSP: Make it work with Vita's Adrenaline. PSP: Fix audio sync. PSP: Fix content loading, port should be functional again. PSP: Use 64MB when available. SCANNER: Fix crash from Windows-incompatible format string. VITA: Improve packaging, installation times. WIIU: Disabled the controller patcher for now since it was the source of many stability issues. VULKAN: Various stability fixes for WSI. WINDOWS: Add MSVC 2017 solution. WINDOWS: Get rid of the empty console window in MSVC 2010 builds. WINDOWS: Raw input driver now supports new lightgun code. WINDOWS: Use configured OSD/text message color on GDI driver. WINDOWS/XINPUT: Populate XInput VID/PID from DInput so autoconfig doesn't rely solely on joypad names WINDOWS/XINPUT: Fix crash that occurs in some situations with Steam running and a Steam Controller plugged in. WINDOWS: Improve version reporting under System Information. WINDOWS: Support window transparency. WINDOWS: Correct usage of GetWindowPlacement per MS docs, fixes game window position on Win95/98. WINDOWS: Added Visual Studio 2017 support. OBS-URL: https://build.opensuse.org/request/show/560586 OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=5
143 lines
4.0 KiB
RPMSpec
143 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package retroarch
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: retroarch
|
|
Version: 1.7.0
|
|
Release: 0
|
|
Summary: Emulator frontend
|
|
License: GPL-3.0
|
|
Url: http://www.retroarch.com
|
|
Group: Emulators
|
|
# From https://github.com/libretro/RetroArch/releases
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source9: %{name}.desktop
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: fdupes
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(gbm)
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xinerama)
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
BuildRequires: pkgconfig(xv)
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
BuildRequires: pkgconfig(libass)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
BuildRequires: pkgconfig(libv4l2)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(alsa)
|
|
BuildRequires: pkgconfig(jack)
|
|
BuildRequires: pkgconfig(libpulse)
|
|
BuildRequires: pkgconfig(openal)
|
|
BuildRequires: pkgconfig(sdl2)
|
|
BuildRequires: pkgconfig(SDL2_gfx)
|
|
BuildRequires: pkgconfig(SDL2_image)
|
|
BuildRequires: pkgconfig(SDL2_mixer)
|
|
BuildRequires: pkgconfig(SDL2_net)
|
|
BuildRequires: pkgconfig(SDL2_ttf)
|
|
BuildRequires: pkgconfig(zlib)
|
|
BuildRequires: python3-devel
|
|
BuildRequires: systemd-devel
|
|
BuildRequires: unzip p7zip
|
|
|
|
%if ( 0%{?suse_version} || 0%{?leap_version} )
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
BuildRequires: pkgconfig(libavdevice)
|
|
BuildRequires: pkgconfig(libavformat)
|
|
BuildRequires: pkgconfig(libavutil)
|
|
BuildRequires: pkgconfig(libswscale)
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: vulkan-devel
|
|
%endif
|
|
|
|
%description
|
|
RetroArch is a modular multi-system emulator system that is designed to be
|
|
fast, lightweight, and portable. It has features few other emulators frontends
|
|
have, such as real-time rewinding and game-aware shading.
|
|
|
|
%prep
|
|
%setup -q -n RetroArch-%{version}
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
export CXXFLAGS="$CFLAGS"
|
|
./configure --prefix=%{_prefix} \
|
|
--enable-materialui \
|
|
--enable-xmb \
|
|
--enable-sdl2 \
|
|
--enable-libusb \
|
|
--enable-udev \
|
|
--with-man_dir=%{_mandir} \
|
|
--enable-threads \
|
|
--enable-thread_storage \
|
|
--enable-ffmpeg \
|
|
--enable-ssa \
|
|
--enable-dylib \
|
|
--enable-networking \
|
|
--enable-networkgamepad \
|
|
--enable-opengl \
|
|
--enable-x11 \
|
|
--enable-xinerama\
|
|
--enable-kms \
|
|
--enable-wayland \
|
|
--enable-egl \
|
|
--enable-libxml2 \
|
|
--enable-zlib \
|
|
--enable-alsa \
|
|
--enable-al \
|
|
--enable-jack \
|
|
--enable-pulse \
|
|
--enable-freetype \
|
|
--enable-xvideo \
|
|
--enable-python \
|
|
--enable-v4l2 \
|
|
%ifarch x86
|
|
--enable-sse \
|
|
%endif
|
|
%if ( 0%{?suse_version} || 0%{?leap_version} )
|
|
--enable-vulkan \
|
|
%endif
|
|
--enable-7zip \
|
|
--enable-mmap
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/applications/
|
|
%if 0%{?suse_version}
|
|
%suse_update_desktop_file -r -G %{name} %{name} System Emulator
|
|
%endif
|
|
%fdupes %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%config(noreplace) %{_sysconfdir}/%{name}.cfg
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}-cg2glsl
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/%{name}.svg
|
|
%{_mandir}/man?/%{name}.?*
|
|
%{_mandir}/man?/%{name}-cg2glsl.?*
|
|
|
|
%changelog
|