SHA256
1
0
forked from pool/retroarch

Accepting request 733946 from home:guoyunhe:branches:Emulators

- Update retroarch-config.patch
  * Disable menu_show_online_updater because thumbnails will be
    downloaded on demand and all other content should be provided
    by RPM packages
  * Set rgui_browser_directory to user home instead of system root
  * Enable network_on_demand_thumbnails option
  * Set system_directory so we can package some core system files
- Recommends:
  * libretro-core-info
  * libretro-database
  * libretro-nestopia
  * libretro-bsnes
  * libretro-mgba
  * libretro-gambatte
- Add retroarch-config.patch to disable in-app updates and enable
  system assets directory
- Remove retroarch.desktop because it is already in source tarball
- Update to 1.7.8.4
  * Update AndroidManifest.xml
- Update to 1.7.8.3
  * Update CHANGES.md
- Update to 1.7.8.2
  * Update CHANGES.md
- Recommend retroarch-joypad-autoconfig and retroarch-assets

OBS-URL: https://build.opensuse.org/request/show/733946
OBS-URL: https://build.opensuse.org/package/show/Emulators/retroarch?expand=0&rev=15
This commit is contained in:
Klaus Kämpf 2019-09-30 06:02:44 +00:00 committed by Git OBS Bridge
parent 4cd352895a
commit 9cfed0ab23
6 changed files with 158 additions and 20 deletions

90
retroarch-config.patch Normal file
View File

@ -0,0 +1,90 @@
diff -rub retroarch.orig/retroarch.cfg retroarch/retroarch.cfg
--- retroarch.orig/retroarch.cfg 2019-09-22 11:58:01.000000000 +0300
+++ retroarch/retroarch.cfg 2019-09-30 01:41:33.205860011 +0300
@@ -639,10 +639,10 @@
#### Menu
# If disabled, will hide 'Online Updater' inside the menu.
-# menu_show_online_updater = true
+menu_show_online_updater = false
# If disabled, will hide the ability to update cores (and core info files) inside the menu.
-# menu_show_core_updater = true
+menu_show_core_updater = false
# If disabled, the libretro core will keep running in the background when we
# are in the menu.
@@ -764,14 +764,14 @@
# Sets the System/BIOS directory.
# Implementations can query for this directory to load BIOSes, system-specific configs, etc.
-# system_directory =
+system_directory = /usr/share/libretro/system
# Save all downloaded files to this directory.
# core_assets_directory =
# Assets directory. This location is queried by default when menu interfaces try to look for
# loadable assets, etc.
-# assets_directory =
+assets_directory = /usr/share/libretro/assets
# Dynamic wallpapers directory. The place to store the wallpapers dynamically
# loaded by the menu depending on context.
@@ -781,31 +781,31 @@
# thumbnails_directory =
# File browser directory. Sets start directory for menu file browser.
-# rgui_browser_directory =
+rgui_browser_directory = ~/
# Core directory for libretro core implementations.
-# libretro_directory =
+libretro_directory = /usr/lib/libretro
# Core info directory for libretro core information.
-# libretro_info_path =
+libretro_info_path = /usr/share/libretro/info
# Path to content database directory.
-# content_database_path =
+content_database_path = /usr/share/libretro/database/rdb
# Saved queries are stored to this directory.
-# cursor_directory =
+cursor_directory = /usr/share/libretro/database/cursors
# Path to cheat database directory.
-# cheat_database_path =
+cheat_database_path = /usr/share/libretro/database/cht
# Defines a directory where CPU-based video filters are kept.
-# video_filter_dir =
+video_filter_dir = /usr/lib/libretro/filters/video
# Directory where DSP plugins are kept.
-# audio_filter_dir =
+audio_filter_dir = /usr/lib/libretro/filters/audio
# Defines a directory where shaders (Cg, CGP, GLSL) are kept for easy access.
-# video_shader_dir =
+video_shader_dir = /usr/share/libretro/shaders
# Recording output directory. Where recordings are saved.
# recording_output_directory =
@@ -825,7 +825,7 @@
# Input binds which are made explicit (input_playerN_*_btn/axis) will take priority over autoconfigs.
# Autoconfigs can be created with retroarch-joyconfig, manually, or with a frontend.
# Requires input_autodetect_enable to be enabled.
-# joypad_autoconfig_dir =
+joypad_autoconfig_dir = /usr/share/libretro/autoconfig
# Save all remapped controls to this directory.
# input_remapping_directory =
@@ -913,3 +913,6 @@
# Enable device vibration for supported cores
# enable_device_vibration = false
+
+# Download thumbnails from network on demand
+network_on_demand_thumbnails = true

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Tue Sep 24 15:32:31 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
- Update retroarch-config.patch
* Disable menu_show_online_updater because thumbnails will be
downloaded on demand and all other content should be provided
by RPM packages
* Set rgui_browser_directory to user home instead of system root
* Enable network_on_demand_thumbnails option
* Set system_directory so we can package some core system files
-------------------------------------------------------------------
Sun Sep 22 13:46:00 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
- Recommends:
* libretro-core-info
* libretro-database
* libretro-nestopia
* libretro-bsnes
* libretro-mgba
* libretro-gambatte
-------------------------------------------------------------------
Sun Sep 22 08:48:29 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
- Add retroarch-config.patch to disable in-app updates and enable
system assets directory
- Remove retroarch.desktop because it is already in source tarball
-------------------------------------------------------------------
Fri Sep 20 21:42:57 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
- Update to 1.7.8.4
* Update AndroidManifest.xml
- Update to 1.7.8.3
* Update CHANGES.md
- Update to 1.7.8.2
* Update CHANGES.md
- Recommend retroarch-joypad-autoconfig and retroarch-assets
-------------------------------------------------------------------
Mon Sep 2 12:37:03 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=RetroArch
Comment=A modular multi-system emulator system
Type=Application
Exec=retroarch
Icon=retroarch
Terminal=false
Categories=Game;Emulator;

View File

@ -17,15 +17,16 @@
Name: retroarch
Version: 1.7.8
Version: 1.7.8.4
Release: 0
Summary: Emulator frontend
License: GPL-3.0-only
Group: System/Emulators/Other
URL: http://www.retroarch.com
# From https://github.com/libretro/RetroArch/releases
Source0: https://github.com/libretro/RetroArch/archive/v%{version}.tar.gz
Source9: %{name}.desktop
Source: https://github.com/libretro/RetroArch/archive/v%{version}.tar.gz
Patch0: retroarch-config.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: p7zip
@ -72,6 +73,22 @@ 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
# 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
%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
@ -80,6 +97,11 @@ have, such as real-time rewinding and game-aware shading.
%prep
%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"
@ -126,11 +148,6 @@ make %{?_smp_mflags}
%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

3
v1.7.8.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd3092b4dbd930689e66977a177b6c0ccea53721310d1c69c8b255b9b08affa9
size 33049464

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb11b4dababce19e957c0dac589782395c1d7d0938750fb534c90cdc71a7d5af
size 26871767