forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kf5dbusaddons] new port (microsoft#16564)
* Add kf5dbusaddons port * Fixed kf5bbusaddons for windows * [kf5*] update to 5.75.0 * [kf5dbusaddons] convert CONTROL to manifest * [kf5dbusaddons] update to 5.81 * [kf5dbusaddons] update versions * [kf5dbusaddons] migrate to vcpkg_cmake_configure * [kf5dbusaddons] update versions * [kf5dbusaddons] disable parallel configure * [kf5dbusaddons] update versions Co-authored-by: Kuntal Majumder <[email protected]>
Showing
4 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO KDE/kdbusaddons | ||
REF v5.81.0 | ||
SHA512 fce5b646199ee895f2c8ed17382cb4b7f0265a87558ba3b7bb094cbfa92327b8fb910e4af95f1d3793c1908151eefd59783b31fe43c0743ea872632bb78d98f0 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
DISABLE_PARALLEL_CONFIGURE | ||
SOURCE_PATH ${SOURCE_PATH} | ||
OPTIONS | ||
-DBUILD_HTML_DOCS=OFF | ||
-DBUILD_MAN_DOCS=OFF | ||
-DBUILD_QTHELP_DOCS=OFF | ||
-DBUILD_TESTING=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5DBusAddons CONFIG_PATH lib/cmake/KF5DBusAddons) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
elseif(VCPKG_TARGET_IS_WINDOWS) | ||
# kquitapp5 is a non-dev tool allowing to quit an arbitrary, dbus-compatible app. No need to keep it. | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/kquitapp5${VCPKG_HOST_EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/debug/bin/kquitapp5${VCPKG_HOST_EXECUTABLE_SUFFIX}") | ||
endif() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "kf5dbusaddons", | ||
"version": "5.81.0", | ||
"description": "Convenience classes for D-Bus", | ||
"homepage": "https://api.kde.org/frameworks/kdbusaddons/html/index.html", | ||
"dependencies": [ | ||
"ecm", | ||
"qt5-base", | ||
"qt5-tools", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "0850ae5e1ff258527dc690df530c24099b5890ee", | ||
"version": "5.81.0", | ||
"port-version": 0 | ||
} | ||
] | ||
} |