[arch-commits] Commit in libretro-ppsspp/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu Jan 23 12:57:00 UTC 2020
Date: Thursday, January 23, 2020 @ 12:57:00
Author: alucryd
Revision: 554948
archrelease: copy trunk to community-x86_64
Added:
libretro-ppsspp/repos/community-x86_64/PKGBUILD
(from rev 554947, libretro-ppsspp/trunk/PKGBUILD)
Deleted:
libretro-ppsspp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 194 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 96 insertions(+), 98 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-23 12:56:54 UTC (rev 554947)
+++ PKGBUILD 2020-01-23 12:57:00 UTC (rev 554948)
@@ -1,98 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Duck Hunt <vaporeon at tfwno.gf>
-
-pkgname=libretro-ppsspp
-pkgver=24922
-pkgrel=1
-pkgdesc='Sony PlayStation Portable core'
-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 libretro-ppsspp
-
- git rev-list --count HEAD
-}
-
-prepare() {
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build
-
- cd libretro-ppsspp
-
- 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/{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 ../libretro-ppsspp \
- -DCMAKE_BUILD_TYPE='Release' \
- -DCMAKE_SKIP_RPATH='ON' \
- -DLIBRETRO='ON'
- make
-}
-
-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/
-}
-
-# vim: ts=2 sw=2 et:
Copied: libretro-ppsspp/repos/community-x86_64/PKGBUILD (from rev 554947, libretro-ppsspp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-23 12:57:00 UTC (rev 554948)
@@ -0,0 +1,96 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgname=libretro-ppsspp
+pkgver=26421
+pkgrel=1
+pkgdesc='Sony PlayStation Portable core'
+arch=(x86_64)
+url=https://github.com/libretro/ppsspp
+license=(GPL2)
+groups=(libretro)
+depends=(
+ glew
+ libgl
+ libretro-core-info
+ zlib
+)
+makedepends=(
+ cmake
+ git
+ libglvnd
+ mesa
+ python
+)
+source=(
+ 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
+ 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 libretro-ppsspp
+
+ git rev-list --count HEAD
+}
+
+prepare() {
+ cd libretro-ppsspp
+
+ 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/{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 \
+ -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/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list