summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2017-11-17 19:41:57 +0100
committerMichel Zou2017-11-17 19:41:57 +0100
commit483f0fb5c23376e53d2afdb52660f93f3d1d1fc8 (patch)
treee6548abc2305f09b13fc5f124ed88d012707307c
parenta777ea6e1e1594b26dd2bcacb4e34b3d394234d9 (diff)
downloadaur-483f0fb5c23376e53d2afdb52660f93f3d1d1fc8.tar.gz
cleanly disable
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1f999c6e9e..075dda0bc4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri Nov 17 18:36:54 UTC 2017
+# Fri Nov 17 18:41:57 UTC 2017
pkgbase = pyside2-git
pkgver = 2.0.0.r5325.ad14f649
pkgrel = 1
diff --git a/PKGBUILD b/PKGBUILD
index 0389b3907b4..33b84977c3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,9 +28,6 @@ pkgver() {
prepare() {
cd "$srcdir"/$pkgbase/sources/pyside2
-
- # WebKitWidgets fails
- sed -i "s|WebKitWidgets WebSockets|WebSockets|g" CMakeLists.txt
}
build(){
@@ -43,7 +40,8 @@ build(){
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_PYTHON_VERSION=2 \
- -DBUILD_TESTS=OFF ..
+ -DBUILD_TESTS=OFF \
+ -DQt5WebKitWidgets_FOUND=FALSE ..
make
# Build for python3.
@@ -55,7 +53,8 @@ build(){
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_PYTHON_VERSION=3 \
- -DBUILD_TESTS=OFF ..
+ -DBUILD_TESTS=OFF \
+ -DQt5WebKitWidgets_FOUND=FALSE ..
make
}