Skip to content

Commit

Permalink
[kf5] recover from microsoft#4652
Browse files Browse the repository at this point in the history
  • Loading branch information
cenit committed Jun 27, 2019
1 parent 2c72e57 commit e22b8b4
Show file tree
Hide file tree
Showing 91 changed files with 1,627 additions and 78 deletions.
2 changes: 1 addition & 1 deletion ports/ecm/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: ecm
Version: 5.50.0
Version: 5.51.0
Description: Extra CMake Modules (ECM), extra modules and scripts for CMake
4 changes: 2 additions & 2 deletions ports/ecm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/extra-cmake-modules
REF v5.50.0
SHA512 625f934b97c56cceed44d8fa0e335fb1f593806e52b8bfd2fd467561b4de2528940add756a8e903bd5502e912422cc3835e65e047cc4c205d3b8629452627abd
REF v5.51.0
SHA512 670024e21a785193ebe16ddfcc30cb2fe5af14cac17f439e210cdab83611791d156a1e48a1b19eb56f4ddb4e43c3b454ff9e7b74edc144b36563318eefec2ea1
HEAD_REF master
)

Expand Down
4 changes: 4 additions & 0 deletions ports/editorconfig-core-c/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: editorconfig-core-c
Version: 0.12.2
Description: EditorConfig core code written in C (for use by plugins supporting EditorConfig parsing)
Build-Depends: pcre
23 changes: 23 additions & 0 deletions ports/editorconfig-core-c/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO editorconfig/editorconfig-core-c
REF v0.12.2
SHA512 6ab3e4f7f95c83c0781064ca15bb70394bb947f9d4cd1348224f02e25c65021d14439b913775d7cfafb93476158799c34438fa548adf3c7ec6dbfd6f1052a046
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)

vcpkg_install_cmake()

file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/editorconfig.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/editorconfig.exe)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/man)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/editorconfig-core-c RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5
Version: 5.51.0
Description: KDE Frameworks is a framework of libraries built on the top of Qt
Build-Depends: ecm, kf5activities, kf5archive, kf5attica, kf5auth, kf5bookmarks, kf5codecs, kf5completion, kf5config, kf5configwidgets, kf5coreaddons, kf5crash, kf5dbusaddons, kf5declarative, kf5emoticons, kf5globalaccel, kf5guiaddons, kf5holidays, kf5i18n, kf5iconthemes, kf5imageformats, kf5itemmodels, kf5itemviews, kf5jobwidgets, kf5kcmutils, kf5kio, kf5kirigami2, kf5newstuff, kf5package, kf5parts, kf5plotting, kf5service, kf5solid, kf5sonnet, kf5syntax-highlighting, kf5textwidgets, kf5threadweaver, kf5unitconversion, kf5widgetsaddons, kf5windowsystem, kf5xmlgui
1 change: 1 addition & 0 deletions ports/kf5/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
4 changes: 4 additions & 0 deletions ports/kf5activities/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5activities
Version: 5.51.0
Description: Core components for the KDE's Activities
Build-Depends: ecm, qt5-declarative, qt5-tools, kf5config, kf5coreaddons, kf5windowsystem, boost
32 changes: 32 additions & 0 deletions ports/kf5activities/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kactivities
REF v5.51.0
SHA512 1bcfaa0329568cb3cdb99686cb9fe568cdbde128023d83275e51dd52158f989861dae0b2835c506e1d443d34a3eff5a7f245d9d00a6ae42bb043b0021fef6fdf
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
-DKDE_INSTALL_QMLDIR=qml
-DKDE_INSTALL_DATAROOTDIR=data
)

vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Activities)
vcpkg_copy_pdbs()

file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/kactivities-cli.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/kactivities-cli.exe)
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/kf5activities RENAME copyright)
4 changes: 2 additions & 2 deletions ports/kf5archive/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: kf5archive
Version: 5.50.0
Version: 5.51.0
Description: File compression
Build-Depends: ecm, qt5-base, zlib, bzip2
Build-Depends: ecm, qt5-base, zlib, bzip2
54 changes: 27 additions & 27 deletions ports/kf5archive/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/karchive
REF v5.50.0
SHA512 519dd69ef76c9655cdf9d8f16484244469a6d5d2185c1d588bad325a401dd11f35699e3c115dfd52e5db38aa26aea3d9b35c7e83b76a36bda926574a7d3ce50f
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/KF5Archive)
vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
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/kf5archive RENAME copyright)
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/karchive
REF v5.51.0
SHA512 7445fc3279efb5b3e767c25b67177640e858fd7d6517b73d7a6cbccfac40b88cd94c9268ffdc4e29a8b139e1b0b8c23b18f0073ff5619ceb44b8fcccaed699ee
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/KF5Archive)
vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
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/kf5archive RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5attica/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5attica
Version: 5.51.0
Description: Qt library that implements the Open Collaboration Services API
Build-Depends: ecm, qt5-base, qt5-tools
28 changes: 28 additions & 0 deletions ports/kf5attica/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/attica
REF v5.51.0
SHA512 b4377157766bc3645bf539740ccb7c24c00076c3ee8607a605eb4e873c1bbdb72456ff94e5609620ee65b5370a8caa7dc6ed3752460288dea8a6b9de89c4ae35
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/KF5Attica)
vcpkg_copy_pdbs()

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 DESTINATION ${CURRENT_PACKAGES_DIR}/share/kf5attica RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5auth/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5auth
Version: 5.51.0
Description: Abstraction to system policy and authentication features
Build-Depends: ecm, qt5-tools, kf5coreaddons
32 changes: 32 additions & 0 deletions ports/kf5auth/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kauth
REF v5.51.0
SHA512 074b3fb90bfab48a54821867478ab825f9d9cae4a716473bbb3913c3a1329e7d9f0b5425ccc2143be73544e893bb7f14d3623cefb80e704a5ff49b90e686bdba
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
-DKDE_INSTALL_PLUGINDIR=plugins
-DKDE_INSTALL_DATAROOTDIR=data
)

vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Auth)
vcpkg_copy_pdbs()

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/kf5auth RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5bookmarks/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5bookmarks
Version: 5.51.0
Description: Support for bookmarks and the XBEL format
Build-Depends: ecm, qt5-tools, kf5xmlgui
30 changes: 30 additions & 0 deletions ports/kf5bookmarks/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kbookmarks
REF v5.51.0
SHA512 5ac03a69b7d833dcbd70e24ce0ceb001fd5a20b836335577a48759dee5c1b8e9cea015b5c89a65c0751d7592af35c2e8b845a7cb3c9eb25cec5b7df756ff12e0
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/KF5Bookmarks)
vcpkg_copy_pdbs()

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/kf5bookmarks RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5codecs/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5codecs
Version: 5.51.0
Description: Provide a collection of methods to manipulate strings using various encodings
Build-Depends: ecm, qt5-tools, qt5-base
33 changes: 33 additions & 0 deletions ports/kf5codecs/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kcodecs
REF v5.51.0
SHA512 8dd1590a488c21f5a0c929b8e9e0de52acefa700d6d9a8410eb86495d7fb12f3b2faa3fbb1a5536fe012aa66aade2913cdd9efa312ac34de25f23cd7256273b6
HEAD_REF master
)

vcpkg_find_acquire_program(GPERF)
get_filename_component(GPERF_EXE_PATH ${GPERF} DIRECTORY)
vcpkg_add_to_path(${GPERF_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()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Codecs)
vcpkg_copy_pdbs()

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}/etc)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/kf5codecs RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5completion/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5completion
Version: 5.51.0
Description: Text completion helpers and widgets
Build-Depends: ecm, qt5-tools, kf5config, kf5widgetsaddons
30 changes: 30 additions & 0 deletions ports/kf5completion/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kcompletion
REF v5.51.0
SHA512 7f35217f149b168e07e93e5057c7edf7573cd361dd9574b0697af53dea902ee428c1975883f05805e55356dc181015a5381681ccf5f92a96ec19709196b80541
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/KF5Completion)
vcpkg_copy_pdbs()

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/kf5completion RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5config/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5config
Version: 5.51.0
Description: Configuration system
Build-Depends: ecm, qt5-base, qt5-tools
45 changes: 45 additions & 0 deletions ports/kf5config/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kconfig
REF v5.51.0
SHA512 80928ec9befb50523bf81da605f375f4c921052f9a1b5f3b5185c5c7a219665e86ac60828cb6eac3aa553c8134742284c408e45f4616dfbfd60f4a43fa31619f
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()

file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/kf5config)
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/kconfig_compiler_kf5.exe ${CURRENT_PACKAGES_DIR}/tools/kf5config/kconfig_compiler_kf5.exe)
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/kconf_update.exe ${CURRENT_PACKAGES_DIR}/tools/kf5config/kconf_update.exe)

vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Config)

file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/kreadconfig5.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/kwriteconfig5.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/kconfig_compiler_kf5.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/kconf_update.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/kreadconfig5.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/kwriteconfig5.exe)

vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/kf5config)
file(APPEND ${CURRENT_PACKAGES_DIR}/tools/kf5config/qt.conf "Data = ${VCPKG_ROOT_DIR}/installed/${TARGET_TRIPLET}/data")
vcpkg_copy_pdbs()

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/kf5config RENAME copyright)
4 changes: 4 additions & 0 deletions ports/kf5configwidgets/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: kf5configwidgets
Version: 5.51.0
Description: Widgets for KF5Config
Build-Depends: ecm, qt5-tools, kf5auth, kf5codecs, kf5config, kf5guiaddons, kf5i18n, kf5widgetsaddons
Loading

0 comments on commit e22b8b4

Please sign in to comment.