SHA256
1
0
forked from pool/retroarch
retroarch/retroarch.spec

151 lines
4.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package retroarch
#
- Update to version 1.10.0 * ARCHIVE: Allow loading files from archive subdirectory * AUDIO: Remove frame limit from audio batch callback. Before, if a core used the audio batch callback, there would be a hidden cap of 1024 on the number of audio frames that could be sent. If a core exceeded this value, any excess samples were silently discarded. While this is sufficient for 'normal' samplerates/ framerates, it means that e.g. a core using the batch callback to send 44100 Hz audio at 30 fps with would have entirely broken sound. This has been fixed by removing the audio batch frame limit. * AUDIO/RESAMPLER/NEON: Implement sinc kaiser NEON function * CHEEVOS: Reset hardcore default to enabled; show message when trying to load state in hardcore * CHEEVOS: Fix memory map conversion * CHEEVOS: Check netplay status when unlocking achievements * CHEEVOS: Support for hashing buffered NDS ROMs * CHEEVOS: Fix hung task whe badge doesn't exist * CLI: Load save states from command-line or playlist * CORE INFO CACHE/SETTINGS: Restore missing 'Cache Core Info Files' menu entry * DATABASE: Serial scanning for Gamecube/MegaCD/SegaCD/Saturn/PSX /PSP/Dreamcast/Wii * EMSCRIPTEN: Add Jaxe, WASM4 cores * FILE IO: Fix incorrect file names for remap files when the content path doesn't have a preceding slash * INPUT/OVERLAY: Added support for showing the overlay behind the menu instead of in front. This is currently only supported on the GL, Vulkan, D3D 9/10/11/12 and 3DS drivers. * INPUT/UDEV: Convert abs mouse from screen to viewport coordinates; fix relative mouse coords OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=57
2022-02-19 05:16:07 +01:00
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: retroarch
- Update to version 1.14.0 * AUDIO/COREAUDIO/APPLE: Allow coreaudio3 driver to work with audio devices that have 2 or more output channels * CHEEVOS: Fix construction of Cheevos badge path * CLI: Fixed not getting any output when running --version or --features without --verbose * CLI: Fixed crash when running empty - parameter (it proceeded to content loading) * CLI: Reformatted --features to require less rows and to be more consistent * CLI: Added -V shorthand for --version * CLI: Tab removal + whitespace nits * CONFIG/MIDI: Prevent MIDI startup error with old configurations * DATABASE/EXPLORE/VIEW: Bugfix - RGUI did not clear thumbnail on non-playlist items such as Save and Delete menu_explore_get_entry_playlist_index() returns -1 on invalid entries, but the variable where it was stored was unsigned * DATABASE/EXPLORE/VIEW: Bugfix - XMB+Ozone cleared thumbnail in Quick Menu when navigating away from Run * FASTFORWARD: Restore framelimit on fastforward toggle. Fast-forward was broken after toggling vrr_runloop off, since it will force frame limit to 1.0 (even on every frame) and never restores it. So let's make sure the wanted ratio is applied when toggling FF (Fastforward). * FFMPEG CORE: Fix runtime error in FFmpeg core when build with FFmpeg n5.1.2 and OpenGL ES * GFX/VIDEO FILTERS: (picoscale_256x_320x240) Added snn function to upscale Fuse (ZX Spectrum) core borderless output to 320x240. ZX Spectrum resolution of 256x192 was previously unsupported. * HOTKEYS: Further reorder internal hotkey items for consistency and removed SEND_DEBUG_INFO, OVERLAY_NEXT and OSK from visible hotkey bind list. "Send Debug Info" stuff is removed as much as possible without breakage due to translation files. * INPUT/AUTOCONFIG: Disable 'pause on controller disconnect' by default - was enabled by default on 1.13.0 * INPUT/MENU: Device Index menu refactor * INPUT/OVERLAY: Fix analog drift blocking touch input (could occur on overlay_next if physical inputs shown on overlay) * INPUT/OVERLAY: Fix overlay_next buttons lighting up in unison * INPUT/OVERLAY: Skip meta keys in input_overlay_add_inputs (not supported by input_state_internal) * LEAPFROG: Add Leapfrog (LFx000) Target * LOCALIZATION: Updates * LOCALIZATION/INPUT/IME/MENU/ONSCREEN KEYBOARD: Extended IME and Korean OSK * MENU: Cleanup of help texts * MENU: Allow toggling info off with the same button * MENU: Allow menu wallpaper/background reset. Let's also remove the current wallpaper from the screen when pressing Start. * MENU: Null driver shows with different color (Added for all menus the ability to show "disabled" items with a muted color) * MENU/DRIVERS: Menu driver first, Audio Resampler removed because it is enough to exist under audio settings * MENU/INPUT: Moved "Confirm Quit" to Input menu OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=73
2022-12-17 15:51:38 +01:00
Version: 1.14.0
Release: 0
Summary: Emulator frontend
License: GPL-3.0-only
Accepting request 619020 from home:bmanojlovic:branches:Emulators added source this time :) - update to version 1.7.3 - AUDIO: Audio mixer supports FLAC/MP3 file types now! - COMMON: Fixed bug 'crashing in cores that don't range check retro_set_controller_type'. Some people were having crashes when device is set to RETRO_DEVICE_NONE and the cores don't check the number of ports, in VBAM's case it was overflowing and crashing. QuickNES was crashing too. - COMMON: Fixed buffer overflow in url encoding (affecting MSVC2010/2013). - COMMON: (QuickMenu) Added Configuration Override submenu. - HID: Merge new HID subsystem. - HID: Fix WaveBird support for the Wii U GCA. - HID/OSX: Fix regression with IODHIDManager - gamepads which are connected later would not be autoconfigured. - LOCALIZATION: Update Italian translation. - LOCALIZATION: Update Japanese translation. - LOCALIZATION: Update Portuguese translation. - MENU: New WIMP Qt GUI! - MENU: Audio mixer now works in the menu without any cores loaded. You have to enable the setting 'Enable menu audio' for this to work. - REMAPPING/OVERLAYS: Fix regression - overlays could no longer be remapped. - SCANNER: Add Wii Backup File WBFS support. - X11: CRT SwitchRes support for X11/Linux. - ANDROID/OPENSL: Prevent crashes when setting audio latency too low (buffer count can never be lower than 2 now). - CRT: Added CRT SwitchRes. - COMMON: Hide the 'Core delete' option if the 'Core updater' is also hidden. - COMMON: Add way to reset core association for playlist entry. - COMMON: Fix invalid long command line options causing infinite loop on Windows - COMMON: Add OSD statistics for video/audio/core. - COMMON: Added runahead system; allows you to drive down latency even further. OBS-URL: https://build.opensuse.org/request/show/619020 OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=7
2018-06-26 08:31:32 +02:00
Group: System/Emulators/Other
URL: http://www.retroarch.com
Source0: %{name}-%{version}.tar.gz
Source1: %{name}_migrate_old_config.py
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: p7zip
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: unzip
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
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)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
%if ( 0%{?suse_version} || 0%{?leap_version} )
BuildRequires: update-desktop-files
BuildRequires: vulkan-devel
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
%setup -q
# Change /usr/bin/env python to /usr/bin/python
sed -i s~%{_bindir}/env\ python~%{_bindir}/python~g tools/cg2glsl.py
%build
export CFLAGS="%{optflags}"
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 \
--enable-qt \
--enable-dbus \
%ifarch x86
--enable-sse \
%endif
%if ( 0%{?suse_version} || 0%{?leap_version} )
--enable-vulkan \
%endif
--enable-7zip \
--enable-mmap
make %{?_smp_mflags}
%install
%make_install
install -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/%{name}_migrate_old_config
%fdupes %{buildroot}
%post
%{_bindir}/%{name}_migrate_old_config
%files
%config(noreplace) %{_sysconfdir}/%{name}.cfg
%{_bindir}/%{name}
%{_bindir}/%{name}_migrate_old_config
%{_bindir}/%{name}-cg2glsl
%{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/com.libretro.*.xml
%{_datadir}/pixmaps/%{name}.svg
%{_mandir}/man?/%{name}.?*
%{_mandir}/man?/%{name}-cg2glsl.?*
%{_datadir}/doc/%{name}
%changelog