Skip to content

Commit b9e536d

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

4 files changed

Lines changed: 59 additions & 0 deletions

File tree

ports/iso-codes/portfile.cmake

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
vcpkg_download_distfile(ARCHIVE
2+
URLS "https://deb.debian.org/debian/pool/main/i/iso-codes/iso-codes_${VERSION}.orig.tar.xz"
3+
FILENAME "iso-codes-${VERSION}.tar.xz"
4+
SHA512 30a334635df8273ecb154532a68ee6b9a7ce4c13987e05ed68a5807bab66e84ba6db3e3e5b7ad6ad752471bf7ebf43590ee20cb6e9c890e05b1d081d2ea9dad7
5+
)
6+
7+
vcpkg_extract_source_archive(
8+
SOURCE_PATH
9+
ARCHIVE "${ARCHIVE}"
10+
)
11+
12+
vcpkg_add_to_path("${CURRENT_HOST_INSTALLED_DIR}/tools/gettext/bin")
13+
14+
vcpkg_configure_meson(
15+
SOURCE_PATH "${SOURCE_PATH}"
16+
)
17+
18+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
19+
vcpkg_install_meson()
20+
21+
vcpkg_fixup_pkgconfig()
22+
23+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
24+
25+
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": "256f884c481328b44b86a5f9da3823810fdcde50",
5+
"version": "4.20.1",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)