Merge pull request #5318 from bra1nwave/ppsspp

ppsspp: update to 1.3.
This commit is contained in:
Enno Boland 2017-01-10 17:44:49 +01:00 committed by GitHub
commit 5eb7afae50
3 changed files with 17 additions and 26 deletions

View file

@ -1,3 +0,0 @@
#!/bin/sh
cd /usr/share/ppsspp
exec ./PPSSPPHeadless $@

View file

@ -1,3 +0,0 @@
#!/bin/sh
cd /usr/share/ppsspp
exec ./PPSSPPSDL $@

View file

@ -1,12 +1,12 @@
# Template file for 'ppsspp' # Template file for 'ppsspp'
pkgname=ppsspp pkgname=ppsspp
version=1.1.1 version=1.3
revision=1 revision=1
build_wrksrc="${pkgname}-${version}" build_wrksrc="${pkgname}-${version}"
build_style=cmake build_style=cmake
configure_args="-DHEADLESS=1" configure_args="-DHEADLESS=1"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="zlib-devel libpng-devel SDL2-devel" makedepends="zlib-devel glew-devel SDL2-devel"
depends="desktop-file-utils" depends="desktop-file-utils"
short_desc="A fast and portable PSP emulator" short_desc="A fast and portable PSP emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -15,14 +15,14 @@ homepage="http://www.ppsspp.org/"
create_wrksrc=yes create_wrksrc=yes
distfiles=" distfiles="
https://github.com/hrydgard/ppsspp/archive/v${version}.tar.gz https://github.com/hrydgard/ppsspp/archive/v${version}.tar.gz
https://github.com/hrydgard/ppsspp-ffmpeg/archive/a7cae9c.tar.gz https://github.com/hrydgard/ppsspp-ffmpeg/archive/0813d5e.tar.gz
https://github.com/hrydgard/ppsspp-lang/archive/a86ff6a.tar.gz https://github.com/hrydgard/ppsspp-lang/archive/5f474b1.tar.gz
https://github.com/Kingcom/armips/archive/9b225d9.tar.gz" https://github.com/Kingcom/armips/archive/309a151.tar.gz"
checksum=" checksum="
4bcd1cc1b3b1f50f5ebbde8dfd47aceffebc07624c03ea651e80c87ce5f68cc8 ada81d1bdbb0ec7d1395d3473602087767bb2deb2a8b015ddcfd1f5d08609a52
b839c78ad1241c51a32f71390352fbe3a923d81292a020440d477cde4da2c595 c0314b0c755749185f97ebcf8dddf24b9965154b00262238ce1261ad7f84501b
0b900d829105e9174b3e43af78ae59529bd206ce6ab1c6b5db91741a78fd3920 983e3bad600fa199e2fe668f519d288b59f256a1090ce35914e129df04e833eb
5d412c47de19d72d97abc960aab846e04d4c3c8c181f392e9013529c4c038ee8" 36fedadf8ca2fd52a5254bb70065f7a9a8c59081ed016168bc8cc34255675cbc"
nocross=yes nocross=yes
pre_configure() { pre_configure() {
@ -36,17 +36,14 @@ pre_configure() {
} }
do_install() { do_install() {
cd build vlicense LICENSE.TXT
install -Dm644 ../LICENSE.TXT "$DESTDIR/usr/share/licenses/ppsspp/LICENSE.TXT" vinstall assets/icon.svg 644 usr/share/pixmaps ppsspp.svg
install -Dm644 ../assets/icon.svg "$DESTDIR/usr/share/icons/ppsspp.svg" vinstall Qt/PPSSPP.desktop 644 usr/share/applications
install -Dm644 ../Qt/PPSSPP.desktop "$DESTDIR/usr/share/applications/PPSSPP.desktop" vbin build/PPSSPPSDL ppsspp-sdl
install -Dm755 ${FILESDIR}/ppsspp-sdl.sh "$DESTDIR/usr/bin/ppsspp-sdl" vbin build/PPSSPPHeadless ppsspp-headless
install -Dm755 ${FILESDIR}/ppsspp-headless.sh "$DESTDIR/usr/bin/ppsspp-headless" vmkdir usr/share/ppsspp
install -Dm755 PPSSPPSDL "$DESTDIR/usr/share/ppsspp/PPSSPPSDL" vcopy build/assets usr/share/ppsspp/
install -Dm755 PPSSPPHeadless "$DESTDIR/usr/share/ppsspp/"
cd assets
find . -type f -exec install -Dm644 {} "$DESTDIR/usr/share/ppsspp/assets/"{} \;
sed -e 's,^Exec=.*,Exec=/usr/bin/ppsspp-sdl,' -i $DESTDIR/usr/share/applications/PPSSPP.desktop sed -e 's,^Exec=.*,Exec=/usr/bin/ppsspp-sdl,' -i $DESTDIR/usr/share/applications/PPSSPP.desktop
sed -e 's,^Icon=.*,Icon=/usr/share/icons/ppsspp.svg,' -i $DESTDIR/usr/share/applications/PPSSPP.desktop sed -e 's,^Icon=.*,Icon=/usr/share/pixmaps/ppsspp.svg,' -i $DESTDIR/usr/share/applications/PPSSPP.desktop
} }