remove qt
This commit is contained in:
parent
c4fa404a9f
commit
4bfeafa42b
53
PKGBUILD
53
PKGBUILD
|
@ -6,15 +6,17 @@
|
||||||
# Contributor: uberushaximus <uberushaximus@gmail.com>
|
# Contributor: uberushaximus <uberushaximus@gmail.com>
|
||||||
|
|
||||||
pkgbase=ppsspp-git
|
pkgbase=ppsspp-git
|
||||||
pkgname=('ppsspp-git' 'ppsspp-qt-git')
|
pkgname='ppsspp-git'
|
||||||
pkgver=1.6.3.r383.22a536fb0
|
pkgver=1.6.3.r383.22a536fb0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A PSP emulator written in C++'
|
pkgdesc='A PSP emulator written in C++'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://www.ppsspp.org/'
|
url='http://www.ppsspp.org/'
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('gcc-libs' 'glew' 'glibc' 'libgl' 'sdl2' 'zlib')
|
provides=('ppsspp')
|
||||||
makedepends=('cmake' 'git' 'glu' 'libglvnd' 'libzip' 'qt5-tools')
|
conflicts=('ppsspp' 'ppsspp-qt' 'ppsspp-qt-git')
|
||||||
|
depends=('gcc-libs' 'glew' 'glibc' 'libgl' 'sdl2' 'zlib' 'hicolor-icon-theme' 'libzip')
|
||||||
|
makedepends=('cmake' 'git' 'glu' 'libglvnd' 'libzip')
|
||||||
source=('git+https://github.com/hrydgard/ppsspp.git'
|
source=('git+https://github.com/hrydgard/ppsspp.git'
|
||||||
'git+https://github.com/Kingcom/armips.git'
|
'git+https://github.com/Kingcom/armips.git'
|
||||||
'git+https://github.com/discordapp/discord-rpc.git'
|
'git+https://github.com/discordapp/discord-rpc.git'
|
||||||
|
@ -25,9 +27,7 @@ source=('git+https://github.com/hrydgard/ppsspp.git'
|
||||||
'git+https://github.com/KhronosGroup/SPIRV-Cross.git'
|
'git+https://github.com/KhronosGroup/SPIRV-Cross.git'
|
||||||
'armips-tinyformat::git+https://github.com/Kingcom/tinyformat.git'
|
'armips-tinyformat::git+https://github.com/Kingcom/tinyformat.git'
|
||||||
'ppsspp.sh'
|
'ppsspp.sh'
|
||||||
'ppsspp-qt.sh'
|
|
||||||
'ppsspp.desktop'
|
'ppsspp.desktop'
|
||||||
'ppsspp-qt.desktop'
|
|
||||||
'ppsspp-flags.patch')
|
'ppsspp-flags.patch')
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
|
@ -39,9 +39,7 @@ sha256sums=('SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'2c2d1ee6d1ce5c2acec372d58b8079885f6d5d674633cfea489cd550252a5426'
|
'2c2d1ee6d1ce5c2acec372d58b8079885f6d5d674633cfea489cd550252a5426'
|
||||||
'828b06aacc56672a4d953d77342717c5be414a68261025f74e466abd084b8e6b'
|
|
||||||
'1c332702d0aeced07df7e12ba8530bc3f19a52bc76c355f6c84c141becfd46d8'
|
'1c332702d0aeced07df7e12ba8530bc3f19a52bc76c355f6c84c141becfd46d8'
|
||||||
'b3b1fb9e0ecd3c4472b51f27d028a69514b1a3823c26e33da6ffaebfb1522b7f'
|
|
||||||
'6694643d96dae673f01555637139468eb277f3379afbcceccad3f7e0ae670278')
|
'6694643d96dae673f01555637139468eb277f3379afbcceccad3f7e0ae670278')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
@ -76,12 +74,10 @@ prepare() {
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
for ui in sdl qt; do
|
if [[ -d build-sdl ]]; then
|
||||||
if [[ -d build-$ui ]]; then
|
rm -rf build-sdl
|
||||||
rm -rf build-$ui
|
fi
|
||||||
fi
|
mkdir build-sdl
|
||||||
mkdir build-$ui
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -93,22 +89,9 @@ build() {
|
||||||
-DHEADLESS='ON' \
|
-DHEADLESS='ON' \
|
||||||
-DUSE_SYSTEM_LIBZIP='ON'
|
-DUSE_SYSTEM_LIBZIP='ON'
|
||||||
make
|
make
|
||||||
|
|
||||||
cd ../build-qt
|
|
||||||
|
|
||||||
cmake .. \
|
|
||||||
-DCMAKE_BUILD_TYPE='Release' \
|
|
||||||
-DCMAKE_SKIP_RPATH='ON' \
|
|
||||||
-DUSE_SYSTEM_LIBZIP='ON' \
|
|
||||||
-DUSING_QT_UI='ON'
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_ppsspp-git() {
|
package() {
|
||||||
depends+=('hicolor-icon-theme' 'libzip')
|
|
||||||
provides=('ppsspp')
|
|
||||||
conflicts=('ppsspp' 'ppsspp-qt' 'ppsspp-qt-git')
|
|
||||||
|
|
||||||
cd ppsspp/build-sdl
|
cd ppsspp/build-sdl
|
||||||
|
|
||||||
install -dm 755 "${pkgdir}"/{opt/ppsspp,usr/{bin,share/{applications,icons,pixmaps}}}
|
install -dm 755 "${pkgdir}"/{opt/ppsspp,usr/{bin,share/{applications,icons,pixmaps}}}
|
||||||
|
@ -120,20 +103,4 @@ package_ppsspp-git() {
|
||||||
install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/
|
install -m 644 ../../ppsspp.desktop "${pkgdir}"/usr/share/applications/
|
||||||
}
|
}
|
||||||
|
|
||||||
package_ppsspp-qt-git() {
|
|
||||||
depends+=('hicolor-icon-theme' 'libzip' 'qt5-base')
|
|
||||||
provides=('ppsspp-qt')
|
|
||||||
conflicts=('ppsspp' 'ppsspp-git' 'ppsspp-qt')
|
|
||||||
|
|
||||||
cd ppsspp/build-qt
|
|
||||||
|
|
||||||
install -dm 755 "${pkgdir}"/{opt/ppsspp,usr/{bin,share/{applications,icons,pixmaps}}}
|
|
||||||
install -m 755 PPSSPPQt "${pkgdir}"/opt/ppsspp/
|
|
||||||
cp -dr --no-preserve='ownership' assets "${pkgdir}"/opt/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 755 ../../ppsspp-qt.sh "${pkgdir}"/usr/bin/ppsspp-qt
|
|
||||||
install -m 644 ../../ppsspp-qt.desktop "${pkgdir}"/usr/share/applications/
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim ts=2 sw=2 et:
|
# vim ts=2 sw=2 et:
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Type=Application
|
|
||||||
Name=PPSSPP (Qt)
|
|
||||||
GenericName=PSP Emulator
|
|
||||||
Comment=PlayStation Portable Simulator Suitable for Playing Portably (PPSSPP)
|
|
||||||
Exec=ppsspp-qt %f
|
|
||||||
Icon=ppsspp
|
|
||||||
Categories=Game
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
cd /opt/ppsspp
|
|
||||||
exec ./PPSSPPQt "$@"
|
|
Loading…
Reference in New Issue
Block a user