summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxdavidwu2020-10-21 23:16:16 +0800
committerxdavidwu2020-10-21 23:16:16 +0800
commitabd6f142358773ac2e89c96d4e8ce36c94d076c5 (patch)
treeed8d5914ed7b96f00d740fe5e83783b888e84aa1
parent2f11bf7865b2fd22ce2d2771d3eb94112dfecfe7 (diff)
downloadaur-abd6f142358773ac2e89c96d4e8ce36c94d076c5.tar.gz
use system snappy
-rw-r--r--PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0cc1bfcd770..297cf066abf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,12 +18,12 @@ arch=(x86_64)
url=http://www.ppsspp.org/
license=(GPL2)
depends=(
- gcc-libs
glew
glibc
libgl
sdl2
zlib
+ snappy
)
makedepends=(
cmake
@@ -117,7 +117,9 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DHEADLESS=ON \
- -DUSE_SYSTEM_LIBZIP=ON
+ -DUSE_SYSTEM_LIBZIP=ON \
+ -DUSE_SYSTEM_SNAPPY=ON \
+ -DOpenGL_GL_PREFERENCE=GLVND
make
cd ../build-qt
@@ -126,7 +128,9 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DUSE_SYSTEM_LIBZIP=ON \
- -DUSING_QT_UI=ON
+ -DUSING_QT_UI=ON \
+ -DUSE_SYSTEM_SNAPPY=ON \
+ -DOpenGL_GL_PREFERENCE=GLVND
make
}