Date: Monday, April 23, 2018 @ 18:02:09
  Author: alucryd
Revision: 317412

archrelease: copy trunk to community-staging-x86_64

Added:
  retroarch/repos/community-staging-x86_64/
  retroarch/repos/community-staging-x86_64/PKGBUILD
    (from rev 317411, retroarch/trunk/PKGBUILD)
  retroarch/repos/community-staging-x86_64/retroarch-config.patch
    (from rev 317411, retroarch/trunk/retroarch-config.patch)

------------------------+
 PKGBUILD               |   60 ++++++++++++++++++++++++++++++++++++++++++
 retroarch-config.patch |   67 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 127 insertions(+)

Copied: retroarch/repos/community-staging-x86_64/PKGBUILD (from rev 317411, 
retroarch/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-23 18:02:09 UTC (rev 317412)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Maxime Gauduin <aluc...@archlinux.org>
+# Contributor: Themaister <mais...@archlinux.us>
+# Contributor: lifning <definelightn...@gmail.com>
+
+pkgname=retroarch
+pkgver=1.7.1
+pkgrel=2
+pkgdesc='Reference frontend for the libretro API'
+arch=('x86_64')
+url='http://www.libretro.com/'
+license=('GPL')
+groups=('libretro')
+depends=('alsa-lib' 'gcc-libs' 'glibc' 'libdrm' 'libgl' 'libpulse' 'libusb'
+         'libx11' 'libxcb' 'libxext' 'libxinerama' 'libxkbcommon' 'libxv'
+         'libxxf86vm' 'mesa' 'openal' 'sdl2' 'wayland' 'zlib'
+         'libass.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
+         'libfreetype.so' 'libswresample.so' 'libswscale.so' 'libudev.so')
+makedepends=('vulkan-icd-loader')
+optdepends=('libretro-overlays: Collection of overlays'
+            'libretro-shaders: Collection of shaders'
+            'python: retroarch-cg2glsl'
+            '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";
+        'retroarch-config.patch')
+sha256sums=('e9189c7da6b2ca0142528eca14f26104ee322f052f8609203d90b60938d8d3f3'
+            '8dca43954d05ea1f989932fb26828b6e8325394eec070c4530dd21eab3f02c44')
+
+prepare() {
+  cd RetroArch-${pkgver}
+
+  patch -Np0 -i ../retroarch-config.patch
+}
+
+build() {
+  cd RetroArch-${pkgver}
+
+  ./configure \
+    --prefix='/usr' \
+    --disable-cg \
+    --disable-jack \
+    --disable-oss \
+    --disable-sdl
+  make
+  make -C libretro-common/audio/dsp_filters
+  make -C gfx/video_filters
+}
+
+package() {
+  cd RetroArch-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm 644 libretro-common/audio/dsp_filters/*.{dsp,so} -t 
"${pkgdir}"/usr/lib/retroarch/filters/audio/
+  install -Dm 644 gfx/video_filters/*.{filt,so} -t 
"${pkgdir}"/usr/lib/retroarch/filters/video/
+}
+
+# vim: ts=2 sw=2 et:

Copied: retroarch/repos/community-staging-x86_64/retroarch-config.patch (from 
rev 317411, retroarch/trunk/retroarch-config.patch)
===================================================================
--- community-staging-x86_64/retroarch-config.patch                             
(rev 0)
+++ community-staging-x86_64/retroarch-config.patch     2018-04-23 18:02:09 UTC 
(rev 317412)
@@ -0,0 +1,67 @@
+--- retroarch.cfg.orig 2017-11-21 16:40:48.000000000 +0100
++++ retroarch.cfg      2017-12-22 21:37:14.020611669 +0100
+@@ -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,13 +235,13 @@
+ # 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 =
+ 
+ # Defines a directory where CPU-based video filters are kept.
+-# video_filter_dir =
++video_filter_dir = /usr/lib/retroarch/filters/video
+ 
+ # Path to a font used for rendering messages. This path must be defined to 
enable fonts.
+ # Do note that the _full_ path of the font is necessary!
+@@ -311,7 +311,7 @@ video_message_bgcolor_opacity = 1.0
+ # audio_dsp_plugin =
+ 
+ # Directory where DSP plugins are kept.
+-# audio_filter_dir =
++audio_filter_dir = /usr/lib/retroarch/filters/audio
+ 
+ # Will sync (block) on audio. Recommended.
+ # audio_sync = true
+@@ -418,7 +418,7 @@ video_message_bgcolor_opacity = 1.0
+ # 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.
+@@ -662,7 +662,7 @@ video_message_bgcolor_opacity = 1.0
+ # menu_show_online_updater = true
+ 
+ # 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.

Reply via email to