浏览代码

python-pyqt5: use 'depends on' rather than 'select' for Qt5

When pyqt5 is used it's obvious that qt5 needs to be selected and
configured by the user, hence we enforce it by making pyqt5 depending on
qt5, rather than selecting it and depending only on the qt5
requirements.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Naumann Andreas 8 年之前
父节点
当前提交
e68fdc2054
共有 1 个文件被更改,包括 3 次插入10 次删除
  1. 3 10
      package/python-pyqt5/Config.in

+ 3 - 10
package/python-pyqt5/Config.in

@@ -1,16 +1,9 @@
-comment "python-pyqt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
-	depends on !BR2_PACKAGE_QT
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+comment "python-pyqt5 needs Qt5"
+	depends on !BR2_PACKAGE_QT5
 
 
 config BR2_PACKAGE_PYTHON_PYQT5
 config BR2_PACKAGE_PYTHON_PYQT5
 	bool "python-pyqt5"
 	bool "python-pyqt5"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR # qt5
-	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # qt5
-	depends on !BR2_STATIC_LIBS # qt5
-	depends on !BR2_PACKAGE_QT # qt5
-	select BR2_PACKAGE_QT5
+	depends on BR2_PACKAGE_QT5
 	select BR2_PACKAGE_PYTHON_SIP
 	select BR2_PACKAGE_PYTHON_SIP
 	help
 	help
 	  Python bindings for Qt 5
 	  Python bindings for Qt 5