author | Antonio Rojas
<arojas@archlinux.org> 2019-03-21 12:36:21 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2019-03-21 12:36:21 UTC |
parent | f8def77f5e64c3fad75b1a79f2af3b6600d66de4 |
PKGBUILD | +7 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index ad34c25..32dee41 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=pyside2 -_qtver=5.12.1 +_qtver=5.12.2 pkgver=${_qtver/-/} pkgrel=1 arch=(x86_64) @@ -12,7 +12,7 @@ pkgdesc='Enables the use of Qt5 APIs in Python applications' depends=(python-shiboken2 qt5-base) makedepends=(shiboken2 cmake qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine qt5-datavis3d - qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml qt5-x11extras) + qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml qt5-x11extras qt5-remoteobjects) optdepends=('qt5-svg: QtSvg bindings' 'qt5-script: QtScript bindings' 'qt5-speech: QtTextToSpeech bindings' @@ -24,14 +24,15 @@ optdepends=('qt5-svg: QtSvg bindings' 'qt5-3d: Qt3D bindings' 'qt5-x11extras: QtX11Extras bindings' 'qt5-charts: QtCharts bindings' - 'qt5-tools: QtHelp bindings') + 'qt5-tools: QtHelp bindings' + 'qt5-remoteobjects: QtRemoteObjects bindings') groups=(qt qt5) conflicts=(python-pyside2) provides=(python-pyside2) replaces=(python-pyside2) _pkgfqn=pyside-setup-everywhere-src-${_qtver} source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz") -sha256sums=('6e26b6240b97558b8bf3c97810e950ef4121a03a1ebdecfb649992a505f18059') +sha256sums=('96f2cb04f860654492a99522ef8e1cf4fa251ec32e00b42a299092f29684afff') prepare() { mkdir -p build @@ -42,7 +43,8 @@ build() { cmake ../${_pkgfqn}/sources/pyside2 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTS=OFF \ - -DUSE_PYTHON_VERSION=3 + -DPYTHON_EXECUTABLE=/usr/bin/python \ + -DCMAKE_BUILD_TYPE=None # https://bugreports.qt.io/browse/PYSIDE-980 make }