aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5bookmarks/fix_config_cmake.patch
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2021-09-28 03:15:18 +0300
committerGitHub <noreply@github.com>2021-09-27 17:15:18 -0700
commit6bbee1c30022d33ccf9d9003cdeb55aecb6016fa (patch)
tree364e7d0754d2eb7da137f6c89e30c5651c4a39bb /ports/kf5bookmarks/fix_config_cmake.patch
parentcc471dc0f59b7b2066d6172c2893419412327a7a (diff)
downloadvcpkg-6bbee1c30022d33ccf9d9003cdeb55aecb6016fa.tar.gz
vcpkg-6bbee1c30022d33ccf9d9003cdeb55aecb6016fa.zip
[kf5bookmarks] new port (#19780)
* Add kf5bookmarks port * Fixed kf5bookmarks in windows * [kf5*] update to 5.75.0 * [kf5bookmarks] WIP * [kf5bookmarks] remove redundant kf5guiaddons dependnecy * [kf5bookmarks] remove redundant options * [kf5bookmarks] only remove what's needed * [kf5bookmarks] wrap paths in quotes * [kf5bookmarks] use semVer * [kf5bookmarks] update to 5.84 * [kf5bookmarks] add missing gettext dep * [kf5bookmarks] add PACKAGE_NAME to vcpkg_cmake_config_fixup * [kf5bookmarks] update versions * [kf5bookmarks] remove static bin files * [kf5bookmarks] update versions * [kf5bookmarks] fix config cmake file * [kf5bookmarks] update versions * [kf5bookmarks] remote meta info from patch * [kf5bookmarks] use generic, non-semver versioning * [kf5bookmarks] update versions Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
Diffstat (limited to 'ports/kf5bookmarks/fix_config_cmake.patch')
-rw-r--r--ports/kf5bookmarks/fix_config_cmake.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/ports/kf5bookmarks/fix_config_cmake.patch b/ports/kf5bookmarks/fix_config_cmake.patch
new file mode 100644
index 000000000..1a034ccc5
--- /dev/null
+++ b/ports/kf5bookmarks/fix_config_cmake.patch
@@ -0,0 +1,25 @@
+diff --git a/KF5BookmarksConfig.cmake.in b/KF5BookmarksConfig.cmake.in
+index 0c4494a..de973f7 100644
+--- a/KF5BookmarksConfig.cmake.in
++++ b/KF5BookmarksConfig.cmake.in
+@@ -6,6 +6,17 @@ find_dependency(KF5WidgetsAddons "@KF_DEP_VERSION@")
+ find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@)
+ find_dependency(Qt5Xml @REQUIRED_QT_VERSION@)
+
++if (NOT @BUILD_SHARED_LIBS@)
++ if (@Qt5DBus_FOUND@)
++ find_dependency(Qt5DBus @REQUIRED_QT_VERSION@)
++ endif()
++
++ find_dependency(KF5CoreAddons "@KF_DEP_VERSION@")
++ find_dependency(KF5Codecs "@KF_DEP_VERSION@")
++ find_dependency(KF5Config "@KF_DEP_VERSION@")
++ find_dependency(KF5ConfigWidgets "@KF_DEP_VERSION@")
++ find_dependency(KF5XmlGui "@KF_DEP_VERSION@")
++endif()
+
+ include("${CMAKE_CURRENT_LIST_DIR}/KF5BookmarksTargets.cmake")
+ @PACKAGE_INCLUDE_QCHTARGETS@
+--
+GitLab
+