diff options
| author | Dawid Wróbel <me@dawidwrobel.com> | 2021-04-12 13:15:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-12 10:15:11 -0700 |
| commit | bc96cd54bf3afe85e4c1f201d6475f5ce0a4763c (patch) | |
| tree | 9d47498275a81770e6a9cbb9173726fbcf493630 /ports/kf5syntaxhighlighting | |
| parent | 407ca922594a85dd532c9ccff60ae06e96a18d5b (diff) | |
| download | vcpkg-bc96cd54bf3afe85e4c1f201d6475f5ce0a4763c.tar.gz vcpkg-bc96cd54bf3afe85e4c1f201d6475f5ce0a4763c.zip | |
[many ports] Update existing KF5 frameworks to 5.75 (#13467)
* Update KF5 framework to 5.73
kf5crash
- make x11 patch exclusive to linux
- enable win/macOS builds
kf5syntaxhighlighting
- fix building on non-Win by removing the cli tool from all platforms
* Add kf5auth port
* Revert "Add kf5auth port"
This reverts commit 8703c2423667f62075c34496ef273394a5b8d538.
* Add kf5globalaccel port
* Revert "Add kf5globalaccel port"
This reverts commit f1ac3db8e2019f474a09d6964aea8e21bc9da166.
* [ecm] use where possible
* [kf5holidays] use PORT placeholder where possible
* [kf5syntaxhighlighting] use PORT placeholder where possible
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [kf5plotting] use PORT placeholder where possible
* [kf5crash] fix logical condition in the patch
* [kf5crash] logical condition again, include other BSDs
* [kf5i18n] acquire python3
* [kf5i18n] remove vcpk cmake wrapper added mistakenly
* Update KF5 framework to 5.73
kf5crash
- make x11 patch exclusive to linux
- enable win/macOS builds
kf5syntaxhighlighting
- fix building on non-Win by removing the cli tool from all platforms
* Add kf5auth port
* Revert "Add kf5auth port"
This reverts commit 8703c2423667f62075c34496ef273394a5b8d538.
* Add kf5globalaccel port
* Revert "Add kf5globalaccel port"
This reverts commit f1ac3db8e2019f474a09d6964aea8e21bc9da166.
* [ecm] use where possible
* [kf5holidays] use PORT placeholder where possible
* [kf5syntaxhighlighting] use PORT placeholder where possible
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [kf5plotting] use PORT placeholder where possible
* [kf5crash] fix logical condition in the patch
* [kf5crash] logical condition again, include other BSDs
* [kf5i18n] acquire python3
* [kf5i18n] remove vcpk cmake wrapper added mistakenly
* [ecm] Remove 'skip' from windows baseline
* Fixed KF5ItemModel for windows
* [kf5syntaxhighlighting] fix Windows build
* Fixed k5syntaxhighlighting for windows
* [kf5plotting] fix license files
* [kf5archive] fix license files
* [kf5*] update to 5.75.0
* [kf5holidays] fix sha sum
* [kf5syntaxhighlighting] fix licensing
* [kf5itemviews] fix windows static build
* [kf5widgetsaddons] fix windows static build
* [kf5completion] fix windows static build
* [kf5*] fix windows static build
* [kf5i18n] fix windows static build
* [kf5windowsystem] require libxcb-res0-dev
* [kf5windowsystem] depend on qt5-x11extras
* [qt5] fix brotli reference
* Delete duplicate apt entries.
* kf5crash: fix linux build
* kf5i18n: fix Linux build
* ecm: do not override custom clang format files
* kf5i18n: fix Windows build
* [kf5*] update versions
* [kf5i18n] fix logical NOT
* [kf5syntaxhighlighting] disable parallel configure
* [kf5*] update versions
* [kf5*] convert CONTROL to manifest
* [kf5*] update versions
* [kf5*] update versioning scheme
* [ecm] syntax formatting
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [kf5syntaxhighlighting] syntax formatting
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [kf5holidays] syntax formatting
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [kf5archive] restore original line order
* [kf5holidays] restore CRLF
* [kf5archive] restore CRLF
* [kf5syntaxhighlighting] syntax formatting
* [kf5syntaxhighlighting] quotations
* [kf5syntaxhighlighting] fix \bin removal redundancy
* [kf5*] update versions
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/kf5syntaxhighlighting')
| -rw-r--r-- | ports/kf5syntaxhighlighting/CONTROL | 5 | ||||
| -rw-r--r-- | ports/kf5syntaxhighlighting/portfile.cmake | 26 | ||||
| -rw-r--r-- | ports/kf5syntaxhighlighting/vcpkg.json | 12 |
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" + ] +} |
