diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-13 21:50:33 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-13 21:50:33 -0500 |
commit | 03ae409a37f7566a57d447983a0be7f23a48ac7a (patch) | |
tree | f0d864576b694c472a17a8dc9db97721eaf2d6a8 /pcr/ppsspp-git/PKGBUILD | |
parent | aa82c9db586067338ec27af210dcfd813da9a0b5 (diff) |
Removing ppsspp-git. Use ppsspp instead
Diffstat (limited to 'pcr/ppsspp-git/PKGBUILD')
-rw-r--r-- | pcr/ppsspp-git/PKGBUILD | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/pcr/ppsspp-git/PKGBUILD b/pcr/ppsspp-git/PKGBUILD deleted file mode 100644 index 1ff26fd99..000000000 --- a/pcr/ppsspp-git/PKGBUILD +++ /dev/null @@ -1,88 +0,0 @@ -# Maintainer: Márcio Silva <coadde@parabola.nu> - -# Based on ppsspp package - -_pkgbase=ppsspp -pkgbase=ppsspp-git -pkgname=('ppsspp-git' 'ppsspp-qt-git') -pkgver=r19085.01669cb -pkgrel=1 -pkgdesc='A PSP emulator written in C++' -arch=('i686' 'x86_64') -url='http://www.ppsspp.org/' -license=('GPL2') -depends=('ffmpeg' 'sdl2') -makedepends=('cmake' 'git' 'glu' 'qt5-tools') -source=("git+https://github.com/hrydgard/ppsspp.git" - 'git+https://github.com/hrydgard/ppsspp-lang.git' - 'ppsspp-armips::git+https://github.com/Kingcom/armips.git' - 'ppsspp.desktop') -sha256sums=('SKIP' - 'SKIP' - 'SKIP' - '1c332702d0aeced07df7e12ba8530bc3f19a52bc76c355f6c84c141becfd46d8') - -pkgver() { - cd ppsspp - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - cd ppsspp - - for submodule in lang ext/armips; do - git submodule init ${submodule} - git config submodule.${submodule}.url ../ppsspp-${submodule#*/} - git submodule update ${submodule} - done - - for ui in sdl qt; do - if [[ -d build-$ui ]]; then - rm -rf build-$ui - fi - mkdir build-$ui - done -} - -build() { - cd ppsspp/build-sdl - - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_SKIP_RPATH='TRUE' \ - -DUSE_SYSTEM_FFMPEG='TRUE' - make - - cd ../build-qt - - qmake-qt5 CONFIG+='release' CONFIG+='system_ffmpeg' ../Qt/PPSSPPQt.pro - make -} - -package_ppsspp-git() { - provides=("${_pkgbase}") - conflicts=("${_pkgbase}" "${_pkgbase}-qt" "${_pkgbase}-qt-git") - - cd ppsspp/build-sdl - - install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps,ppsspp}} - install -m 755 PPSSPPSDL "${pkgdir}"/usr/bin/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 - install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/ -} - -package_ppsspp-qt-git() { - depends+=('qt5-base') - provides=("${_pkgbase}") - conflicts=("${_pkgbase}" "${_pkgbase}-qt" "${_pkgbase}-qt-git") - - cd ppsspp/build-qt - - install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps}} - install -m 755 ppsspp "${pkgdir}"/usr/bin/ - install -m 644 ../assets/unix-icons/icon-512.svg "${pkgdir}"/usr/share/pixmaps/ppsspp.svg - install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/ -} - -# vim: ts=2 sw=2 et: |