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 # - enable GLES
pkgname=retroarch pkgname=retroarch
pkgver=1.3.4 pkgver=1.3.6
pkgrel=1.1 pkgrel=1
pkgdesc='Reference frontend for the libretro API' pkgdesc='Reference frontend for the libretro API'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://www.libretro.com/' url='http://www.libretro.com/'
license=('GPL') license=('GPL')
groups=('libretro') groups=('libretro')
depends=('alsa-lib' 'glibc' 'libdrm' 'libgl' 'libpulse' 'libusb' 'libx11' depends=('alsa-lib' 'gcc-libs' 'glibc' 'libdrm' 'libgl' 'libpulse' 'libusb'
'libxcb' 'libxext' 'libxinerama' 'libxkbcommon' 'libxv' 'libxxf86vm' 'libx11' 'libxcb' 'libxext' 'libxinerama' 'libxkbcommon' 'libxv'
'mesa' 'openal' 'python' 'sdl2' 'wayland' 'zlib' 'libxxf86vm' 'mesa' 'openal' 'sdl2' 'wayland' 'zlib'
'libass.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libass.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
'libfreetype.so' 'libswresample.so' 'libswscale.so' 'libudev.so') 'libfreetype.so' 'libswresample.so' 'libswscale.so' 'libudev.so')
makedepends=('git' 'vulkan-icd-loader')
optdepends=('libretro-desmume: Nintendo DS core' optdepends=('libretro-desmume: Nintendo DS core'
'libretro-gambatte: Nintendo Game Boy/Game Boy Color core' 'libretro-gambatte: Nintendo Game Boy/Game Boy Color core'
'libretro-genesis-plus: Sega Master System/Genesis/Game Gear/CD/32X 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-assets-xmb: XMB menu assets'
'retroarch-autoconfig-udev: udev joypad autoconfig') 'retroarch-autoconfig-udev: udev joypad autoconfig')
backup=('etc/retroarch.cfg') backup=('etc/retroarch.cfg')
source=("retroarch-${pkgver}.tar.gz::https://github.com/libretro/RetroArch/archive/v${pkgver}.tar.gz") source=("git+https://github.com/libretro/RetroArch.git#tag=v${pkgver}"
sha256sums=('a5733a0f4ad828afd00fa2a059deb6538939d46a2aefc4a566c30300a40efb1c') '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() { build() {
cd RetroArch-${pkgver} cd RetroArch
./configure \ ./configure \
--prefix='/usr' \ --prefix='/usr' \
@ -52,7 +66,7 @@ build() {
} }
package() { package() {
cd RetroArch-${pkgver} cd RetroArch
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install