Commit 9cb345af authored by Luca Weiss's avatar Luca Weiss Committed by Bart Ribbers
Browse files

testing/py3-pyside2: new aport

parent 2719d635
Pipeline #68975 failed with stages
in 37 seconds
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-pyside2
pkgver=5.15.2
pkgrel=0
pkgdesc="Enables the use of Qt5 APIs in Python applications"
url="https://doc.qt.io/qtforpython-5/"
arch="all"
license="LGPL-3.0-only AND GPL-2.0-only"
depends="py3-shiboken2"
makedepends="
cmake
libshiboken2-dev
py3-shiboken2
qt5-qt3d-dev
qt5-qtbase-dev
qt5-qtcharts-dev
qt5-qtdatavis3d-dev
qt5-qtdeclarative-dev
qt5-qtlocation-dev
qt5-qtmultimedia-dev
qt5-qtquickcontrols2-dev
qt5-qtremoteobjects-dev
qt5-qtscript-dev
qt5-qtscxml-dev
qt5-qtsensors-dev
qt5-qtserialport-dev
qt5-qtspeech-dev
qt5-qtsvg-dev
qt5-qttools-dev
qt5-qtwebchannel-dev
qt5-qtwebsockets-dev
qt5-qtx11extras-dev
qt5-qtxmlpatterns-dev
shiboken2
"
if [ "$CARCH" != "ppc64le" ] && [ "$CARCH" != "s390x" ]; then
makedepends="$makedepends qt5-qtwebengine-dev"
fi
subpackages="$pkgname-dev"
# download.qt.io is down at the moment, see https://www.qt.io/blog/problem-with-open-source-downloads
#source="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/pyside-setup-opensource-src-$pkgver.tar.xz"
source="http://mirrors.ukfast.co.uk/sites/qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/pyside-setup-opensource-src-$pkgver.tar.xz"
builddir="$srcdir/pyside-setup-opensource-src-$pkgver"
options="!check" # Tests fail
build() {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DBUILD_TESTS=OFF \
sources/pyside2
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="5043c1c9db4ba0133baaabb4d4943182e9741b1007bedd992394758707a37bba0688dc6413ea46620e7c2fb09daa3c74e6a7bb2c302b9d08e5f3bb7575d02b62 pyside-setup-opensource-src-5.15.2.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment