2017-07-07 08:17:09 +02:00
|
|
|
#
|
|
|
|
# spec file for package retroarch
|
|
|
|
#
|
2018-10-29 09:57:56 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: retroarch
|
2019-09-30 08:02:44 +02:00
|
|
|
Version: 1.7.8.4
|
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
|
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
|
2019-09-30 08:02:44 +02:00
|
|
|
Source: https://github.com/libretro/RetroArch/archive/v%{version}.tar.gz
|
|
|
|
Patch0: retroarch-config.patch
|
|
|
|
|
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: systemd-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)
|
|
|
|
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)
|
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)
|
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
|
|
|
|
|
2019-09-30 08:02:44 +02:00
|
|
|
# Shared data
|
|
|
|
Recommends: retroarch-joypad-autoconfig
|
|
|
|
Recommends: retroarch-assets
|
|
|
|
Recommends: libretro-core-info
|
|
|
|
Recommends: libretro-database
|
|
|
|
|
|
|
|
# Emulator cores
|
|
|
|
# Nintendo Entertainment System (NES)
|
|
|
|
Recommends: libretro-nestopia
|
|
|
|
# Super Nintendo Entertainment System (SNES)
|
|
|
|
Recommends: libretro-bsnes
|
|
|
|
# Nintendo Game Boy Advance (GBA)
|
|
|
|
Recommends: libretro-mgba
|
|
|
|
# Nintendo Game Boy Color (GBC)
|
|
|
|
Recommends: libretro-gambatte
|
|
|
|
|
2017-07-07 08:17:09 +02:00
|
|
|
%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
|
|
|
|
2019-09-30 08:02:44 +02:00
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
# Change /usr/lib/ to /usr/lib64/ on 64-bit platform
|
|
|
|
sed -i s~/usr/lib/~%{_libdir}/~g retroarch.cfg
|
|
|
|
|
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-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-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 \
|
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 \
|
|
|
|
--enable-mmap
|
2018-10-29 09:57:56 +01:00
|
|
|
make %{?_smp_mflags}
|
2017-07-07 08:17:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%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.?*
|
2018-10-29 09:57:56 +01:00
|
|
|
%{_datadir}/doc/%{name}
|
2017-07-07 08:17:09 +02:00
|
|
|
|
|
|
|
%changelog
|