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

Maxime Gauduin alucryd at archlinux.org
Sat Dec 8 14:43:52 UTC 2018


    Date: Saturday, December 8, 2018 @ 14:43:52
  Author: alucryd
Revision: 412436

upgpkg: libretro-ppsspp 24922-1

Modified:
  libretro-ppsspp/trunk/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 53 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-08 14:14:24 UTC (rev 412435)
+++ PKGBUILD	2018-12-08 14:43:52 UTC (rev 412436)
@@ -2,31 +2,50 @@
 # Contributor: Duck Hunt <vaporeon at tfwno.gf>
 
 pkgname=libretro-ppsspp
-pkgver=24309
+pkgver=24922
 pkgrel=1
 pkgdesc='Sony PlayStation Portable core'
-arch=('x86_64')
-url='https://github.com/libretro/libretro-ppsspp'
-license=('GPL2')
-groups=('libretro')
-depends=('libgl' 'libretro-core-info' 'sdl2' 'snappy' 'zlib')
-makedepends=('cmake' 'git')
-_commit='ad1b75292f9fd4a3a868d16dc25ce357e31cc177'
-source=("git+https://github.com/hrydgard/ppsspp.git#commit=${_commit}"
-        'git+https://github.com/hrydgard/ppsspp-ffmpeg.git'
-        'ppsspp-glslang::git+https://github.com/hrydgard/glslang.git'
-        'git+https://github.com/hrydgard/ppsspp-lang.git'
-        'git+https://github.com/Kingcom/armips.git'
-        'git+https://github.com/KhronosGroup/SPIRV-Cross.git')
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP')
+arch=(x86_64)
+url='https://github.com/libretro/ppsspp'
+license=(GPL2)
+groups=(libretro)
+depends=(
+  libgl
+  libretro-core-info
+  sdl2
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  mesa
+)
+_commit='d9198ff039302353a6a56dbec4f34534a191da2c'
+source=(
+  libretro-ppsspp::git+https://github.com/libretro/ppsspp.git#commit=${_commit}
+  git+https://github.com/Kingcom/armips.git
+  git+https://github.com/discordapp/discord-rpc.git
+  git+https://github.com/hrydgard/ppsspp-ffmpeg.git
+  ppsspp-glslang::git+https://github.com/hrydgard/glslang.git
+  git+https://github.com/hrydgard/ppsspp-lang.git
+  git+https://github.com/Tencent/rapidjson.git
+  git+https://github.com/KhronosGroup/SPIRV-Cross.git
+  armips-tinyformat::git+https://github.com/Kingcom/tinyformat.git
+)
+sha256sums=(
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+  SKIP
+)
 
 pkgver() {
-  cd ppsspp
+  cd libretro-ppsspp
 
   git rev-list --count HEAD
 }
@@ -37,24 +56,32 @@
   fi
   mkdir build
 
-  cd ppsspp
+  cd libretro-ppsspp
 
-  for submodule in assets/lang ext/glslang ffmpeg; do
+  for submodule in ffmpeg assets/lang ext/glslang; do
     git submodule init ${submodule}
     git config submodule.${submodule}.url ../ppsspp-${submodule#*/}
     git submodule update ${submodule}
   done
-  for submodule in ext/{SPIRV-Cross,armips}; do
+  for submodule in ext/{armips,discord-rpc,rapidjson,SPIRV-Cross}; do
     git submodule init ${submodule}
     git config submodule.${submodule}.url ../${submodule#*/}
     git submodule update ${submodule}
   done
+
+  cd ext/armips
+
+  for submodule in ext/tinyformat; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../../../armips-${submodule#*/}
+    git submodule update ${submodule}
+  done
 }
 
 build() {
   cd build
 
-  cmake ../ppsspp \
+  cmake ../libretro-ppsspp \
     -DCMAKE_BUILD_TYPE='Release' \
     -DCMAKE_SKIP_RPATH='ON' \
     -DLIBRETRO='ON'
@@ -65,7 +92,7 @@
   cd build
 
   install -Dm 644 lib/ppsspp_libretro.so -t "${pkgdir}"/usr/lib/libretro/
-  install -Dm 644 ../ppsspp/LICENSE.TXT -t "${pkgdir}"/usr/share/licenses/libretro-ppsspp-git/
+  install -Dm 644 ../libretro-ppsspp/LICENSE.TXT -t "${pkgdir}"/usr/share/licenses/libretro-ppsspp-git/
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list