24 lines
853 B
Bash
24 lines
853 B
Bash
# Template file for 'pyside2-tools'
|
|
pkgname=pyside2-tools
|
|
version=5.15.0
|
|
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
|
|
configure_args="-DBUILD_TESTS=OFF"
|
|
hostmakedepends="cmake python3-devel shiboken2"
|
|
makedepends="python3-devel libshiboken2-devel qt5-devel
|
|
libpyside2-python3-devel"
|
|
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=f1cdee53de3b76e22c1117a014a91ed95ac16e4760776f4f12dc38cd5a7b6b68
|
|
python_version=3
|
|
|
|
if [ ${CROSS_BUILD} ]; then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
fi
|