[arch-commits] Commit in libretro-ppsspp/repos/community-x86_64 (4 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 6 15:10:16 UTC 2021


    Date: Thursday, May 6, 2021 @ 15:10:15
  Author: alucryd
Revision: 928502

archrelease: copy trunk to community-x86_64

Added:
  libretro-ppsspp/repos/community-x86_64/PKGBUILD
    (from rev 928501, libretro-ppsspp/trunk/PKGBUILD)
  libretro-ppsspp/repos/community-x86_64/libretro-ppsspp-assets-path.patch
    (from rev 928501, libretro-ppsspp/trunk/libretro-ppsspp-assets-path.patch)
Deleted:
  libretro-ppsspp/repos/community-x86_64/PKGBUILD
  libretro-ppsspp/repos/community-x86_64/libretro-ppsspp-assets-path.patch

-----------------------------------+
 PKGBUILD                          |  220 ++++++++++++++++++------------------
 libretro-ppsspp-assets-path.patch |   22 +--
 2 files changed, 121 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-06 15:10:10 UTC (rev 928501)
+++ PKGBUILD	2021-05-06 15:10:15 UTC (rev 928502)
@@ -1,110 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Wouter Wijsman <wwijsman at live.nl>
-# Contributor: Duck Hunt <vaporeon at tfwno.gf>
-
-pkgname=libretro-ppsspp
-pkgver=29499
-pkgrel=1
-pkgdesc='Sony PlayStation Portable core'
-arch=(x86_64)
-url=https://github.com/libretro/ppsspp
-license=(GPL2)
-groups=(libretro)
-depends=(
-  gcc-libs
-  glew
-  glibc
-  libgl
-  libpng
-  libretro-core-info
-  libzip
-  snappy
-  zlib
-)
-makedepends=(
-  cmake
-  git
-  libglvnd
-  python
-)
-_commit=9435174d491a2e0c1560898e627b31581c37de4e
-source=(
-  libretro-ppsspp::git+https://github.com/hrydgard/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
-  ppsspp-miniupnp::git+https://github.com/hrydgard/miniupnp.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
-  libretro-ppsspp-assets-path.patch
-)
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            '2234ab0c53849ed728889305a68119a365da16094a1b7ac2c4d2a2ababe5c8f5')
-
-pkgver() {
-  cd libretro-ppsspp
-
-  git rev-list --count HEAD
-}
-
-prepare() {
-  cd libretro-ppsspp
-
-  patch -Np1 -i ../libretro-ppsspp-assets-path.patch
-
-  for submodule in ffmpeg assets/lang ext/glslang ext/miniupnp; do
-    git submodule init ${submodule}
-    git config submodule.${submodule}.url ../ppsspp-${submodule#*/}
-    git submodule update ${submodule}
-  done
-  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() {
-  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 \
-    -DUSE_SYSTEM_LIBZIP=ON \
-    -DUSE_SYSTEM_SNAPPY=ON \
-    -DUSING_QT_UI=OFF
-  make -C build
-}
-
-package() {
-  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/
-  install -dm 755 "${pkgdir}"/usr/share/libretro/ppsspp
-  cp -dr --no-preserve=ownership build/assets "${pkgdir}"/usr/share/libretro/ppsspp/
-}
-
-# vim: ts=2 sw=2 et:

Copied: libretro-ppsspp/repos/community-x86_64/PKGBUILD (from rev 928501, libretro-ppsspp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-06 15:10:15 UTC (rev 928502)
@@ -0,0 +1,110 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Wouter Wijsman <wwijsman at live.nl>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgname=libretro-ppsspp
+pkgver=29606
+pkgrel=1
+pkgdesc='Sony PlayStation Portable core'
+arch=(x86_64)
+url=https://github.com/libretro/ppsspp
+license=(GPL2)
+groups=(libretro)
+depends=(
+  gcc-libs
+  glew
+  glibc
+  libgl
+  libpng
+  libretro-core-info
+  libzip
+  snappy
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  libglvnd
+  python
+)
+_commit=0328a0d550840687b55f45dddcc0838b2c670aeb
+source=(
+  libretro-ppsspp::git+https://github.com/hrydgard/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
+  ppsspp-miniupnp::git+https://github.com/hrydgard/miniupnp.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
+  libretro-ppsspp-assets-path.patch
+)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            '2234ab0c53849ed728889305a68119a365da16094a1b7ac2c4d2a2ababe5c8f5')
+
+pkgver() {
+  cd libretro-ppsspp
+
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd libretro-ppsspp
+
+  patch -Np1 -i ../libretro-ppsspp-assets-path.patch
+
+  for submodule in ffmpeg assets/lang ext/glslang ext/miniupnp; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../ppsspp-${submodule#*/}
+    git submodule update ${submodule}
+  done
+  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() {
+  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 \
+    -DUSE_SYSTEM_LIBZIP=ON \
+    -DUSE_SYSTEM_SNAPPY=ON \
+    -DUSING_QT_UI=OFF
+  make -C build
+}
+
+package() {
+  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/
+  install -dm 755 "${pkgdir}"/usr/share/libretro/ppsspp
+  cp -dr --no-preserve=ownership build/assets "${pkgdir}"/usr/share/libretro/ppsspp/
+}
+
+# vim: ts=2 sw=2 et:

Deleted: libretro-ppsspp-assets-path.patch
===================================================================
--- libretro-ppsspp-assets-path.patch	2021-05-06 15:10:10 UTC (rev 928501)
+++ libretro-ppsspp-assets-path.patch	2021-05-06 15:10:15 UTC (rev 928502)
@@ -1,11 +0,0 @@
---- libretro-ppsspp.orig/libretro/libretro.cpp	2020-10-08 22:13:25.641893000 +0200
-+++ libretro-ppsspp/libretro/libretro.cpp	2020-10-10 01:21:00.000136872 +0200
-@@ -601,6 +601,7 @@
-    g_Config.internalDataDirectory = retro_base_dir;
- 
-    VFSRegister("", new DirectoryAssetReader(retro_base_dir.c_str()));
-+   VFSRegister("", new DirectoryAssetReader("/usr/share/libretro/ppsspp/assets/"));
- 
-    coreState = CORE_POWERUP;
-    ctx       = LibretroGraphicsContext::CreateGraphicsContext();
-

Copied: libretro-ppsspp/repos/community-x86_64/libretro-ppsspp-assets-path.patch (from rev 928501, libretro-ppsspp/trunk/libretro-ppsspp-assets-path.patch)
===================================================================
--- libretro-ppsspp-assets-path.patch	                        (rev 0)
+++ libretro-ppsspp-assets-path.patch	2021-05-06 15:10:15 UTC (rev 928502)
@@ -0,0 +1,11 @@
+--- libretro-ppsspp.orig/libretro/libretro.cpp	2020-10-08 22:13:25.641893000 +0200
++++ libretro-ppsspp/libretro/libretro.cpp	2020-10-10 01:21:00.000136872 +0200
+@@ -601,6 +601,7 @@
+    g_Config.internalDataDirectory = retro_base_dir;
+ 
+    VFSRegister("", new DirectoryAssetReader(retro_base_dir.c_str()));
++   VFSRegister("", new DirectoryAssetReader("/usr/share/libretro/ppsspp/assets/"));
+ 
+    coreState = CORE_POWERUP;
+    ctx       = LibretroGraphicsContext::CreateGraphicsContext();
+



More information about the arch-commits mailing list