From 872b46be24de57ad3bb54abbba674ec5ecaca062 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 19 May 2017 18:01:51 +0000 Subject: [PATCH] community/retroarch to 1.5.0-3 --- community/retroarch/PKGBUILD | 14 ++++++-- community/retroarch/retroarch-paths.patch | 43 +++++++++++++++++++++++ 2 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 community/retroarch/retroarch-paths.patch diff --git a/community/retroarch/PKGBUILD b/community/retroarch/PKGBUILD index ea6a4d47d..34d616f3a 100644 --- a/community/retroarch/PKGBUILD +++ b/community/retroarch/PKGBUILD @@ -8,7 +8,7 @@ pkgname=retroarch pkgver=1.5.0 -pkgrel=2 +pkgrel=3 pkgdesc='Reference frontend for the libretro API' arch=('i686' 'x86_64') url='http://www.libretro.com/' @@ -35,8 +35,16 @@ optdepends=('libretro-desmume: Nintendo DS core' 'retroarch-assets-xmb: XMB menu assets' 'retroarch-autoconfig-udev: udev joypad autoconfig') backup=('etc/retroarch.cfg') -source=("retroarch-${pkgver}.tar.gz::https://github.com/libretro/RetroArch/archive/v${pkgver}.tar.gz") -sha256sums=('5de6385d4a0031709ef133d04a8573309e1090f0fda2917678be8e1147576de5') +source=("retroarch-${pkgver}.tar.gz::https://github.com/libretro/RetroArch/archive/v${pkgver}.tar.gz" + 'retroarch-paths.patch') +sha256sums=('5de6385d4a0031709ef133d04a8573309e1090f0fda2917678be8e1147576de5' + 'a8449fc210b3f55e2189e8b1106e5a8adaa359916e692af424d838b468ab3da0') + +prepare() { + cd RetroArch-${pkgver} + + patch -Np1 -i ../retroarch-paths.patch +} build() { cd RetroArch-${pkgver} diff --git a/community/retroarch/retroarch-paths.patch b/community/retroarch/retroarch-paths.patch new file mode 100644 index 000000000..75a71839b --- /dev/null +++ b/community/retroarch/retroarch-paths.patch @@ -0,0 +1,43 @@ +diff -rupN RetroArch-1.5.0.orig/retroarch.cfg RetroArch-1.5.0/retroarch.cfg +--- RetroArch-1.5.0.orig/retroarch.cfg 2017-05-19 15:30:11.834029610 +0200 ++++ RetroArch-1.5.0/retroarch.cfg 2017-05-19 15:38:31.090191050 +0200 +@@ -41,10 +41,10 @@ + # libretro_path = "/path/to/libretro.so" + + # A directory for where to search for libretro core implementations. +-# libretro_directory = ++libretro_directory = /usr/lib/libretro + + # A directory for where to search for libretro core information. +-# libretro_info_path = ++libretro_info_path = /usr/share/libretro/info + + # Sets log level for libretro cores (GET_LOG_INTERFACE). + # If a log level issued by a libretro core is below libretro_log_level, it is ignored. +@@ -104,7 +104,7 @@ + + # Assets directory. This location is queried by default when menu interfaces try to look for + # loadable assets, etc. +-# assets_directory = ++assets_directory = /usr/share/retroarch/assets + + # Dynamic wallpapers directory. The place to store the wallpapers dynamically + # loaded by the menu depending on context. +@@ -235,7 +235,7 @@ + # video_shader_enable = false + + # Defines a directory where shaders (Cg, CGP, GLSL) are kept for easy access. +-# video_shader_dir = ++video_shader_dir = /usr/share/libretro/shaders + + # CPU-based video filter. Path to a dynamic library. + # video_filter = +@@ -404,7 +404,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/retroarch/autoconfig + + # Sets which libretro device is used for a user. + # Devices are indentified with a number.