From 9c33b930a68dcba3224bc678ec7696f65b7c3513 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 20 Jul 2016 00:11:23 +0000 Subject: [PATCH] community/retroarch to 1.3.6-1 --- community/retroarch/PKGBUILD | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/community/retroarch/PKGBUILD b/community/retroarch/PKGBUILD index f66aa10ed..5f68f8563 100644 --- a/community/retroarch/PKGBUILD +++ b/community/retroarch/PKGBUILD @@ -7,18 +7,19 @@ # - enable GLES pkgname=retroarch -pkgver=1.3.4 -pkgrel=1.1 +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' @@ -34,11 +35,24 @@ 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=('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' \ @@ -52,7 +66,7 @@ build() { } package() { - cd RetroArch-${pkgver} + cd RetroArch make DESTDIR="${pkgdir}" install