[arch-commits] Commit in pyside6/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Dec 17 16:00:08 UTC 2020


    Date: Thursday, December 17, 2020 @ 16:00:07
  Author: arojas
Revision: 404447

Add Qt3D bindings

Modified:
  pyside6/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-17 15:46:28 UTC (rev 404446)
+++ PKGBUILD	2020-12-17 16:00:07 UTC (rev 404447)
@@ -4,20 +4,26 @@
 pkgname=pyside6
 _qtver=6.0.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
 pkgdesc='Enables the use of Qt6 APIs in Python applications'
 depends=(shiboken6 qt6-declarative)
-makedepends=(cmake python qt6-tools qt6-quickcontrols2 qt6-svg)
-optdepends=('qt6-tools: QtHelp, QtUiTools bindings' 'qt6-quickcontrols2: QtQuickControls2 bindings' 'qt6-svg: QtSvg bindings')
-_pkgfqn=pyside-setup-opensource-src-$_qtver
-source=("https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfqn}.tar.xz")
-sha256sums=('f47a4598118510feecc96b9d4b01063d206ac9a1240af3545163d2891db27dd4')
+makedepends=(cmake python qt6-tools qt6-quickcontrols2 qt6-svg qt6-3d)
+optdepends=('qt6-tools: QtHelp, QtUiTools bindings' 'qt6-quickcontrols2: QtQuickControls2 bindings' 'qt6-svg: QtSvg bindings' 'qt6-3d: Qt3D bindings')
+_pkgfn=pyside-setup-opensource-src-$_qtver
+source=("https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-$pkgver-src/${_pkgfn}.tar.xz"
+         pyside6-qt3d.patch::"https://code.qt.io/cgit/pyside/pyside-setup.git/patch/sources?id=625417c4")
+sha256sums=('f47a4598118510feecc96b9d4b01063d206ac9a1240af3545163d2891db27dd4'
+            '268ffc922237edbd89623ffacb698f642086f3da92447b5cb685c5c5e7f331c4')
 
+prepare() {
+  patch -d $_pkgfn -p1 -i ../pyside6-qt3d.patch # Fix build of Qt3D bindings
+}
+
 build() {
-  cmake -B build -S ${_pkgfqn}/sources/pyside6 \
+  cmake -B build -S $_pkgfn/sources/pyside6 \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DBUILD_TESTS=OFF \
     -DPYTHON_EXECUTABLE=/usr/bin/python



More information about the arch-commits mailing list