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

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Oct 5 15:16:17 UTC 2021


    Date: Tuesday, October 5, 2021 @ 15:16:17
  Author: alucryd
Revision: 1027738

archrelease: copy trunk to community-x86_64

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

-----------------------------------+
 PKGBUILD                          |  234 ++++++++++++++++++------------------
 libretro-ppsspp-assets-path.patch |   24 +--
 libretro-ppsspp-system-zstd.patch |   84 ++++++------
 3 files changed, 171 insertions(+), 171 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-05 15:16:10 UTC (rev 1027737)
+++ PKGBUILD	2021-10-05 15:16:17 UTC (rev 1027738)
@@ -1,117 +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=30774
-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
-  ppsspp-assets
-  sdl2
-  snappy
-  zlib
-  zstd
-)
-makedepends=(
-  cmake
-  git
-  libglvnd
-  ninja
-  python
-)
-_commit=b1009f70f9badba5b06ee3f75a8856aed1606d8e
-source=(
-  libretro-ppsspp::git+https://github.com/hrydgard/ppsspp.git#commit=${_commit}
-  git+https://github.com/Kingcom/armips.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
-  libretro-ppsspp-system-zstd.patch
-)
-b2sums=('SKIP'
-        'SKIP'
-        'SKIP'
-        'SKIP'
-        'SKIP'
-        'SKIP'
-        'SKIP'
-        'SKIP'
-        'SKIP'
-        '535a9c3c09835104fa8f57be34eedda8281f28029fa963ccefb6c56f310ac0fc799e8dd52825ad70dd180905142b132fdd1dac30e526da65417082b1b57d2f59'
-        'c9fefb1456341f8bdc66ff787dd45e849c44a927dea7d9453ae507ed8d03e440651afe5795f929995a4e55a3b44ffb19fc1105b5621ec4917c8d17250dda1259')
-
-pkgver() {
-  cd libretro-ppsspp
-
-  git rev-list --count HEAD
-}
-
-prepare() {
-  cd libretro-ppsspp
-
-  patch -Np1 -i ../libretro-ppsspp-assets-path.patch
-  patch -Np1 -i ../libretro-ppsspp-system-zstd.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,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 -G Ninja \
-    -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 \
-    -DUSE_SYSTEM_ZSTD=ON \
-    -DUSING_QT_UI=OFF \
-    -Wno-dev
-  cmake --build 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/
-  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 1027737, libretro-ppsspp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-05 15:16:17 UTC (rev 1027738)
@@ -0,0 +1,117 @@
+# 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=30794
+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
+  ppsspp-assets
+  sdl2
+  snappy
+  zlib
+  zstd
+)
+makedepends=(
+  cmake
+  git
+  libglvnd
+  ninja
+  python
+)
+_commit=45a3e0fa8a5852bd16b6b9d92ef03d17fbfe6b5d
+source=(
+  libretro-ppsspp::git+https://github.com/hrydgard/ppsspp.git#commit=${_commit}
+  git+https://github.com/Kingcom/armips.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
+  libretro-ppsspp-system-zstd.patch
+)
+b2sums=('SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        '535a9c3c09835104fa8f57be34eedda8281f28029fa963ccefb6c56f310ac0fc799e8dd52825ad70dd180905142b132fdd1dac30e526da65417082b1b57d2f59'
+        'c9fefb1456341f8bdc66ff787dd45e849c44a927dea7d9453ae507ed8d03e440651afe5795f929995a4e55a3b44ffb19fc1105b5621ec4917c8d17250dda1259')
+
+pkgver() {
+  cd libretro-ppsspp
+
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd libretro-ppsspp
+
+  patch -Np1 -i ../libretro-ppsspp-assets-path.patch
+  patch -Np1 -i ../libretro-ppsspp-system-zstd.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,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 -G Ninja \
+    -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 \
+    -DUSE_SYSTEM_ZSTD=ON \
+    -DUSING_QT_UI=OFF \
+    -Wno-dev
+  cmake --build 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/
+  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-10-05 15:16:10 UTC (rev 1027737)
+++ libretro-ppsspp-assets-path.patch	2021-10-05 15:16:17 UTC (rev 1027738)
@@ -1,12 +0,0 @@
-diff '--color=auto' -rupN libretro-ppsspp.orig/libretro/libretro.cpp libretro-ppsspp/libretro/libretro.cpp
---- libretro-ppsspp.orig/libretro/libretro.cpp	2021-10-01 16:59:56.706788890 +0200
-+++ libretro-ppsspp/libretro/libretro.cpp	2021-10-01 17:02:51.683172829 +0200
-@@ -488,7 +488,7 @@ void retro_init(void)
-    g_Config.flash0Directory = retro_base_dir / "flash0";
-    g_Config.internalDataDirectory = retro_base_dir;
- 
--   VFSRegister("", new DirectoryAssetReader(retro_base_dir));
-+   VFSRegister("", new DirectoryAssetReader(Path("/usr/share/libretro/ppsspp/assets")));
- 
-    host = new LibretroHost();
- }

Copied: libretro-ppsspp/repos/community-x86_64/libretro-ppsspp-assets-path.patch (from rev 1027737, libretro-ppsspp/trunk/libretro-ppsspp-assets-path.patch)
===================================================================
--- libretro-ppsspp-assets-path.patch	                        (rev 0)
+++ libretro-ppsspp-assets-path.patch	2021-10-05 15:16:17 UTC (rev 1027738)
@@ -0,0 +1,12 @@
+diff '--color=auto' -rupN libretro-ppsspp.orig/libretro/libretro.cpp libretro-ppsspp/libretro/libretro.cpp
+--- libretro-ppsspp.orig/libretro/libretro.cpp	2021-10-01 16:59:56.706788890 +0200
++++ libretro-ppsspp/libretro/libretro.cpp	2021-10-01 17:02:51.683172829 +0200
+@@ -488,7 +488,7 @@ void retro_init(void)
+    g_Config.flash0Directory = retro_base_dir / "flash0";
+    g_Config.internalDataDirectory = retro_base_dir;
+ 
+-   VFSRegister("", new DirectoryAssetReader(retro_base_dir));
++   VFSRegister("", new DirectoryAssetReader(Path("/usr/share/libretro/ppsspp/assets")));
+ 
+    host = new LibretroHost();
+ }

Deleted: libretro-ppsspp-system-zstd.patch
===================================================================
--- libretro-ppsspp-system-zstd.patch	2021-10-05 15:16:10 UTC (rev 1027737)
+++ libretro-ppsspp-system-zstd.patch	2021-10-05 15:16:17 UTC (rev 1027738)
@@ -1,42 +0,0 @@
-diff '--color=auto' -rupN libretro-ppsspp.orig/CMakeLists.txt libretro-ppsspp/CMakeLists.txt
---- libretro-ppsspp.orig/CMakeLists.txt	2021-10-01 17:28:30.046655852 +0200
-+++ libretro-ppsspp/CMakeLists.txt	2021-10-01 17:30:38.698699237 +0200
-@@ -151,6 +151,7 @@ option(USE_MINIUPNPC "Build with miniUPn
- option(USE_SYSTEM_SNAPPY "Dynamically link against system snappy" ${USE_SYSTEM_SNAPPY})
- option(USE_SYSTEM_FFMPEG "Dynamically link against system FFMPEG" ${USE_SYSTEM_FFMPEG})
- option(USE_SYSTEM_LIBZIP "Dynamically link against system libzip" ${USE_SYSTEM_LIBZIP})
-+option(USE_SYSTEM_ZSTD "Dynamically link against system zstd" ${USE_SYSTEM_ZSTD})
- option(USE_SYSTEM_LIBSDL2 "Dynamically link against system SDL2" ON)
- option(USE_SYSTEM_LIBPNG "Dynamically link against system libpng" ON)
- option(USE_ASAN "Use address sanitizer" OFF)
-@@ -1976,8 +1977,20 @@ if(ANDROID)
- 	endif()
- endif()
- 
--set(CoreExtraLibs ${CoreExtraLibs} armips libzstd_static)
--include_directories(ext/zstd/lib)
-+set(CoreExtraLibs ${CoreExtraLibs} armips)
-+
-+find_package(PkgConfig)
-+if(PKG_CONFIG_FOUND)
-+	pkg_check_modules(ZSTD libzstd)
-+endif()
-+if(ZSTD_FOUND AND USE_SYSTEM_ZSTD)
-+	include_directories(${ZSTD_INCLUDE_DIRS})
-+	target_link_libraries(${CoreLibName} ${ZSTD_LIBRARIES})
-+else()
-+	add_subdirectory(ext/zstd/build/cmake EXCLUDE_FROM_ALL)
-+	include_directories(ext/zstd/lib)
-+	set(CoreExtraLibs ${CoreExtraLibs} libzstd_static)
-+endif()
- 
- # needed for VK_USE_PLATFORM_XCB_KHR only
- #if(VULKAN AND NOT WIN32)
-diff '--color=auto' -rupN libretro-ppsspp.orig/ext/CMakeLists.txt libretro-ppsspp/ext/CMakeLists.txt
---- libretro-ppsspp.orig/ext/CMakeLists.txt	2021-10-01 17:28:30.136664237 +0200
-+++ libretro-ppsspp/ext/CMakeLists.txt	2021-10-01 17:30:45.282654341 +0200
-@@ -22,4 +22,3 @@ add_subdirectory(SPIRV-Cross-build)
- if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
- 	add_subdirectory(discord-rpc-build)
- endif()
--add_subdirectory(zstd/build/cmake EXCLUDE_FROM_ALL)

Copied: libretro-ppsspp/repos/community-x86_64/libretro-ppsspp-system-zstd.patch (from rev 1027737, libretro-ppsspp/trunk/libretro-ppsspp-system-zstd.patch)
===================================================================
--- libretro-ppsspp-system-zstd.patch	                        (rev 0)
+++ libretro-ppsspp-system-zstd.patch	2021-10-05 15:16:17 UTC (rev 1027738)
@@ -0,0 +1,42 @@
+diff '--color=auto' -rupN libretro-ppsspp.orig/CMakeLists.txt libretro-ppsspp/CMakeLists.txt
+--- libretro-ppsspp.orig/CMakeLists.txt	2021-10-01 17:28:30.046655852 +0200
++++ libretro-ppsspp/CMakeLists.txt	2021-10-01 17:30:38.698699237 +0200
+@@ -151,6 +151,7 @@ option(USE_MINIUPNPC "Build with miniUPn
+ option(USE_SYSTEM_SNAPPY "Dynamically link against system snappy" ${USE_SYSTEM_SNAPPY})
+ option(USE_SYSTEM_FFMPEG "Dynamically link against system FFMPEG" ${USE_SYSTEM_FFMPEG})
+ option(USE_SYSTEM_LIBZIP "Dynamically link against system libzip" ${USE_SYSTEM_LIBZIP})
++option(USE_SYSTEM_ZSTD "Dynamically link against system zstd" ${USE_SYSTEM_ZSTD})
+ option(USE_SYSTEM_LIBSDL2 "Dynamically link against system SDL2" ON)
+ option(USE_SYSTEM_LIBPNG "Dynamically link against system libpng" ON)
+ option(USE_ASAN "Use address sanitizer" OFF)
+@@ -1976,8 +1977,20 @@ if(ANDROID)
+ 	endif()
+ endif()
+ 
+-set(CoreExtraLibs ${CoreExtraLibs} armips libzstd_static)
+-include_directories(ext/zstd/lib)
++set(CoreExtraLibs ${CoreExtraLibs} armips)
++
++find_package(PkgConfig)
++if(PKG_CONFIG_FOUND)
++	pkg_check_modules(ZSTD libzstd)
++endif()
++if(ZSTD_FOUND AND USE_SYSTEM_ZSTD)
++	include_directories(${ZSTD_INCLUDE_DIRS})
++	target_link_libraries(${CoreLibName} ${ZSTD_LIBRARIES})
++else()
++	add_subdirectory(ext/zstd/build/cmake EXCLUDE_FROM_ALL)
++	include_directories(ext/zstd/lib)
++	set(CoreExtraLibs ${CoreExtraLibs} libzstd_static)
++endif()
+ 
+ # needed for VK_USE_PLATFORM_XCB_KHR only
+ #if(VULKAN AND NOT WIN32)
+diff '--color=auto' -rupN libretro-ppsspp.orig/ext/CMakeLists.txt libretro-ppsspp/ext/CMakeLists.txt
+--- libretro-ppsspp.orig/ext/CMakeLists.txt	2021-10-01 17:28:30.136664237 +0200
++++ libretro-ppsspp/ext/CMakeLists.txt	2021-10-01 17:30:45.282654341 +0200
+@@ -22,4 +22,3 @@ add_subdirectory(SPIRV-Cross-build)
+ if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
+ 	add_subdirectory(discord-rpc-build)
+ endif()
+-add_subdirectory(zstd/build/cmake EXCLUDE_FROM_ALL)



More information about the arch-commits mailing list