Skip to content

Commit be9753b

Browse files
committed
[iso-codes] Add new port
This is needed for localization support on GIMP.
1 parent cb2981c commit be9753b

4 files changed

Lines changed: 57 additions & 0 deletions

File tree

ports/iso-codes/portfile.cmake

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# data-only port
2+
set(VCPKG_BUILD_TYPE release)
3+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
4+
5+
vcpkg_from_gitlab(
6+
GITLAB_URL https://salsa.debian.org
7+
OUT_SOURCE_PATH SOURCE_PATH
8+
REPO iso-codes-team/iso-codes
9+
REF "v${VERSION}"
10+
SHA512 2b5690b109da3d4f969c62f1a9653f6a12f6529794b97d0c834d708ff9a407bc0193047992b2acea7525f4638a68dbd9a6dceec8b0b0d08f23a2fd2e3124b1d2
11+
)
12+
13+
vcpkg_add_to_path("${CURRENT_HOST_INSTALLED_DIR}/tools/gettext/bin")
14+
15+
vcpkg_configure_meson(
16+
SOURCE_PATH "${SOURCE_PATH}"
17+
)
18+
19+
vcpkg_install_meson()
20+
21+
vcpkg_fixup_pkgconfig()
22+
23+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSES/LGPL-2.1-or-later.txt")

ports/iso-codes/vcpkg.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "iso-codes",
3+
"version": "4.20.1",
4+
"description": "Lists of the country, language, and currency names",
5+
"homepage": "https://salsa.debian.org/iso-codes-team/iso-codes",
6+
"license": "LGPL-2.1-or-later",
7+
"dependencies": [
8+
{
9+
"name": "gettext",
10+
"host": true,
11+
"default-features": false,
12+
"features": [
13+
"tools"
14+
]
15+
},
16+
{
17+
"name": "vcpkg-tool-meson",
18+
"host": true
19+
}
20+
]
21+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4048,6 +4048,10 @@
40484048
"baseline": "1.15.0",
40494049
"port-version": 0
40504050
},
4051+
"iso-codes": {
4052+
"baseline": "4.20.1",
4053+
"port-version": 0
4054+
},
40514055
"itay-grudev-singleapplication": {
40524056
"baseline": "3.5.4",
40534057
"port-version": 0

versions/i-/iso-codes.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "71ab8aee088e6105124a2b49297d5c4419c3e0ea",
5+
"version": "4.20.1",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)