UmVirt LFS Package info

DB commit: 06a3bafc31a9f2da2aecdf7c1c6e8b91885cb553
APP commit: 634ff2193dea70dde75eb1916d758638b7417453

python3-pyside6

Python bindings for the Qt cross-platform application and UI framework

Package info

Codename: python3-pyside6
Source file: pyside-setup-everywhere-src-6.6.2.tar.xz
Source directory: pyside-setup-everywhere-src-6.6.2
Package URL: https://umvirt.com/linux/downloads/0.2.1/packages/python-modules/pyside-setup-everywhere-src-6.6.2.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.1/packages/python-modules/pyside-setup-everywhere-src-6.6.2.tar.xz.md5sum
Dependances: qt6.
Dependance of: OpenUSD.
Patches: pyside6-fix-build.patch.
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
#mkdir -v build &&
#cd       build &&

cmake -B build -G Ninja \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DPYTHON_EXECUTABLE:STRING=python3 \
      -DCMAKE_BUILD_TYPE=None \
      -DSHIBOKEN_PYTHON_LIBRARIES=`pkgconf python3-embed --libs` \
      -DFORCE_LIMITED_API=no \
      -DNO_QT_TOOLS=yes \
      -DBUILD_TESTS=OFF \
      PYTHONPATH="$PWD"/build/sources

Build script:
#cd       build &&
cmake --build build

Install script:
#cd       build &&


 cmake --install build/sources/shiboken6

#cd ..

  python3 setup.py egg_info --build-type=shiboken6
  python3 setup.py egg_info --build-type=shiboken6-generator
  PDIR=`python3 -c "from sysconfig import get_path; print(get_path('platlib'))"`
  cp -r shiboken6*.egg-info \$PDIR


 #cd       build &&
 cmake --install build/sources/pyside6

#cd ..

python3 setup.py egg_info --build-type=pyside6
PDIR=`python3 -c "from sysconfig import get_path; print(get_path('platlib'))"`
cp -rv PySide6.egg-info \$PDIR
install -v -Dm644 build/sources/pyside6/PySide6/*.pyi -t /usr/lib/python*/site-packages/PySide6

#cd       build &&

cmake --install build/sources/pyside-tools

#cd ..

echo "export LD_PRELOAD=`python3 -c "from sysconfig import get_config_var; print(get_config_var('LDLIBRARY'))"`" > pyside6-designer
echo "exec /opt/qt6/bin/designer \\$@" >> pyside6-designer
install -v -Dm755 pyside6-designer -t /usr/bin