summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 3 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7043babf4e9..5876bd5723d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Mar 8 20:22:01 UTC 2018
+# Sat Mar 10 09:00:15 UTC 2018
pkgbase = pyside2-git
pkgver = 5.9.0.r5542.507beab9
pkgrel = 1
diff --git a/PKGBUILD b/PKGBUILD
index 3f68f6b315b..a985f14e4d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,20 +30,15 @@ prepare() {
cd "$srcdir"/$pkgbase/sources/pyside2
}
-build(){
+build() {
# QtWebKitWidgets: https://bugreports.qt.io/browse/PYSIDE-598
- cmake_args="-DQt5WebKitWidgets_FOUND=FALSE"
+ cmake_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DQt5WebKitWidgets_FOUND=FALSE"
# Build for python2.
cd "$srcdir"/$pkgbase/sources/pyside2
mkdir -p build-py2 && cd build-py2
cmake \
- -DCMAKE_C_COMPILER=/usr/bin/clang \
- -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
-DUSE_PYTHON_VERSION=2 \
- -DBUILD_TESTS=OFF \
${cmake_args} ..
make
@@ -51,12 +46,7 @@ build(){
cd "$srcdir"/$pkgbase/sources/pyside2
mkdir -p build-py3 && cd build-py3
cmake \
- -DCMAKE_C_COMPILER=/usr/bin/clang \
- -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
-DUSE_PYTHON_VERSION=3 \
- -DBUILD_TESTS=OFF \
${cmake_args} ..
make
}