vcpkg/ports/ecm/portfile.cmake
Dawid Wróbel bc96cd54bf
[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 8703c24236.

* Add kf5globalaccel port

* Revert "Add kf5globalaccel port"

This reverts commit f1ac3db8e2.

* [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 8703c24236.

* Add kf5globalaccel port

* Revert "Add kf5globalaccel port"

This reverts commit f1ac3db8e2.

* [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>
2021-04-12 10:15:11 -07:00

32 lines
938 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/extra-cmake-modules
REF v5.75.0
SHA512 486845a91967c89dec42f9120757c7b883006713d0957e9bd21dfacb2911225fe45680590ef3dc5e0d45a9dbc81cf99e1514fb4922b1a027bcba3864da883076
HEAD_REF master
PATCHES
"do-not-override-custom-clang-format-files.patch"
)
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()
# Remove debug files
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(COPY ${CURRENT_PORT_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING-CMAKE-SCRIPTS DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
# Allow empty include directory
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)