python-sip: allow package to be built using Qt5

Signed-off-by: Manuel Vögele <develop@manuel-voegele.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Manuel Vögele
2016-08-19 15:42:24 +02:00
committed by Thomas Petazzoni
parent e73a1db464
commit a9ca696309
2 changed files with 10 additions and 1 deletions

View File

@@ -2,12 +2,17 @@ comment "python-sip needs a toolchain w/ C++, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
comment "python-sip needs qt or qt5"
depends on BR2_USE_MMU
depends on BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
config BR2_PACKAGE_PYTHON_SIP
bool "python-sip"
depends on BR2_INSTALL_LIBSTDCPP # qt
depends on BR2_TOOLCHAIN_HAS_THREADS # qt
depends on BR2_USE_MMU # qt
select BR2_PACKAGE_QT
depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
help
SIP is a tool that makes it very easy to create Python
bindings for C and C++ libraries. It was originally