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.
- Loading branch information
Showing
2 changed files
with
39 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,5 @@ | ||
Source: kf5globalaccel | ||
Version: 5.73.0 | ||
Homepage: https://api.kde.org/frameworks/kglobalaccel/html/index.html | ||
Description: lobal desktop keyboard shortcuts | ||
Build-Depends: ecm, qt5-base, qt5-tools, kf5config, kf5coreaddons, kf5crash, kf5dbusaddons, kf5windowsystem, kf5dbusaddons |
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,34 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO KDE/kglobalaccel | ||
REF v5.73.0 | ||
SHA512 3e510bb1a383e44f2c4217b86ea51638dee9dbb9e0210fa253f18a9572cdcc109d84d25ed62cf5611ecefc5c4b9d96017cc743cf846cc0f823c0e627b74950c5 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DBUILD_HTML_DOCS=OFF | ||
-DBUILD_MAN_DOCS=OFF | ||
-DBUILD_QTHELP_DOCS=OFF | ||
-DBUILD_TESTING=OFF | ||
) | ||
|
||
vcpkg_install_cmake() | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5GlobalAccel) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
endif() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data) | ||
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(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc) | ||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |