summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Tsampas2024-03-29 15:37:06 +0200
committerStelios Tsampas2024-03-29 15:37:06 +0200
commitbdc9efc4397c8ff0a08fa150708e9b0a9e74afa7 (patch)
tree21cf282eaa70fdf3fdb965dea8f7da67b668b4f6
parent3a080300229dad529e195d76dd3f9f9c5eb84bb4 (diff)
downloadaur-bdc9efc4397c8ff0a08fa150708e9b0a9e74afa7.tar.gz
[ppsspp-git] Add openexr submodule
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
-rw-r--r--PKGBUILD.personal176
3 files changed, 3 insertions, 178 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 267c5651a6de..31995ad2d4b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ppsspp-git
pkgdesc = A PSP emulator written in C++
- pkgver = 1.17.1
+ pkgver = 1.17.1.r74.39fdba4f
pkgrel = 1
url = https://www.ppsspp.org/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index d959745aa087..2f72a4b58187 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ pkgname=(
ppsspp-git
ppsspp-assets-git
)
-pkgver=1.17.1
+pkgver=1.17.1.r74.39fdba4f
pkgrel=1
pkgdesc='A PSP emulator written in C++'
arch=(x86_64 aarch64)
@@ -64,6 +64,7 @@ prepare() {
ext/rapidjson
ext/rcheevos
ext/SPIRV-Cross
+ ext/OpenXR-SDK
)
# Explicitly set origin URL for submodules using relative paths
git remote set-url origin https://github.com/hrydgard/ppsspp.git
diff --git a/PKGBUILD.personal b/PKGBUILD.personal
deleted file mode 100644
index ad7959dd1565..000000000000
--- a/PKGBUILD.personal
+++ /dev/null
@@ -1,176 +0,0 @@
-# Maintainer:
-# Contributor: David Wu <xdavidwuph@gmail.com>
-# Contributor: Maxime Gauduin <alucryd@archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
-# Contributor: Ben Reedy <thebenj88@gmail.com>
-# Contributor: Clement Guerin <geecko.dev@free.fr>
-# Contributor: Thiago Kenji Okada <thiago.mast3r@gmail.com>
-# Contributor: uberushaximus <uberushaximus@gmail.com>
-
-pkgname=(
- ppsspp-git
- ppsspp-assets-git
-)
-pkgver=1.16.5.r44.aa411c2f09
-pkgrel=1
-_ffver=3.0.12
-pkgdesc='A PSP emulator written in C++'
-arch=(x86_64)
-url=https://www.ppsspp.org/
-license=(GPL2)
-makedepends=(
- clang
- lld
- cmake
- git
- glew
- glu
- libglvnd
- libzip
- ninja
- python
- qt5-base
- qt5-multimedia
- qt5-tools
- sdl2
- snappy
- zlib
-)
-options=(!lto)
-source=(
- git+https://github.com/hrydgard/ppsspp.git
- https://ffmpeg.org/releases/ffmpeg-$_ffver.tar.xz
- ppsspp-sdl.desktop
- ppsspp-qt.desktop
-)
-source_x86_64=(
- ppsspp-ffmpeg_x86-64.sh::https://raw.githubusercontent.com/hrydgard/ppsspp-ffmpeg/master/linux_x86-64.sh
-)
-b2sums=('SKIP'
- 'e978c76cdab638d4bf2718e0ec58fb0d4c7c4017d3100de76460fc8b148cb899066dbe92680aad19f7bd60c7c8924d966fcee22a53133be695ac8352a6ed01cc'
- 'c6bcdfedee866dfdcc82a8c333c31ff73ed0beec65b63acec8bc8186383c0bc9f0912f21bb9715b665e8dc1793b1a85599761f9037856fa54ad8aa3bfdbfd468'
- '328e2ba47b78d242b0ec6ba6bfa039c77a36d1ef7246e5c2c2432d8e976e9360baf505eb05f48408ede1a30545cbbb7f875bf5ebd0252cef35523d449b8254a0')
-b2sums_x86_64=(
- 'd5140fb7d56e3b7873a3174e3b9c96a5188309daa77b534d2e7e6355b6d74db4f672d8dc8daa968f272e824c9832fdac88e74794c93a4ac6b5aec271ddeada13')
-
-pkgver() {
- cd ppsspp
- git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./'
-}
-
-prepare() {
- cd ppsspp
- if [[ -d ffmpeg ]]; then
- rm -rf ffmpeg
- fi
- cp -r "$srcdir"/ffmpeg-$_ffver ffmpeg
- cp "$srcdir"/ppsspp-ffmpeg_x86_64.sh ffmpeg/
- chmod u+x ffmpeg/ppsspp-ffmpeg_x86_64.sh
- _ppsspp_submodules=(
- assets/lang
- ext/miniupnp
- ext/armips
- ext/cpu_features
- ext/discord-rpc
- ext/glslang
- ext/rapidjson
- ext/SPIRV-Cross
- ext/rcheevos
- ext/naett
- ext/libchdr
- )
- # Explicitly set origin URL for submodules using relative paths
- git remote set-url origin https://github.com/hrydgard/ppsspp.git
- for path in ${_ppsspp_submodules[@]}; do
- git submodule update --init --filter=tree:0 --recursive "$path"
- done
-}
-
-build() {
- export CC=clang
- export CXX=clang++
-
- # Rebuild ffmpeg locally
- pushd ppsspp/ffmpeg
- case "$CARCH" in
- x86_64)
- ./ppsspp-ffmpeg_x86-64.sh
- ;;
- esac
- popd
-
- cmake -S ppsspp -B build-sdl -G Ninja \
- -Wno-dev \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_C_COMPILER=clang \
- -DCMAKE_CXX_COMPILER=clang++ \
- -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
- -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
- -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
- -DCMAKE_SKIP_RPATH=ON \
- -DHEADLESS=ON \
- -DOpenGL_GL_PREFERENCE=GLVND \
- -DUSE_SYSTEM_FFMPEG=OFF \
- -DUSE_SYSTEM_MINIUPNPC=OFF \
- -DUSE_SYSTEM_LIBZIP=ON \
- -DUSE_SYSTEM_SNAPPY=ON \
- -DUSE_SYSTEM_ZSTD=ON \
- -DUSING_QT_UI=OFF
- cmake --build build-sdl -v
- cmake -S ppsspp -B build-qt -G Ninja \
- -Wno-dev \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_C_COMPILER=clang \
- -DCMAKE_CXX_COMPILER=clang++ \
- -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
- -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
- -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
- -DCMAKE_SKIP_RPATH=ON \
- -DHEADLESS=OFF \
- -DOpenGL_GL_PREFERENCE=GLVND \
- -DUSE_SYSTEM_FFMPEG=OFF \
- -DUSE_SYSTEM_MINIUPNPC=OFF \
- -DUSE_SYSTEM_LIBZIP=ON \
- -DUSE_SYSTEM_SNAPPY=ON \
- -DUSE_SYSTEM_ZSTD=ON \
- -DUSING_QT_UI=ON
- cmake --build build-qt -v
-}
-
-package_ppsspp-git() {
- depends=(
- glew
- glibc
- hicolor-icon-theme
- libgl
- libzip
- ppsspp-assets-git
- qt5-base
- qt5-multimedia
- sdl2
- snappy
- zlib
- zstd
- )
- provides=(ppsspp)
- conflicts=(ppsspp)
- install -Dm 755 build-sdl/PPSSPPSDL -t "${pkgdir}"/usr/bin/
- install -Dm 755 build-sdl/PPSSPPHeadless -t "${pkgdir}"/usr/bin/
- install -Dm 755 build-qt/PPSSPPQt -t "${pkgdir}"/usr/bin/
- install -dm 755 "${pkgdir}"/usr/share/icons
- cp -dr --no-preserve=ownership ppsspp/icons/hicolor "${pkgdir}"/usr/share/icons/
- install -Dm 644 ppsspp/icons/icon-512.svg "${pkgdir}"/usr/share/pixmaps/ppsspp.svg
- install -Dm 644 ppsspp-sdl.desktop -t "${pkgdir}"/usr/share/applications/
- install -Dm 644 ppsspp-qt.desktop -t "${pkgdir}"/usr/share/applications/
-}
-
-package_ppsspp-assets-git() {
- provides=(ppsspp-assets)
- conflicts=(ppsspp-assets)
- install -dm 755 "${pkgdir}"/usr/share/ppsspp
- cp -dr --no-preserve=ownership build-sdl/assets "${pkgdir}"/usr/share/ppsspp/
-}
-
-# vim: ts=2 sw=2 et: