mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/retroarch to 1.5.0-3
This commit is contained in:
parent
1e131d3af4
commit
872b46be24
2 changed files with 54 additions and 3 deletions
|
@ -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}
|
||||
|
|
43
community/retroarch/retroarch-paths.patch
Normal file
43
community/retroarch/retroarch-paths.patch
Normal file
|
@ -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.
|
Loading…
Reference in a new issue