2017-07-07 08:17:09 +02:00
|
|
|
#
|
|
|
|
# spec file for package retroarch
|
|
|
|
#
|
- Update to version 1.15.0
* AI SERVICE: Fix NVDA switching to Powershell on speak
* AUTOMATIC FRAME DELAY: Helped delay to decrease easier when it should and helped delay to stay put when it should when triggering pause & menu with or without pause & fast-forward & slow-motion & geometry change
* AUTOMATIC FRAME DELAY: Recalibrate delay on video reinit (fullscreen toggle and such)
* AUTOMATIC FRAME DELAY: Show (x effective) only in menu item and not in dropdown list items when auto is enabled
* CHEEVOS: Allow repositioning of RetroAchievement notifications
* CHEEVOS/MENU: Add Achievements Visibility submenu option
* CHEEVOS/MENU: Startup Summary split off from Verbose Mode, added option to hide for games with zero core cheevos
* CHEEVOS/MENU: 'Unlocks/Mastery' split into two options
* CHEEVOS/MENU: 'Account/Login Messages' split off from 'Verbose', gated all login success/error messages
* CONFIG/INPUT: Unload restores current global config
* CONFIG/INPUT/OVERRIDES: Removing a file does not unload current override
* CONFIG/INPUT/OVERRIDES: Saving an empty override removes the file if it exists, and won't save when it does not
* CONFIG/INPUT/OVERRIDES: Prevent the use of RUNLOOP_FLAG_OVERRIDES_ACTIVE with appendconfig
* CORE OPTION: Core option setting type checks. Added checks for getting and setting core option type, since otherwise there will be a crash on close content after browsing to core option categories. Also fixed the no-show switch icon for lone wolf "Lock Installed Core".
* CLI: Update selected save slot when start with cli --entryslot
* CLI: Decouple config CLI append and config overrides
* CLI/MENU/XMB: Stop showing bogus previous icon on CLI launch
* EMSCRIPTEN: Add HAVE_PATCH support for Emscripten
* EMSCRIPTEN: Add BSV/Replay support for Emscripten
* EMSCRIPTEN: Add command and stdin_cmd features to emscripten RA. update libretro.js to show how commands could be sent over emscripten stdin.
* FRAME DELAY/MENU: Show Frame Delay without VSync
* GENERAL: Start unpause restriction. Limit the feature using retropad start button to unpause RA to the setting it was made for; "pause on controller disconnect".
* GENERAL: Savestate thumbnail aspect ratio fallback. Thanks to at least one certain core that announces aspect ratio as 0, we have to add the same fallback in savestate thumbnails that is happening elsewhere in normal video driver use anyway.
* GENERAL: Add support for system subdirs per core/database. Added the trivial and graceful automatic ability to send a different system directory to cores if it exists, for keeping the system dir more sane. First by using the core/library name just like in configs and saves, and then by playlist name, like in thumbnails, and of course default to the current global system dir.
* GENERAL: Ignore system subdir replacement if subdir has subdirs.
* GENERAL: Restore cached video driver always on quit
* LATENCY/PREEMPTIVE FRAMES: Add Preemptive Frames to Latency Settings. RunAhead alternative that reruns core logic to "rewrite history" before the current frame. Frames are only rerun when the controller state changes, so it's faster overall.
* LATENCY/PREEMPTIVE FRAMES: Call retro_run before retro_serialize (#14893). Fixes preemptive frames not starting up with a few cores
* LIBRETRO-COMMON/VFS/FILESTREAM: Fixes filestream_vscanf regression
OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=75
2023-03-20 16:38:50 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2017-07-07 08:17:09 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-29 09:57:56 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-07-07 08:17:09 +02:00
|
|
|
#
|
|
|
|
|
2020-04-06 09:57:01 +02:00
|
|
|
|
2017-07-07 08:17:09 +02:00
|
|
|
Name: retroarch
|
2023-10-10 16:40:23 +02:00
|
|
|
Version: 1.16.0.3
|
2017-07-07 08:17:09 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Emulator frontend
|
2018-10-29 09:57:56 +01:00
|
|
|
License: GPL-3.0-only
|
2018-06-26 08:31:32 +02:00
|
|
|
Group: System/Emulators/Other
|
2018-10-29 09:57:56 +01:00
|
|
|
URL: http://www.retroarch.com
|
2022-02-19 11:16:19 +01:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Source1: %{name}_migrate_old_config.py
|
2019-09-30 08:02:44 +02:00
|
|
|
|
2017-07-07 08:17:09 +02:00
|
|
|
BuildRequires: fdupes
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: p7zip
|
2017-07-07 08:17:09 +02:00
|
|
|
BuildRequires: pkgconfig
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: unzip
|
2019-09-02 15:17:51 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
2019-09-02 15:17:51 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(SDL2_gfx)
|
|
|
|
BuildRequires: pkgconfig(SDL2_image)
|
|
|
|
BuildRequires: pkgconfig(SDL2_mixer)
|
|
|
|
BuildRequires: pkgconfig(SDL2_net)
|
|
|
|
BuildRequires: pkgconfig(SDL2_ttf)
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
2019-11-02 15:35:49 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: pkgconfig(flac)
|
2017-07-07 08:17:09 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: pkgconfig(jack)
|
2017-07-07 08:17:09 +02:00
|
|
|
BuildRequires: pkgconfig(libass)
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2020-02-03 21:36:53 +01:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2017-07-07 08:17:09 +02:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
|
|
BuildRequires: pkgconfig(libv4l2)
|
|
|
|
BuildRequires: pkgconfig(openal)
|
|
|
|
BuildRequires: pkgconfig(sdl2)
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xinerama)
|
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
|
|
BuildRequires: pkgconfig(xv)
|
2019-11-07 01:19:06 +01:00
|
|
|
BuildRequires: pkgconfig(xxf86vm)
|
2017-07-07 08:17:09 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
%if ( 0%{?suse_version} || 0%{?leap_version} )
|
2018-10-29 09:57:56 +01:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: vulkan-devel
|
2017-07-07 08:17:09 +02:00
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
BuildRequires: pkgconfig(libavdevice)
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
BuildRequires: pkgconfig(libavutil)
|
|
|
|
BuildRequires: pkgconfig(libswscale)
|
|
|
|
%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
|
2020-01-22 12:09:14 +01:00
|
|
|
%setup -q
|
2017-07-07 08:17:09 +02:00
|
|
|
|
2020-05-23 11:31:45 +02:00
|
|
|
# Change /usr/bin/env python to /usr/bin/python
|
|
|
|
sed -i s~%{_bindir}/env\ python~%{_bindir}/python~g tools/cg2glsl.py
|
2019-09-30 08:02:44 +02:00
|
|
|
|
2017-07-07 08:17:09 +02:00
|
|
|
%build
|
2018-10-29 09:57:56 +01:00
|
|
|
export CFLAGS="%{optflags}"
|
2017-07-07 08:17:09 +02:00
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
./configure --prefix=%{_prefix} \
|
|
|
|
--enable-materialui \
|
|
|
|
--enable-xmb \
|
|
|
|
--enable-sdl2 \
|
|
|
|
--enable-udev \
|
|
|
|
--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-zlib \
|
|
|
|
--enable-alsa \
|
|
|
|
--enable-al \
|
|
|
|
--enable-jack \
|
|
|
|
--enable-pulse \
|
|
|
|
--enable-freetype \
|
|
|
|
--enable-xvideo \
|
|
|
|
--enable-v4l2 \
|
2018-08-08 01:04:08 +02:00
|
|
|
--enable-qt \
|
2019-11-02 15:35:49 +01:00
|
|
|
--enable-dbus \
|
2017-07-07 08:17:09 +02:00
|
|
|
%ifarch x86
|
|
|
|
--enable-sse \
|
|
|
|
%endif
|
|
|
|
%if ( 0%{?suse_version} || 0%{?leap_version} )
|
|
|
|
--enable-vulkan \
|
|
|
|
%endif
|
|
|
|
--enable-7zip \
|
2021-07-12 17:23:27 +02:00
|
|
|
--enable-mmap
|
2018-10-29 09:57:56 +01:00
|
|
|
make %{?_smp_mflags}
|
2017-07-07 08:17:09 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2022-02-19 11:16:19 +01:00
|
|
|
install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/%{name}_migrate_old_config
|
2017-07-07 08:17:09 +02:00
|
|
|
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
2022-02-19 11:16:19 +01:00
|
|
|
%post
|
|
|
|
%{_bindir}/%{name}_migrate_old_config
|
|
|
|
|
2017-07-07 08:17:09 +02:00
|
|
|
%files
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.cfg
|
|
|
|
%{_bindir}/%{name}
|
2022-02-19 11:16:19 +01:00
|
|
|
%{_bindir}/%{name}_migrate_old_config
|
2017-07-07 08:17:09 +02:00
|
|
|
%{_bindir}/%{name}-cg2glsl
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2020-08-08 10:09:27 +02:00
|
|
|
%{_datadir}/metainfo/com.libretro.*.xml
|
2017-07-07 08:17:09 +02:00
|
|
|
%{_datadir}/pixmaps/%{name}.svg
|
|
|
|
%{_mandir}/man?/%{name}.?*
|
|
|
|
%{_mandir}/man?/%{name}-cg2glsl.?*
|
2018-10-29 09:57:56 +01:00
|
|
|
%{_datadir}/doc/%{name}
|
2017-07-07 08:17:09 +02:00
|
|
|
|
|
|
|
%changelog
|