Skip to content
Snippets Groups Projects
Commit 741e3e0d authored by Andy Postnikov's avatar Andy Postnikov
Browse files

community/pyside6: upgrade to 6.6.0 and use llvm17

parent 025a6aaa
1 merge request!54440community/pyside6: fix build
Pipeline #190815 passed
# 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
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment