mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
It fails to build, with: > _Z35init_QOpenGLVersionFunctionsFactoryP7_object: symbol not found See: alpine/aports#12718
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
pkgname=py3-pyside6
|
|
pkgver=6.0.4
|
|
pkgrel=0
|
|
pkgdesc="Enables the use of Qt6 APIs in Python applications"
|
|
url="https://doc.qt.io/qtforpython-6/"
|
|
# mips64: blocked by py3-shiboken6
|
|
# armhf: ftbts
|
|
arch="all !mips64 !armhf"
|
|
license="LGPL-3.0-only AND GPL-2.0-only"
|
|
depends="py3-shiboken6"
|
|
makedepends="
|
|
cmake
|
|
libshiboken6-dev
|
|
py3-shiboken6
|
|
qt6-qtbase-dev
|
|
qt6-qtdeclarative-dev
|
|
qt6-qtquickcontrols2-dev
|
|
qt6-qtsvg-dev
|
|
qt6-qttools-dev
|
|
shiboken6
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$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/pyside6
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
e4eb23369eb0da778630b9b5c61abbfbec63be064067e4fea54f732bdc57c080a6c409cb398a125e33ddac5265060d3c82aac867900884b2cebeb2ab0602001a pyside-setup-opensource-src-6.0.4.tar.xz
|
|
"
|