2017-07-07 08:17:09 +02:00
|
|
|
#
|
|
|
|
# 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
|
2018-06-26 08:31:32 +02:00
|
|
|
Version: 1.7.3
|
2017-07-07 08:17:09 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Emulator frontend
|
|
|
|
License: GPL-3.0
|
|
|
|
Url: http://www.retroarch.com
|
2018-06-26 08:31:32 +02:00
|
|
|
Group: System/Emulators/Other
|
Accepting request 556755 from home:itxaka:branches:Emulators
Remove non valid flag "--with-fbo"
Add the source from the source file in the spec file
Updated to version 1.6.9, see changes below:
Changes from 1.6.9:
COMMON: Small memory leak.
NETPLAY: Fix network command only working once.
Changes from 1.6.8:
Audio: Fix the Audio DSP picker
CHEEVOS: Add support for Atari Lynx cheevos.
CHEEVOS: Add support for RetroAchievements Leaderboards.
GUI: (MaterialUI) Fix crash that happened on context reset with Vulkan.
GUI: (MaterialUI) Skip querying and drawing items that are not visible; Cache content height and bbox calculation.
GUI: (MaterialUI) Fix entry box highlight calculation.
GUI: (XMB) Skip drawing the fading list when it is already transparent. Optimization.
GUI: (XMB) Comment out visible item calculation in xmb_draw_items().
GUI: (RGUI) Prevent crashes when using a non-English language reliant on UTF8.
GUI: Add menu option for OSD background color.
GUI: Add menu option for OSD text color.
GUI: Add menu option to remove frame count from OSD.
GUI: Allow wraparound of int/float settings when pressing the left key
INPUT/LIBRETRO: Add support for more mouse buttons (buttons 4/5)
INPUT/LIBRETRO: Add support for analog buttons
INPUT: Always show the controls menu even if descriptors are not set
INPUT: Fix input descriptors not being set on cores that don't implement the controllers interface
INPUT: Apply descriptors only for the amount of cores the core supports
INPUT: Implement keyboard to gamepad input remapping (limited to one gamepad device for now)
INPUT: Fix absolute mouse move handling on the winraw driver
INPUT: Ignore keyboard input if window is not active on udev driver
INPUT: Sanitize the filenames of autoconfig profiles before saving
LOBBIES: Fix crash on navigating left / right from the lobby menu
LOCALIZATION: Update Dutch translation
LOCALIZATION: Update Italian translation.
LOCALIZATION: Update Japanese translation.
LOCALIZATION: Update Portuguese-Brazilian translation.
LOCALIZATION: Update Russian translation.
LINUX/ARMHF: Set buildbot updater URL to armhf location instead of blank string
LINUX/PI: Broadcom VC4: Add Videocore config option
LINUX/UDEV: Fix - RetroArch reads keyboard input when not focused with the udev input driver.
NETPLAY: Fix disconnection not fully deinitializing Netplay.
NETPLAY: Fix lan rooms when there is more than one room
NETPLAY: Fix lan rooms on systems where all addresses are treated as IPv6
COMMON: Fix clear/free loop conditionals in playlists.
WINDOWS/GDI: Fix flickering of text.
WINDOWS/GDI: Fix graphics corruption on Windows 98
WINDOWS/GDI: Allow compiling without DirectInput8 for NT support
WINDOWS/WGL: Try to use wglSwapLayerBuffers instead of SwapBuffers if possible (for more optimal performance).
WINDOWS: Fix menubar text corruption on Japanese locale systems
WINDOWS: Support Unicode file I/O (can now display CJK characters in file browser for example).
WINDOWS: Support Windows 95, NT3.51, NT4
WINDOWS: add Makefile.griffin targets for msvc6,2003,2005,2010,2012,2013
WII: Use custom, embedded libogc SDK.
WIIU: Initial touchscreen support for WiiU gamepad.
WIIU: Add Cheevos support.
SCANNER: Fix archive scanning.
SCANNER: Support CHD files.
SCANNER: Support Gamecube ISO scanning.
SCANNER: Use primary data track of disc images for CRC lookups rather than cue files. This is slower but finds matches more reliably, and is necessary for CHD files to work at all. Update your databases!
SCANNER: Fall back on looking inside archives when matching MAME/FBA content (most recent cores only). If you had difficulty with content being detected before, you may have better luck now. Update your databases and core info!
OBS-URL: https://build.opensuse.org/request/show/556755
OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=4
2017-12-14 08:32:33 +01:00
|
|
|
# From https://github.com/libretro/RetroArch/releases
|
2018-06-26 08:31:32 +02:00
|
|
|
Source0: https://github.com/libretro/RetroArch/releases/download/v%{version}/RetroArch-%{version}.tar.xz
|
2017-07-07 08:17:09 +02:00
|
|
|
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
|
Accepting request 556755 from home:itxaka:branches:Emulators
Remove non valid flag "--with-fbo"
Add the source from the source file in the spec file
Updated to version 1.6.9, see changes below:
Changes from 1.6.9:
COMMON: Small memory leak.
NETPLAY: Fix network command only working once.
Changes from 1.6.8:
Audio: Fix the Audio DSP picker
CHEEVOS: Add support for Atari Lynx cheevos.
CHEEVOS: Add support for RetroAchievements Leaderboards.
GUI: (MaterialUI) Fix crash that happened on context reset with Vulkan.
GUI: (MaterialUI) Skip querying and drawing items that are not visible; Cache content height and bbox calculation.
GUI: (MaterialUI) Fix entry box highlight calculation.
GUI: (XMB) Skip drawing the fading list when it is already transparent. Optimization.
GUI: (XMB) Comment out visible item calculation in xmb_draw_items().
GUI: (RGUI) Prevent crashes when using a non-English language reliant on UTF8.
GUI: Add menu option for OSD background color.
GUI: Add menu option for OSD text color.
GUI: Add menu option to remove frame count from OSD.
GUI: Allow wraparound of int/float settings when pressing the left key
INPUT/LIBRETRO: Add support for more mouse buttons (buttons 4/5)
INPUT/LIBRETRO: Add support for analog buttons
INPUT: Always show the controls menu even if descriptors are not set
INPUT: Fix input descriptors not being set on cores that don't implement the controllers interface
INPUT: Apply descriptors only for the amount of cores the core supports
INPUT: Implement keyboard to gamepad input remapping (limited to one gamepad device for now)
INPUT: Fix absolute mouse move handling on the winraw driver
INPUT: Ignore keyboard input if window is not active on udev driver
INPUT: Sanitize the filenames of autoconfig profiles before saving
LOBBIES: Fix crash on navigating left / right from the lobby menu
LOCALIZATION: Update Dutch translation
LOCALIZATION: Update Italian translation.
LOCALIZATION: Update Japanese translation.
LOCALIZATION: Update Portuguese-Brazilian translation.
LOCALIZATION: Update Russian translation.
LINUX/ARMHF: Set buildbot updater URL to armhf location instead of blank string
LINUX/PI: Broadcom VC4: Add Videocore config option
LINUX/UDEV: Fix - RetroArch reads keyboard input when not focused with the udev input driver.
NETPLAY: Fix disconnection not fully deinitializing Netplay.
NETPLAY: Fix lan rooms when there is more than one room
NETPLAY: Fix lan rooms on systems where all addresses are treated as IPv6
COMMON: Fix clear/free loop conditionals in playlists.
WINDOWS/GDI: Fix flickering of text.
WINDOWS/GDI: Fix graphics corruption on Windows 98
WINDOWS/GDI: Allow compiling without DirectInput8 for NT support
WINDOWS/WGL: Try to use wglSwapLayerBuffers instead of SwapBuffers if possible (for more optimal performance).
WINDOWS: Fix menubar text corruption on Japanese locale systems
WINDOWS: Support Unicode file I/O (can now display CJK characters in file browser for example).
WINDOWS: Support Windows 95, NT3.51, NT4
WINDOWS: add Makefile.griffin targets for msvc6,2003,2005,2010,2012,2013
WII: Use custom, embedded libogc SDK.
WIIU: Initial touchscreen support for WiiU gamepad.
WIIU: Add Cheevos support.
SCANNER: Fix archive scanning.
SCANNER: Support CHD files.
SCANNER: Support Gamecube ISO scanning.
SCANNER: Use primary data track of disc images for CRC lookups rather than cue files. This is slower but finds matches more reliably, and is necessary for CHD files to work at all. Update your databases!
SCANNER: Fall back on looking inside archives when matching MAME/FBA content (most recent cores only). If you had difficulty with content being detected before, you may have better luck now. Update your databases and core info!
OBS-URL: https://build.opensuse.org/request/show/556755
OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=4
2017-12-14 08:32:33 +01:00
|
|
|
%setup -q -n RetroArch-%{version}
|
2017-07-07 08:17:09 +02:00
|
|
|
|
|
|
|
%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
|
2018-06-26 08:31:32 +02:00
|
|
|
%dir %{_datadir}/%{name}/
|
|
|
|
%dir %{_datadir}/%{name}/assets/
|
|
|
|
%dir %{_datadir}/%{name}/assets/xmb/
|
|
|
|
%dir %{_datadir}/%{name}/assets/glui/
|
|
|
|
%{_datadir}/%{name}/assets/glui/
|
|
|
|
%{_datadir}/%{name}/assets/xmb/
|
2017-07-07 08:17:09 +02:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}.svg
|
|
|
|
%{_mandir}/man?/%{name}.?*
|
|
|
|
%{_mandir}/man?/%{name}-cg2glsl.?*
|
Accepting request 591026 from home:itxaka:branches:Emulators
- Updated to version 1.7.1
– 3DS: Now correctly reports amount of CPU cores.
– 3DS: Frontend rating is now correctly implemented for both New 3DS/2DS and Old 3DS/2DS.
– 3DS: Initial networking support, HTTP requests won’t work yet.
– 3DS: Now reports memory and battery state.
– AUDIO: Added ‘Audio Resampler Quality’ setting to Audio Settings. Setting this higher will increase sound quality at the expense of sound latency and/or performance. Setting this value lower will improve sound latency/performance at the expense of sound quality. Only has an effect if the Sinc resampler is used, and you have to restart the game for changes to take effect.
– CHEEVOS: Fix unofficial achievements not being loaded.
– CHEEVOS: Show savestate menu entries when no achievements are found even if hardcore mode is enabled.
– CHEEVOS: Support Neo Geo Pocket.
– COMMON: Bugfix for issue related to ‘Windows mouse pointer visible when running MESS or MAME cores’.
– COMMON: Fix bug ‘Last item in a Playlist is ignored’.
– COMMON: New LED API. Driver implemented for Raspberry Pi, proof of concept implemented for core MAME 2003.
– COMMON: Add quick menu option to watch shader files for changes and recompile them automatically (Linux only for now).
– D3D8: Direct3D 8 can now work on systems that have Direct3D 8 installed.
– D3D9: Add menu support for MaterialUI/XMB.
– D3D10: Initial video driver implementation.
– D3D11: Initial video driver implementation.
– D3D11: SPIRV-Cross/slang shader support for D3D11.
– D3D12: Initial video driver implementation.
– DINPUT: don’t reinitialize input driver on network events / media insertion / network drive connection
– INPUT: show friendly names when available under input binds and system information
– INPUT: show the config name when available under system information
– GUI: Allow changing menu font color.
– GUI: Menu visibility options for RGUI and MaterialUI.
– GUI/MaterialUI: Works now with D3D8, D3D9 Cg, D3D11 and D3D12 drivers.
– GUI/XMB: Add Monochrome Inverted icon theme.
– GUI/XMB: Allow changing menu scale to 200%.
– GUI/XMB: Works now with D3D8, D3D9 Cg, D3D11 and D3D12 drivers. Menu shader effects currently don’t work on D3D8/D3D9 Cg.
– HAIKU: Restored port.
– KEYMAPPER: prevent a condition that caused input_menu_toggle to stop working when a RETRO_DEVICE_KEYBOARD type device is enabled
– GL: ignore hard gpu sync when fast-forwarding
– IOS10/11: Handle hardware keyboards and iCade controllers
– LOCALIZATION: Update Italian translation.
– LOCALIZATION: Update Japanese translation.
– LOCALIZATION: Update Portuguese-Brazilian translation.
– LOCALIZATION: Update Spanish translation.
– NETPLAY: Add menu option to select different MITM (relay) server locations.
– OSX: Modify HID buttons detection algorithm.
– QB: Added –datarootdir.
– QB: Added –bindir and –mandir and deprecated –with-bin_dir and –with-man_dir.
– QB: Added –docdir.
– SHADERS: Allow saving of shader presets based on the parent directory (Saving one for */foo/bar/mario.sfc* would result in *shaders/presets/corename/bar.ext*). We decided it’s safer to still isolate the presets to a single core because different cores may treat video output differently.
– SHADERS: Don’t save the path to the current preset to the main config. This was causing weird behavior, instead it will try to load *currentconfig.ext* and it will save a preset with that name when select *apply shader preset*. The resulting shader will restore properly after restarting and even after core/parent/game specific presets are loaded
– SOLARIS: Initial port.
– SWITCH: Initial Nintendo Switch port, based on libtransistor SDK.
– PS3: Enable Cheevos.
– PSP: Enable threading support through pthreads.
– SHADERS: SPIRV-Cross/slang shader support for D3D11.
– SHIELD ATV: Allow the remote / gamepad takeover hack to work with the 2017 gamepad
– SUBSYSTEM: Subsystem saves now respect the save directory
– SUBSYSTEM: You can now load subsystem games from the menu (see https://github.com/libretro/RetroArch/pull/6282 for caveats)
– VULKAN: Fix swapchain recreation bug on Nvidia GPUs with Windows 10 (resolved in Windows Nvidia driver version 390.77).
– WINDOWS: Improved Unicode support (for cores/directory creation and 7zip archives).
– WINDOWS: Show progress meter on taskbar for downloads (Windows 7 and up).
– WINDOWS: WS_EX_LAYERED drastically decreases performance, so only set it when needed (transparency in windowed mode).
– WIIU: Overlay support.
– WIIU: Transparency support in menu + overlays.
– WIIU: Increased stability during core switching.
– WIIU: Shader support.
– WIIU: Menu shader effects added (shaders).
– WIIU: Add missing time/clock support. (also fixes RTC [Real Time Clock] in Gambatte)
– XBOX OG: Restored port.
OBS-URL: https://build.opensuse.org/request/show/591026
OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=6
2018-03-28 10:29:30 +02:00
|
|
|
%{_prefix}/share/doc/%{name}
|
2017-07-07 08:17:09 +02:00
|
|
|
|
|
|
|
%changelog
|