ppsspp: update to 1.3.
This commit is contained in:
parent
de5e657fbe
commit
c255c55570
3 changed files with 17 additions and 26 deletions
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
cd /usr/share/ppsspp
|
||||
exec ./PPSSPPHeadless $@
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
cd /usr/share/ppsspp
|
||||
exec ./PPSSPPSDL $@
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'ppsspp'
|
||||
pkgname=ppsspp
|
||||
version=1.1.1
|
||||
version=1.3
|
||||
revision=1
|
||||
build_wrksrc="${pkgname}-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DHEADLESS=1"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel libpng-devel SDL2-devel"
|
||||
makedepends="zlib-devel glew-devel SDL2-devel"
|
||||
depends="desktop-file-utils"
|
||||
short_desc="A fast and portable PSP emulator"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -15,14 +15,14 @@ homepage="http://www.ppsspp.org/"
|
|||
create_wrksrc=yes
|
||||
distfiles="
|
||||
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-lang/archive/a86ff6a.tar.gz
|
||||
https://github.com/Kingcom/armips/archive/9b225d9.tar.gz"
|
||||
https://github.com/hrydgard/ppsspp-ffmpeg/archive/0813d5e.tar.gz
|
||||
https://github.com/hrydgard/ppsspp-lang/archive/5f474b1.tar.gz
|
||||
https://github.com/Kingcom/armips/archive/309a151.tar.gz"
|
||||
checksum="
|
||||
4bcd1cc1b3b1f50f5ebbde8dfd47aceffebc07624c03ea651e80c87ce5f68cc8
|
||||
b839c78ad1241c51a32f71390352fbe3a923d81292a020440d477cde4da2c595
|
||||
0b900d829105e9174b3e43af78ae59529bd206ce6ab1c6b5db91741a78fd3920
|
||||
5d412c47de19d72d97abc960aab846e04d4c3c8c181f392e9013529c4c038ee8"
|
||||
ada81d1bdbb0ec7d1395d3473602087767bb2deb2a8b015ddcfd1f5d08609a52
|
||||
c0314b0c755749185f97ebcf8dddf24b9965154b00262238ce1261ad7f84501b
|
||||
983e3bad600fa199e2fe668f519d288b59f256a1090ce35914e129df04e833eb
|
||||
36fedadf8ca2fd52a5254bb70065f7a9a8c59081ed016168bc8cc34255675cbc"
|
||||
nocross=yes
|
||||
|
||||
pre_configure() {
|
||||
|
@ -36,17 +36,14 @@ pre_configure() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
cd build
|
||||
install -Dm644 ../LICENSE.TXT "$DESTDIR/usr/share/licenses/ppsspp/LICENSE.TXT"
|
||||
install -Dm644 ../assets/icon.svg "$DESTDIR/usr/share/icons/ppsspp.svg"
|
||||
install -Dm644 ../Qt/PPSSPP.desktop "$DESTDIR/usr/share/applications/PPSSPP.desktop"
|
||||
install -Dm755 ${FILESDIR}/ppsspp-sdl.sh "$DESTDIR/usr/bin/ppsspp-sdl"
|
||||
install -Dm755 ${FILESDIR}/ppsspp-headless.sh "$DESTDIR/usr/bin/ppsspp-headless"
|
||||
install -Dm755 PPSSPPSDL "$DESTDIR/usr/share/ppsspp/PPSSPPSDL"
|
||||
install -Dm755 PPSSPPHeadless "$DESTDIR/usr/share/ppsspp/"
|
||||
cd assets
|
||||
find . -type f -exec install -Dm644 {} "$DESTDIR/usr/share/ppsspp/assets/"{} \;
|
||||
vlicense LICENSE.TXT
|
||||
vinstall assets/icon.svg 644 usr/share/pixmaps ppsspp.svg
|
||||
vinstall Qt/PPSSPP.desktop 644 usr/share/applications
|
||||
vbin build/PPSSPPSDL ppsspp-sdl
|
||||
vbin build/PPSSPPHeadless ppsspp-headless
|
||||
vmkdir usr/share/ppsspp
|
||||
vcopy build/assets usr/share/ppsspp/
|
||||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue