Package Details: vita3k-git r1388.0dea8bf9-1

Git Clone URL: (read-only, click to copy)
Package Base: vita3k-git
Description: Experimental PlayStation Vita emulator
Upstream URL:
Keywords: emulation gaming
Licenses: GPL2
Conflicts: vita3k
Provides: vita3k
Submitter: aimileus
Maintainer: severin.kaderli
Last Packager: severin.kaderli
Votes: 5
Popularity: 0.000026
First Submitted: 2018-01-29 14:48
Last Updated: 2020-05-04 16:46

Latest Comments

1 2 Next › Last »

DDoSolitary commented on 2020-11-25 09:17

@severin.kaderli The gcc8 package has been removed from [community], making it pretty hard to build this package. I just did some experiments locally and found out that this package can be built using latest clang. Following is the patch for PKGBUILD. It replaces gcc8 with clang and patches discord_game_sdk to fix compilation errors.

diff --git a/PKGBUILD b/PKGBUILD
index afbefc2..11dd329 100644
@@ -11,9 +11,10 @@ license=('GPL2')
-   'gcc8'
+   'clang'
+   'unzip'
@@ -26,10 +27,13 @@ provides=('vita3k')
+   ""
+   'f86f15957cc9fbf04e3db10462027d58'

 pkgver() {
    cd "${_pkgname}"
@@ -39,13 +43,19 @@ pkgver() {
 prepare() {
    cd "${_pkgname}"
    git submodule update --recursive --init
+   mkdir -p build/external/discord_game_sdk
+   cd build/external
+   ln -sf "$srcdir"/ .
+   unzip -d discord_game_sdk
+   mv discord_game_sdk/lib/x86_64/{,lib}
+   sed -i 's/stdint\.h/cstdint/' discord_game_sdk/cpp/ffi.h

 build() {
    cd "${_pkgname}"

-   export CC="/usr/bin/gcc-8"
-   export CXX="/usr/bin/g++-8"
+   export CC="/usr/bin/clang"
+   export CXX="/usr/bin/clang++"

    mkdir -p build
    cd build/

severin.kaderli commented on 2020-05-04 16:47

The PKGBUILD should work again. I needed to use gcc8 to make it compile again.

severin.kaderli commented on 2020-05-03 15:38

@dnmodder Gonna take a look at it later today and try to fix the build.

dnmodder commented on 2020-05-01 20:46

This needs an update, the compilation steps have changed.

PedroHLC commented on 2020-01-22 16:10

Confirming it works. Thanks @severin.kaderli!

severin.kaderli commented on 2020-01-21 16:19

I updated the PKGBUILD. It now builds for me in a clean chroot. I also went ahead and enabled Vulkan support.

PedroHLC commented on 2020-01-06 10:33

I was wrong, it will ignore our packages and rebuild them all (it wouldn't work anyway as it's using them statically). You can remove the discord rpc hack thought, or reuse it to enable Vulkan support.

From the deps I've mentioned, you should instead add theirs depends and makedepends (as they will be build and redistributed). Except gtk3, vulkan-headers, and vulkan-icd-loader.

And even then, it's still not building in my clean chroot. This one will be fun to get working...

severin.kaderli commented on 2020-01-04 13:37

@PedroHLC Thank you. I adjusted the dependencies accordingly.

PedroHLC commented on 2020-01-03 19:59

So, consider adding these depends: from official repo: capstone spdlog unicorn yaml-cpp pugixml ffmpeg vulkan-icd-loader from AUR: elfio stb discord-rpc-api spirv-cross

And as makdepends: vulkan-headers glslang gtest

PedroHLC commented on 2020-01-03 19:40

Also, please add glslang and gtest as makedepends, this way they aren't rebuilt unnecessarily, speeding builds and not carrying on their dependencies. This probably can be done for other tools in external dir, but these two were not building because of missing or not configured dependencies.