mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 19:43:07 +02:00
kf6-kwidgetsaddons+sonnet: add missing patches
This commit is contained in:
parent
5843b4555a
commit
a7d98114ad
2 changed files with 22 additions and 0 deletions
11
srcpkgs/kf6-kwidgetsaddons/patches/cross-designer.patch
Normal file
11
srcpkgs/kf6-kwidgetsaddons/patches/cross-designer.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -46,7 +46,7 @@ set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 C
|
||||||
|
option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF)
|
||||||
|
add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
|
||||||
|
|
||||||
|
-cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF)
|
||||||
|
+option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
|
||||||
|
add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer")
|
||||||
|
|
||||||
|
cmake_dependent_option(BUILD_PYTHON_BINDINGS "Generate Python Bindings" ON "TARGET Shiboken6::libshiboken AND TARGET PySide6::pyside6" OFF)
|
11
srcpkgs/kf6-sonnet/patches/cross-designer.patch
Normal file
11
srcpkgs/kf6-sonnet/patches/cross-designer.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -54,7 +54,7 @@ option(BUILD_QCH "Build API documentatio
|
||||||
|
add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
|
||||||
|
|
||||||
|
if(SONNET_USE_WIDGETS)
|
||||||
|
- cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF)
|
||||||
|
+ option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
|
||||||
|
add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer")
|
||||||
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue