vita3k-git: update PKGBUILD

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-11-05 17:22:56 +01:00
parent aa9b06334a
commit 06a7600e5e
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
2 changed files with 26 additions and 4 deletions

View file

@ -1,6 +1,6 @@
pkgbase = vita3k-git
pkgdesc = Experimental PlayStation Vita emulator
pkgver = r1255.daff95ff
pkgver = r1293.164267bb
pkgrel = 1
url = https://vita3k.org/
arch = x86_64
@ -8,7 +8,7 @@ pkgbase = vita3k-git
makedepends = clang
makedepends = cmake
makedepends = git
makedepends = python2
makedepends = python
depends = sdl2
provides = vita3k
conflicts = vita3k
@ -37,6 +37,14 @@ pkgbase = vita3k-git
source = git+https://github.com/discordapp/discord-rpc.git
source = git+https://github.com/zeux/pugixml.git
source = git+https://github.com/aantron/better-enums.git
source = git+https://github.com/illusionman1212/nativefiledialog-cmake.git
source = git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
source = git+https://github.com/Vita3K/sdl.git
source = git+https://github.com/Vita3K/libfat16.git
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP

View file

@ -2,7 +2,7 @@
# Contributor: aimileus < $(echo YWltaWxpdXNAcHJvdG9ubWFpbC5jb20K | base64 -d)
_pkgname=vita3k
pkgname=${_pkgname}-git
pkgver=r1255.daff95ff
pkgver=r1293.164267bb
pkgrel=1
pkgdesc="Experimental PlayStation Vita emulator"
arch=('x86_64')
@ -12,7 +12,7 @@ makedepends=(
'clang'
'cmake'
'git'
'python2'
'python'
)
depends=(
'sdl2'
@ -45,6 +45,10 @@ source=(
"git+https://github.com/discordapp/discord-rpc.git"
"git+https://github.com/zeux/pugixml.git"
"git+https://github.com/aantron/better-enums.git"
"git+https://github.com/illusionman1212/nativefiledialog-cmake.git"
"git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
"git+https://github.com/Vita3K/sdl.git"
"git+https://github.com/Vita3K/libfat16.git"
)
md5sums=(
'SKIP'
@ -72,6 +76,10 @@ md5sums=(
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)
pkgver() {
@ -106,6 +114,9 @@ prepare() {
git config submodule.src/external/discord-rpc.url "${srcdir}/discord-rpc"
git config submodule.src/external/pugixml.url "${srcdir}/pugixml"
git config submodule.src/external/better-enums.url "${srcdir}/better-enums"
git config submodule.src/external/nativefiledialog-cmake.url "${srcdir}/nativefiledialog-cmake"
git config submodule.src/external/VulkanMemoryAllocator.url "${srcdir}/VulkanMemoryAllocator"
git config submodule.src/external/libfat16.url "${srcdir}/libfat16"
git submodule update
}
@ -116,6 +127,9 @@ build() {
export CC="/usr/bin/clang"
export CXX="/usr/bin/clang++"
# Set the python
PYTHON_INCLUDE_PATH="$(python -c "from sysconfig import get_paths as gp; print(gp()['include'])")"
export CPATH="${PYTHON_INCLUDE_PATH}"
./gen-linux.sh
# Workaround for linking problem with discord-rpc