aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5i18n
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2021-07-24 22:10:41 +0200
committerGitHub <noreply@github.com>2021-07-24 13:10:41 -0700
commit7d2541c69cc2f9099a118de1a80f59e29c5de15d (patch)
tree8212a80834d0f8a674561c0960b312632010b710 /ports/kf5i18n
parent134505003bb46e20fbace51ccfb69243fbbc5f82 (diff)
downloadvcpkg-7d2541c69cc2f9099a118de1a80f59e29c5de15d.tar.gz
vcpkg-7d2541c69cc2f9099a118de1a80f59e29c5de15d.zip
[gettext] Add gettext cmake wrapper (#18159)
* Add gettext cmake wrapper * x-add-version * Make kf5i18n use gettext[tools]:host * x-add-version * Revise wrapper source names * Update git-tree * Provide host tools via port config, not wrapper * Enable tools on linux * Fix linux libintl.h hint * Update git-tree * Update git-tree * Revise vcpkg port config * Revise linux libintl.h message * Revise cmake style * Build only release variant of tools * Cache configuration for faster build * Update git-tree * Fix typo * Revise options * Add top-level Makefile for tools * Remove non-libintl libs and includes * Update git-tree * Update port-version * x-add-version * [gettext] Address PR comments Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports/kf5i18n')
-rw-r--r--ports/kf5i18n/portfile.cmake21
-rw-r--r--ports/kf5i18n/vcpkg.json9
2 files changed, 8 insertions, 22 deletions
diff --git a/ports/kf5i18n/portfile.cmake b/ports/kf5i18n/portfile.cmake
index a5809fd64..17f590d3e 100644
--- a/ports/kf5i18n/portfile.cmake
+++ b/ports/kf5i18n/portfile.cmake
@@ -10,27 +10,6 @@ vcpkg_from_github(
PATCHES ${PATCHES}
)
-if(CMAKE_HOST_WIN32)
- vcpkg_acquire_msys(MSYS_ROOT NO_DEFAULT_PACKAGES DIRECT_PACKAGES
- "https://repo.msys2.org/mingw/i686/mingw-w64-i686-gettext-0.19.8.1-9-any.pkg.tar.zst"
- c632877544183def8b19659421c5511b87f8339596e1606bd47608277a0bf427d370aba1732915c2832c91f6d525261623401f145b951ff3015f79ac54179c19
- "https://repo.msys2.org/mingw/i686/mingw-w64-i686-libiconv-1.16-1-any.pkg.tar.xz"
- ba236e1efc990cb91d459f938be6ca6fc2211be95e888d73f8de301bce55d586f9d2b6be55dacb975ec1afa7952b510906284eff70210238919e341dffbdbeb8
- "https://repo.msys2.org/mingw/i686/mingw-w64-i686-gcc-libs-10.2.0-1-any.pkg.tar.zst"
- 113d8b3b155ea537be8b99688d454f781d70c67c810c2643bc02b83b332d99bfbf3a7fcada6b927fda67ef02cf968d4fdf930466c5909c4338bda64f1f3f483e
- "https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst"
- 2c3d9e6b2eee6a4c16fd69ddfadb6e2dc7f31156627d85845c523ac85e5c585d4cfa978659b1fe2ec823d44ef57bc2b92a6127618ff1a8d7505458b794f3f01c
- "https://repo.msys2.org/mingw/i686/mingw-w64-i686-mpc-1.1.0-1-any.pkg.tar.xz"
- d236b815ec3cf569d24d96a386eca9f69a2b1e8af18e96c3f1e5a4d68a3598d32768c7fb3c92207ecffe531259822c1a421350949f2ffabd8ee813654f1af864
- "https://repo.msys2.org/mingw/i686/mingw-w64-i686-mpfr-4.1.0-2-any.pkg.tar.zst"
- caac5cb73395082b479597a73c7398bf83009dbc0051755ef15157dc34996e156d4ed7881ef703f9e92861cfcad000888c4c32e4bf38b2596c415a19aafcf893
- "https://repo.msys2.org/mingw/i686/mingw-w64-i686-gmp-6.2.0-1-any.pkg.tar.xz"
- 37747f3f373ebff1a493f5dec099f8cd6d5abdc2254d9cd68a103ad7ba44a81a9a97ccaba76eaee427b4d67b2becb655ee2c379c2e563c8051b6708431e3c588
- )
- set(GETTEXT_PATH ${MSYS_ROOT}/mingw32/bin)
- vcpkg_add_to_path(${GETTEXT_PATH})
-endif()
-
vcpkg_find_acquire_program(PYTHON3)
vcpkg_configure_cmake(
diff --git a/ports/kf5i18n/vcpkg.json b/ports/kf5i18n/vcpkg.json
index 9ee9b1a01..dcdac9826 100644
--- a/ports/kf5i18n/vcpkg.json
+++ b/ports/kf5i18n/vcpkg.json
@@ -1,12 +1,19 @@
{
"name": "kf5i18n",
"version": "5.81.0",
- "port-version": 1,
+ "port-version": 2,
"description": "Advanced internationalization framework",
"homepage": "https://api.kde.org/frameworks/ki18n/html/index.html",
"dependencies": [
"ecm",
"gettext",
+ {
+ "name": "gettext",
+ "host": true,
+ "features": [
+ "tools"
+ ]
+ },
"qt5-declarative",
"qt5-tools"
]