28 lines
895 B
Bash
28 lines
895 B
Bash
# Template file for 'pyside2-tools'
|
|
pkgname=pyside2-tools
|
|
version=5.15.2
|
|
revision=1
|
|
_pkgname="pyside-setup-opensource-src-${version}"
|
|
wrksrc="${_pkgname/%5.14.2.1/5.14.2}"
|
|
build_wrksrc="sources/pyside2-tools"
|
|
build_style=cmake
|
|
hostmakedepends="cmake python3-devel shiboken2"
|
|
makedepends="python3-devel libshiboken2-devel qt5-devel
|
|
libpyside2-python3-devel"
|
|
checkdepends="pkg-config"
|
|
short_desc="Python3 bindings for the Qt5 toolkit"
|
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://wiki.qt.io/Qt_for_Python/Shiboken"
|
|
distfiles="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src/${_pkgname}.tar.xz"
|
|
checksum=b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418
|
|
python_version=3
|
|
|
|
if [ ${CROSS_BUILD} ]; then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
fi
|
|
|
|
pre_check() {
|
|
export QT_QPA_PLATFORM=offscreen
|
|
}
|