vcpkg/ports/kf5iconthemes/fix_config_cmake.patch
Dawid Wróbel 1a13ae06ec
[kf5iconthemes] new port (#16567)
* Add kf5iconthemes port

* kf5iconthemes: add missing PATCH directive

* Fix Kf5Iconthemes for windows:

* [kf5*] update to 5.75.0

* [kf5iconthemes] convert CONTROL to manifest

* [kf5iconthemes] update to current spec

* [kf5iconthemes] use semVer

* [kf5iconthemes] remove extraneous options

* [kf5iconthemes] update to 5.84

* [kf5iconthemes] use vcpkg_copy_tools()

* [kf5iconthemes] only remove what's needed

* [kf5iconthemes] wrap paths in quotes

* [kf5iconthemes] update versions

* [kf5iconthemes] DISABLE_PARALLEL_CONFIGURE

* [kf5iconthemes] update versions

* [kf5iconthemes] Add support for static builds

* [kf5iconthemes] update versions

* [kf5iconthemes] reformat vcpkg.json

* [kf5iconthemes] update versions

* [kf5iconthemes] add Qt Designer plugin feature

* [kf5iconthemes] update versions

* [kf5iconthemes] add libiconv dependency

* [kf5iconthemes] update versions

* [kf5iconthemes] fix Windows Static builds

* [kf5iconthemes] update versions

* [kf5iconthemes] add PACKAGE_NAME to vcpkg_cmake_config_fixup

* [kf5iconthemes] update versions

* [kf5iconthemes] rename patch files

* [kf5iconthemes] libiconv patches only for windows static builds

* [kf5iconthemes] update versions

* [kf5iconthemes] fix identation

* [kf5iconthemes] update versions

* [kf5iconthemes] cleanup, iconv was fixed in kf5i18n

* [kf5iconthemes] update versions

* [kf5iconthemes] use generic, non-semver versioning

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5iconthemes] update versions

Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-14 14:31:05 -07:00

39 lines
1.2 KiB
Diff

From 2d9a393978ff6ae9c5577a3595cd761b199dc4fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dawid=20Wro=CC=81bel?= <me@dawidwrobel.com>
Date: Thu, 26 Aug 2021 12:06:54 +0200
Subject: [PATCH] Add support for static builds
---
KF5IconThemesConfig.cmake.in | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/KF5IconThemesConfig.cmake.in b/KF5IconThemesConfig.cmake.in
index 79688bb..d91f546 100644
--- a/KF5IconThemesConfig.cmake.in
+++ b/KF5IconThemesConfig.cmake.in
@@ -3,6 +3,21 @@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Widgets "@REQUIRED_QT_VERSION@")
+if (NOT @BUILD_SHARED_LIBS@)
+ find_dependency(Qt5Widgets "@REQUIRED_QT_VERSION@")
+ find_dependency(Qt5Svg "@REQUIRED_QT_VERSION@")
+
+ if (NOT ANDROID)
+ find_dependency(Qt5DBus "@REQUIRED_QT_VERSION@")
+ endif()
+
+ find_dependency(KF5Archive "@KF_DEP_VERSION@")
+ find_dependency(KF5I18n "@KF_DEP_VERSION@")
+ find_dependency(KF5CoreAddons "@KF_DEP_VERSION@")
+ find_dependency(KF5ConfigWidgets "@KF_DEP_VERSION@")
+ find_dependency(KF5WidgetsAddons "@KF_DEP_VERSION@")
+ find_dependency(KF5ItemViews "@KF_DEP_VERSION@")
+endif()
include("${CMAKE_CURRENT_LIST_DIR}/KF5IconThemesTargets.cmake")
@PACKAGE_INCLUDE_QCHTARGETS@
--
GitLab