Commit Graph

4 Commits

Author SHA1 Message Date
Jack·Boos·Yu
a7ad120c8d
[vcpkg baseline][kf5solid] Fix usage (#21344)
* [vcpkg baseline][kf5solid] Fix usage

* version

* change to version

* version

* Apply suggestion

* version

* Apply suggestion

* version
2021-11-15 16:51:11 -08:00
Dawid Wróbel
8a943f71ff
[kf5*] re-enable parallel configure, speed up compilation (#20202)
* [kf5*] re-enable parallel configure

* [kf5*] update versions
2021-09-17 08:20:35 -07:00
Dawid Wróbel
698ffe5d25
[kf5solid] Fix CMake config; some extra fixes (#19810)
* [kf5solid] require bison >= 3.0

* [kf5solid] fix CMake config file

* [kf5solid] some apps actually use solid-hardware5

diff --git a/ports/kf5solid/portfile.cmake b/ports/kf5solid/portfile.cmake
index b876b00c0..53cf1841b 100644
--- a/ports/kf5solid/portfile.cmake
+++ b/ports/kf5solid/portfile.cmake
@@ -44,6 +44,11 @@ vcpkg_cmake_install()
 vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/KF5Solid)
 vcpkg_copy_pdbs()

+vcpkg_copy_tools(
+      TOOL_NAMES solid-hardware5
+      AUTO_CLEAN
+ )
+
 if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
     file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
 endif()
@@ -51,9 +56,6 @@ endif()
 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/etc")
 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
-# solid-hardware and solid-power are a non-dev tools allowing to list hardware and power managament status of one's system. No need to keep them.
-file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/solid-hardware5${VCPKG_HOST_EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/debug/bin/solid-hardware5${VCPKG_HOST_EXECUTABLE_SUFFIX}")
-file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/solid-power${VCPKG_HOST_EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/debug/bin/solid-power${VCPKG_HOST_EXECUTABLE_SUFFIX}")
 file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/qml" "${CURRENT_PACKAGES_DIR}/debug/qml")
 file(RENAME "${CURRENT_PACKAGES_DIR}/lib/qml" "${CURRENT_PACKAGES_DIR}/qml")

* [kf5solid] /etc is empty, no need to remove it

* [kf5solid] add PACKAGE_NAME to vcpkg_cmake_config_fixup

* [kf5solid] update versions
2021-09-03 22:20:10 -07:00
Dawid Wróbel
3d4ce760a1
[kf5solid] new port (#19201)
* Add kf5solid port

* Fixed kf5solid for windows

* [kf5solid] update to 5.75.0

* [kf5solid] update to 5.84.0

* [kf5solid] update versions

* [kf5solid] replace outdated functions

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [kf5solid] use semver

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [kf5solid] update versions

* [kf5solid] DISABLE_PARALLEL_CONFIGURE

* [kf5solid] update versions

* [kf5solid] fix MAYBE_UNUSED_VARIABLES usage

* [kf5solid] update versions

* [kf5solid] remove extraneous options

* [kf5solid] update versions

Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-08-02 16:49:35 -07:00