ppsspp-git 1.3.r146.9c08b60-1

master
Maxime Gauduin 2016-11-08 10:54:43 +01:00
parent 67c85e9ac2
commit baee328c68
2 changed files with 22 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Fri May 6 09:37:14 UTC 2016 # Tue Nov 8 09:54:42 UTC 2016
pkgbase = ppsspp-git pkgbase = ppsspp-git
pkgdesc = A PSP emulator written in C++ pkgdesc = A PSP emulator written in C++
pkgver = 1.2.2.r353.a4ca07e pkgver = 1.3.r146.9c08b60
pkgrel = 1 pkgrel = 1
url = http://www.ppsspp.org/ url = http://www.ppsspp.org/
arch = i686 arch = i686
@ -11,6 +11,7 @@ pkgbase = ppsspp-git
makedepends = cmake makedepends = cmake
makedepends = git makedepends = git
makedepends = glu makedepends = glu
makedepends = qt5-multimedia
makedepends = qt5-tools makedepends = qt5-tools
depends = gcc-libs depends = gcc-libs
depends = glew depends = glew
@ -53,6 +54,7 @@ pkgname = ppsspp-qt-git
depends = libswresample.so depends = libswresample.so
depends = libswscale.so depends = libswscale.so
depends = qt5-base depends = qt5-base
depends = qt5-multimedia
provides = ppsspp provides = ppsspp
conflicts = ppsspp conflicts = ppsspp
conflicts = ppsspp-git conflicts = ppsspp-git

View File

@ -7,7 +7,7 @@
pkgbase=ppsspp-git pkgbase=ppsspp-git
pkgname=('ppsspp-git' 'ppsspp-qt-git') pkgname=('ppsspp-git' 'ppsspp-qt-git')
pkgver=1.2.2.r353.a4ca07e pkgver=1.3.r146.9c08b60
pkgrel=1 pkgrel=1
pkgdesc='A PSP emulator written in C++' pkgdesc='A PSP emulator written in C++'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -16,7 +16,7 @@ license=('GPL2')
depends=('gcc-libs' 'glew' 'glibc' 'libgl' 'libzip' 'sdl2' 'zlib' depends=('gcc-libs' 'glew' 'glibc' 'libgl' 'libzip' 'sdl2' 'zlib'
'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libswresample.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libswresample.so'
'libswscale.so') 'libswscale.so')
makedepends=('cmake' 'git' 'glu' 'qt5-tools') makedepends=('cmake' 'git' 'glu' 'qt5-multimedia' 'qt5-tools')
source=('git+https://github.com/hrydgard/ppsspp.git' source=('git+https://github.com/hrydgard/ppsspp.git'
'git+https://github.com/hrydgard/ppsspp-lang.git' 'git+https://github.com/hrydgard/ppsspp-lang.git'
'ppsspp-armips::git+https://github.com/Kingcom/armips.git' 'ppsspp-armips::git+https://github.com/Kingcom/armips.git'
@ -35,7 +35,7 @@ pkgver() {
prepare() { prepare() {
cd ppsspp cd ppsspp
for submodule in lang ext/armips; do for submodule in assets/lang ext/armips; do
git submodule init ${submodule} git submodule init ${submodule}
git config submodule.${submodule}.url ../ppsspp-${submodule#*/} git config submodule.${submodule}.url ../ppsspp-${submodule#*/}
git submodule update ${submodule} git submodule update ${submodule}
@ -54,13 +54,17 @@ build() {
cmake .. \ cmake .. \
-DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_SKIP_RPATH='TRUE' \ -DCMAKE_SKIP_RPATH='ON' \
-DUSE_SYSTEM_FFMPEG='TRUE' -DUSE_SYSTEM_FFMPEG='ON'
make make
cd ../build-qt cd ../build-qt
qmake-qt5 CONFIG+='release' CONFIG+='system_ffmpeg' ../Qt/PPSSPPQt.pro cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_SKIP_RPATH='ON' \
-DUSE_SYSTEM_FFMPEG='ON' \
-DUSING_QT_UI='ON'
make make
} }
@ -70,23 +74,26 @@ package_ppsspp-git() {
cd ppsspp/build-sdl cd ppsspp/build-sdl
install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,man/man1,pixmaps,ppsspp}} install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,icons,man/man1,pixmaps,ppsspp}}
install -m 755 PPSSPPSDL "${pkgdir}"/usr/bin/ppsspp install -m 755 PPSSPPSDL "${pkgdir}"/usr/bin/ppsspp
cp -dr --no-preserve='ownership' assets "${pkgdir}"/usr/share/ppsspp/ cp -dr --no-preserve='ownership' assets "${pkgdir}"/usr/share/ppsspp/
install -m 644 ../assets/unix-icons/icon-512.svg "${pkgdir}"/usr/share/pixmaps/ppsspp.svg cp -dr --no-preserve='ownership' ../icons/hicolor "${pkgdir}"/usr/share/icons/
install -m 644 ../icons/icon-512.svg "${pkgdir}"/usr/share/pixmaps/ppsspp.svg
install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/ install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/
} }
package_ppsspp-qt-git() { package_ppsspp-qt-git() {
depends+=('qt5-base') depends+=('qt5-base' 'qt5-multimedia')
provides=('ppsspp') provides=('ppsspp')
conflicts=('ppsspp' 'ppsspp-git' 'ppsspp-qt') conflicts=('ppsspp' 'ppsspp-git' 'ppsspp-qt')
cd ppsspp/build-qt cd ppsspp/build-qt
install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,man/man1,pixmaps}} install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,man/man1,pixmaps}}
install -m 755 ppsspp "${pkgdir}"/usr/bin/ install -m 755 PPSSPPQt "${pkgdir}"/usr/bin/ppsspp
install -m 644 ../assets/unix-icons/icon-512.svg "${pkgdir}"/usr/share/pixmaps/ppsspp.svg cp -dr --no-preserve='ownership' assets "${pkgdir}"/usr/share/ppsspp/
cp -dr --no-preserve='ownership' ../icons/hicolor "${pkgdir}"/usr/share/icons/
install -m 644 ../icons/icon-512.svg "${pkgdir}"/usr/share/pixmaps/ppsspp.svg
install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/ install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/
} }