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

212 lines
5.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package retroarch
#
# Copyright (c) 2018 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 https://bugs.opensuse.org/
#
Name: retroarch
Version: 1.7.8.4
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
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
Source: https://github.com/libretro/RetroArch/archive/v%{version}.tar.gz
Patch0: retroarch-config.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: p7zip
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: systemd-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(flac)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libpulse)
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(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
# Shared data
Recommends: retroarch-joypad-autoconfig
Recommends: retroarch-assets
Recommends: libretro-core-info
Recommends: libretro-database
# Emulator cores
# ---------------- Atari ---------------
# Atari 2600
Recommends: libretro-stella
# Atari Lynx
Recommends: libretro-mednafen-lynx
# ---------------- MAME ----------------
# MAME2000 (0.37)
Recommends: libretro-mame2000
# -------------- Nintendo --------------
# Nintendo Entertainment System (NES)
Recommends: libretro-nestopia
# Super Nintendo Entertainment System (SNES)
Recommends: libretro-bsnes
# Nintendo 64 (N64)
Recommends: libretro-parallel-n64
# Nintendo GameCube (GC)
# Nintendo Wii (not fully working yet)
Recommends: libretro-dolphin
# Nintendo Game Boy Color (GBC)
Recommends: libretro-gambatte
# Nintendo Game Boy Advance (GBA)
Recommends: libretro-mgba
# Nintendo DS (NDS)
Recommends: libretro-desmume
# ---------------- Sega ----------------
# Sega Master System (SMS)
Recommends: libretro-genesis-plus-gx
# Sega Mega Drive (MD)
Recommends: libretro-genesis-plus-gx
# Sega Saturn (SS)
Recommends: libretro-yabause
# Sega Dreamcast (DC)
Recommends: libretro-flycast
# ---------------- Sony ----------------
# Sony PlayStation (PSX)
Recommends: libretro-pcsx_rearmed
# ---------------- Other ---------------
# Bandai WonderSwan
Recommends: libretro-mednafen-wswan
# PC Engine/TurboGrafx-16
Recommends: libretro-mednafen-pce-fast
# Neo Geo Pocket
Recommends: libretro-mednafen-ngp
%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}
%autopatch -p1
# Change /usr/lib/ to /usr/lib64/ on 64-bit platform
sed -i s~/usr/lib/~%{_libdir}/~g retroarch.cfg
%build
export CFLAGS="%{optflags}"
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 \
--enable-qt \
%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
%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.?*
%{_datadir}/doc/%{name}
%changelog