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.
Merge pull request microsoft#8858 from zrax/kf5libs
[kf5 libs] Update existing and add syntax-highlighting
- Loading branch information
Showing
10 changed files
with
56 additions
and
21 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: ecm | ||
Version: 5.60.0-2 | ||
Version: 5.64.0-1 | ||
Homepage: https://github.com/KDE/extra-cmake-modules | ||
Description: Extra CMake Modules (ECM), extra modules and scripts for CMake |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: kf5archive | ||
Version: 5.58.0 | ||
Version: 5.64.0 | ||
Description: File compression | ||
Build-Depends: ecm, qt5-base, zlib, bzip2 | ||
Build-Depends: ecm, qt5-base, zlib, bzip2 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: kf5holidays | ||
Version: 5.58.0 | ||
Version: 5.64.0 | ||
Description: Holiday calculation library | ||
Build-Depends: ecm, qt5-base, qt5-declarative, qt5-tools | ||
Build-Depends: ecm, qt5-base, qt5-tools |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Source: kf5plotting | ||
Version: 5.58.0 | ||
Version: 5.64.0 | ||
Homepage: https://api.kde.org/frameworks/kplotting/html/index.html | ||
Description: Lightweight plotting framework | ||
Build-Depends: ecm, qt5-base | ||
Build-Depends: ecm, qt5-base, qt5-tools |
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,5 @@ | ||
Source: kf5syntaxhighlighting | ||
Version: 5.64.0 | ||
Homepage: https://github.com/KDE/syntax-highlighting | ||
Description: Syntax highlighting engine for Kate syntax definitions | ||
Build-Depends: ecm, qt5-base, qt5-tools, qt5-xmlpatterns |
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/syntax-highlighting | ||
REF v5.64.0 | ||
SHA512 b33a136fad0e55054660c34328a208a19834c1adc9cdb9e8f334e9224492f2894bbcb355e61c8f6da6301363a11f832fa7e38cff293be249876048dd34c39476 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_find_acquire_program(PERL) | ||
get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY) | ||
vcpkg_add_to_path("${PERL_EXE_PATH}") | ||
|
||
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(ADD_BIN_TO_PATH) | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5SyntaxHighlighting) | ||
vcpkg_copy_pdbs() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/kf5syntaxhighlighting RENAME copyright) | ||
|
||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/kate-syntax-highlighter.exe) | ||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/kf5syntaxhighlighting) | ||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/kate-syntax-highlighter.exe | ||
${CURRENT_PACKAGES_DIR}/tools/kf5syntaxhighlighting/kate-syntax-highlighter.exe) | ||
|
||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/kf5syntaxhighlighting) |