community/retroarch to 1.3.6-1

This commit is contained in:
Kevin Mihelich 2016-07-20 00:11:23 +00:00
parent 2841d3008b
commit 9c33b930a6

View file

@ -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