community/retroarch to 1.4.1-1

This commit is contained in:
Kevin Mihelich 2017-02-04 18:34:00 +00:00
parent c459c1a494
commit 3c8eb8319d

View file

@ -7,7 +7,7 @@
# - enable GLES
pkgname=retroarch
pkgver=1.3.6
pkgver=1.4.1
pkgrel=1
pkgdesc='Reference frontend for the libretro API'
arch=('i686' 'x86_64')
@ -35,21 +35,9 @@ optdepends=('libretro-desmume: Nintendo DS core'
'retroarch-assets-xmb: XMB menu assets'
'retroarch-autoconfig-udev: udev joypad autoconfig')
backup=('etc/retroarch.cfg')
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}
}
_commit=('d8855caae9fe3e249a2aab358480e2fe16c4ef0e')
source=("git+https://github.com/libretro/RetroArch.git#commit=${_commit}")
sha256sums=('SKIP')
build() {
cd RetroArch
@ -59,10 +47,10 @@ build() {
--disable-cg \
--disable-jack \
--disable-oss \
--disable-sdl \
--enable-gles
make
make -C gfx/video_filters
make -C audio/audio_filters
}
package() {
@ -70,9 +58,8 @@ package() {
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/lib/retroarch/filters/{audio,video}
install -dm 755 "${pkgdir}"/usr/lib/retroarch/filters/video
install -m 644 gfx/video_filters/*.{filt,so} "${pkgdir}"/usr/lib/retroarch/filters/video/
install -m 644 audio/audio_filters/*.{dsp,so} "${pkgdir}"/usr/lib/retroarch/filters/audio/
}
# vim: ts=2 sw=2 et: