aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5syntaxhighlighting
diff options
context:
space:
mode:
Diffstat (limited to 'ports/kf5syntaxhighlighting')
-rw-r--r--ports/kf5syntaxhighlighting/CONTROL5
-rw-r--r--ports/kf5syntaxhighlighting/portfile.cmake26
-rw-r--r--ports/kf5syntaxhighlighting/vcpkg.json12
3 files changed, 24 insertions, 19 deletions
diff --git a/ports/kf5syntaxhighlighting/CONTROL b/ports/kf5syntaxhighlighting/CONTROL
deleted file mode 100644
index 52cca4b36..000000000
--- a/ports/kf5syntaxhighlighting/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: kf5syntaxhighlighting
-Version: 5.64.0-1
-Homepage: https://github.com/KDE/syntax-highlighting
-Description: Syntax highlighting engine for Kate syntax definitions
-Build-Depends: ecm, qt5-base[core], qt5-tools, qt5-xmlpatterns
diff --git a/ports/kf5syntaxhighlighting/portfile.cmake b/ports/kf5syntaxhighlighting/portfile.cmake
index b3dd829e2..4b4fbc991 100644
--- a/ports/kf5syntaxhighlighting/portfile.cmake
+++ b/ports/kf5syntaxhighlighting/portfile.cmake
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/syntax-highlighting
- REF v5.64.0
- SHA512 b33a136fad0e55054660c34328a208a19834c1adc9cdb9e8f334e9224492f2894bbcb355e61c8f6da6301363a11f832fa7e38cff293be249876048dd34c39476
+ REF v5.75.0
+ SHA512 bb3b722861823b8ebe407b859b425c2f600af6686c2b1107436c55931e50e746e0852df8b11c5ad895323236a2ee857bcfe8a17af563c26baa4541535d275f8c
HEAD_REF master
)
@@ -11,24 +11,22 @@ get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)
vcpkg_add_to_path("${PERL_EXE_PATH}")
vcpkg_configure_cmake(
+ DISABLE_PARALLEL_CONFIGURE
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS -DBUILD_HTML_DOCS=OFF
- -DBUILD_MAN_DOCS=OFF
- -DBUILD_QTHELP_DOCS=OFF
- -DBUILD_TESTING=OFF
+ 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_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-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)
+file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
diff --git a/ports/kf5syntaxhighlighting/vcpkg.json b/ports/kf5syntaxhighlighting/vcpkg.json
new file mode 100644
index 000000000..39d9126f1
--- /dev/null
+++ b/ports/kf5syntaxhighlighting/vcpkg.json
@@ -0,0 +1,12 @@
+{
+ "name": "kf5syntaxhighlighting",
+ "version": "5.75.0",
+ "description": "Syntax highlighting engine for Kate syntax definitions",
+ "homepage": "https://github.com/KDE/syntax-highlighting",
+ "dependencies": [
+ "ecm",
+ "qt5-base",
+ "qt5-tools",
+ "qt5-xmlpatterns"
+ ]
+}