diff options
author | Michel Zou | 2018-03-10 10:00:15 +0100 |
---|---|---|
committer | Michel Zou | 2018-03-10 10:00:15 +0100 |
commit | c4cd604ab637315af3f3cd1a7f949105b0aeb5c0 (patch) | |
tree | 429222d7a665aa4c5a7fc84792afd54dbaa54c0e | |
parent | a6221160ad8042e20f3154e2c97c6929b12e1ee2 (diff) | |
download | aur-c4cd604ab637315af3f3cd1a7f949105b0aeb5c0.tar.gz |
gcc
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 3 insertions, 13 deletions
@@ -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 @@ -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 } |