[arch-commits] Commit in libretro-ppsspp/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Jun 3 12:49:43 UTC 2018
Date: Sunday, June 3, 2018 @ 12:49:42
Author: alucryd
Revision: 339121
archrelease: copy trunk to community-x86_64
Added:
libretro-ppsspp/repos/community-x86_64/PKGBUILD
(from rev 339120, libretro-ppsspp/trunk/PKGBUILD)
Deleted:
libretro-ppsspp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 145 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 72 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-03 12:49:31 UTC (rev 339120)
+++ PKGBUILD 2018-06-03 12:49:42 UTC (rev 339121)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Duck Hunt <vaporeon at tfwno.gf>
-
-pkgname=libretro-ppsspp
-pkgver=23325
-pkgrel=1
-pkgdesc='Sony PlayStation Portable core'
-arch=('x86_64')
-url='https://github.com/libretro/libretro-ppsspp'
-license=('GPL2')
-groups=('libretro')
-depends=('gcc-libs' 'glibc' 'libgl' 'libretro-core-info')
-makedepends=('git')
-_commit='dd73f9110d49a83478216672ea4880a1998c1ed2'
-source=("libretro-ppsspp::git+https://github.com/libretro/ppsspp.git#commit=${_commit}"
- 'ppsspp-ffmpeg::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/Kingcom/armips.git'
- 'armips-tinyformat::git+https://github.com/Kingcom/tinyformat.git'
- 'git+https://github.com/KhronosGroup/SPIRV-Cross.git')
-sha256sums=('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/{SPIRV-Cross,armips}; 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 libretro-ppsspp/libretro
-
- make WITH_DYNAREC='x86_64'
-}
-
-package() {
- cd libretro-ppsspp/libretro
-
- install -Dm 644 ppsspp_libretro.so -t "${pkgdir}"/usr/lib/libretro/
- install -Dm 644 ../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 339120, libretro-ppsspp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-03 12:49:42 UTC (rev 339121)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgname=libretro-ppsspp
+pkgver=24309
+pkgrel=1
+pkgdesc='Sony PlayStation Portable core'
+arch=('x86_64')
+url='https://github.com/libretro/libretro-ppsspp'
+license=('GPL2')
+groups=('libretro')
+depends=('libgl' 'libretro-core-info' 'sdl2' 'snappy' 'zlib')
+makedepends=('cmake' 'git')
+_commit='ad1b75292f9fd4a3a868d16dc25ce357e31cc177'
+source=("git+https://github.com/hrydgard/ppsspp.git#commit=${_commit}"
+ '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/Kingcom/armips.git'
+ 'git+https://github.com/KhronosGroup/SPIRV-Cross.git')
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd ppsspp
+
+ git rev-list --count HEAD
+}
+
+prepare() {
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+
+ cd ppsspp
+
+ for submodule in assets/lang ext/glslang ffmpeg; do
+ git submodule init ${submodule}
+ git config submodule.${submodule}.url ../ppsspp-${submodule#*/}
+ git submodule update ${submodule}
+ done
+ for submodule in ext/{SPIRV-Cross,armips}; do
+ git submodule init ${submodule}
+ git config submodule.${submodule}.url ../${submodule#*/}
+ git submodule update ${submodule}
+ done
+}
+
+build() {
+ cd build
+
+ cmake ../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 ../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