aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyside6/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-pyside6/APKBUILD')
-rw-r--r--community/py3-pyside6/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/py3-pyside6/APKBUILD b/community/py3-pyside6/APKBUILD
new file mode 100644
index 0000000000..6d98a7b18c
--- /dev/null
+++ b/community/py3-pyside6/APKBUILD
@@ -0,0 +1,45 @@
+# 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
+"