aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2023-10-31 03:31:33 +0100
committerAndy Postnikov <apostnikov@gmail.com>2023-10-31 04:17:01 +0100
commit741e3e0d16e98f3657c27f8f3e23fd79329d448c (patch)
treed93abc838b42a0c839ae458f8d4747a68abc40c3
parent025a6aaa2ac93a7078726f0d8a841f0fee6ec008 (diff)
community/pyside6: upgrade to 6.6.0 and use llvm17
-rw-r--r--community/pyside6/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/pyside6/APKBUILD b/community/pyside6/APKBUILD
index c138b24e54e..58f97f840ca 100644
--- a/community/pyside6/APKBUILD
+++ b/community/pyside6/APKBUILD
@@ -1,18 +1,21 @@
# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer:
pkgname=pyside6
-pkgver=6.5.2
-pkgrel=1
-_llvmver=16
+pkgver=6.6.0
+pkgrel=0
+_llvmver=17
pkgdesc="Enables the use of Qt6 APIs in Python applications"
url="https://doc.qt.io/qtforpython-6/"
arch="all"
license="LGPL-3.0-only AND GPL-2.0-only"
makedepends="
+ bash
clang$_llvmver-dev
+ clang$_llvmver-extra-tools
clang$_llvmver-static
cmake
llvm$_llvmver-dev
+ llvm$_llvmver-gtest
llvm$_llvmver-static
py3-numpy-dev
py3-setuptools
@@ -47,7 +50,7 @@ subpackages="
source="$pkgver-$pkgname.tar.xz::https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/pyside-setup-everywhere-src-$pkgver.tar.xz
sane-directory.patch
"
-builddir="$srcdir/pyside-setup-everywhere-src-$pkgver"
+builddir="$srcdir/pyside-setup-everywhere-src-${pkgver%.*}"
options="!check" # Tests fail
case "$CARCH" in
@@ -61,7 +64,7 @@ esac
build() {
export LLVM_INSTALL_DIR=/usr/lib/llvm$_llvmver
export SETUPTOOLS_USE_DISTUTILS=stdlib
- CFLAGS="$CFLAGS -flto=auto" \
+ CFLAGS="$CFLAGS $(pkg-config --cflags python3-embed) -flto=auto" \
CXXFLAGS="$CXXFLAGS -I/usr/lib/llvm$_llvmver/include -flto=auto" \
cmake -B build -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
@@ -108,6 +111,6 @@ pyside() {
}
sha512sums="
-ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403 6.5.2-pyside6.tar.xz
+58463e9b08ee6264d05293d25aa6e41b091016489abf513fc8303e5cccde26af1a24bf9520a94fad4fdc679bf367eb8c6b3d84a21c6c175dd1382cd1ca32b8ae 6.6.0-pyside6.tar.xz
8e1edc46e18d2f1643b4bfb3aa3fc7d3af6255d8da6a5a87e212545262b826908d47f31c0fd23966b70765d91cedd63c5d7aa365c06f8916db621be44d212970 sane-directory.patch
"