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

Maxime Gauduin alucryd at archlinux.org
Thu Jan 23 12:56:54 UTC 2020


    Date: Thursday, January 23, 2020 @ 12:56:54
  Author: alucryd
Revision: 554947

upgpkg: libretro-ppsspp 26421-1

Modified:
  libretro-ppsspp/trunk/PKGBUILD

----------+
 PKGBUILD |   40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-23 12:21:41 UTC (rev 554946)
+++ PKGBUILD	2020-01-23 12:56:54 UTC (rev 554947)
@@ -2,27 +2,28 @@
 # Contributor: Duck Hunt <vaporeon at tfwno.gf>
 
 pkgname=libretro-ppsspp
-pkgver=24922
+pkgver=26421
 pkgrel=1
 pkgdesc='Sony PlayStation Portable core'
 arch=(x86_64)
-url='https://github.com/libretro/ppsspp'
+url=https://github.com/libretro/ppsspp
 license=(GPL2)
 groups=(libretro)
 depends=(
+  glew
   libgl
   libretro-core-info
-  sdl2
   zlib
 )
 makedepends=(
   cmake
   git
+  libglvnd
   mesa
+  python
 )
-_commit='d9198ff039302353a6a56dbec4f34534a191da2c'
 source=(
-  libretro-ppsspp::git+https://github.com/libretro/ppsspp.git#commit=${_commit}
+  libretro-ppsspp::git+https://github.com/hrydgard/ppsspp.git#commit=97c81ac5a2313651b1ab4e54d3d3a97f85e40344
   git+https://github.com/Kingcom/armips.git
   git+https://github.com/discordapp/discord-rpc.git
   git+https://github.com/hrydgard/ppsspp-ffmpeg.git
@@ -51,11 +52,6 @@
 }
 
 prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-
   cd libretro-ppsspp
 
   for submodule in ffmpeg assets/lang ext/glslang; do
@@ -79,20 +75,22 @@
 }
 
 build() {
-  cd build
-
-  cmake ../libretro-ppsspp \
-    -DCMAKE_BUILD_TYPE='Release' \
-    -DCMAKE_SKIP_RPATH='ON' \
-    -DLIBRETRO='ON'
-  make
+  cmake -S libretro-ppsspp -B build \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DOpenGL_GL_PREFERENCE=GLVND \
+    -DHEADLESS=OFF \
+    -DLIBRETRO=ON \
+    -DMOBILE_DEVICE=OFF \
+    -DSIMULATOR=OFF \
+    -DUNITTEST=OFF \
+    -DUSING_QT_UI=OFF
+  make -C build
 }
 
 package() {
-  cd build
-
-  install -Dm 644 lib/ppsspp_libretro.so -t "${pkgdir}"/usr/lib/libretro/
-  install -Dm 644 ../libretro-ppsspp/LICENSE.TXT -t "${pkgdir}"/usr/share/licenses/libretro-ppsspp-git/
+  install -Dm 644 build/lib/ppsspp_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+  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