[arch-commits] Commit in retroarch/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Tue Jul 19 19:43:45 UTC 2016


    Date: Tuesday, July 19, 2016 @ 19:43:45
  Author: alucryd
Revision: 183310

upgpkg: retroarch 1.3.6-1

Modified:
  retroarch/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-19 18:14:46 UTC (rev 183309)
+++ PKGBUILD	2016-07-19 19:43:45 UTC (rev 183310)
@@ -4,18 +4,19 @@
 # Contributor: lifning <definelightning at gmail.com>
 
 pkgname=retroarch
-pkgver=1.3.4
-pkgrel=2
+pkgver=1.3.6
+pkgrel=1
 pkgdesc='Reference frontend for the libretro API'
 arch=('i686' 'x86_64')
 url='http://www.libretro.com/'
 license=('GPL')
 groups=('libretro')
-depends=('alsa-lib' 'glibc' 'libdrm' 'libgl' 'libpulse' 'libusb' 'libx11'
-         'libxcb' 'libxext' 'libxinerama' 'libxkbcommon' 'libxv' 'libxxf86vm'
-         'mesa' 'openal' 'python' 'sdl2' 'wayland' 'zlib'
+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=('git' 'vulkan-icd-loader')
 optdepends=('libretro-desmume: Nintendo DS core'
             'libretro-gambatte: Nintendo Game Boy/Game Boy Color core'
             'libretro-genesis-plus: Sega Master System/Genesis/Game Gear/CD/32X core'
@@ -31,11 +32,24 @@
             '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=('a5733a0f4ad828afd00fa2a059deb6538939d46a2aefc4a566c30300a40efb1c')
+source=("git+https://github.com/libretro/RetroArch.git#tag=v${pkgver}"
+        'git+https://github.com/KhronosGroup/glslang.git#commit=a4a4d5e'
+        'git+https://github.com/KhronosGroup/SPIRV-Cross.git#commit=5c24d99')
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP')
 
+prepare() {
+  cd RetroArch
+
+  git submodule init deps/{glslang/glslang,SPIRV-Cross}
+  git config submodule.glslang.url ../glslang
+  git config submodule.SPIRV-Cross.url ../SPIRV-Cross
+  git submodule update deps/{glslang/glslang,SPIRV-Cross}
+}
+
 build() {
-  cd RetroArch-${pkgver}
+  cd RetroArch
 
   ./configure \
     --prefix='/usr' \
@@ -48,7 +62,7 @@
 }
 
 package() {
-  cd RetroArch-${pkgver}
+  cd RetroArch
 
   make DESTDIR="${pkgdir}" install
 



More information about the arch-commits mailing list