Skip to content

Commit

Permalink
[babl] new port (#43596)
Browse files Browse the repository at this point in the history
  • Loading branch information
talregev authored Feb 6, 2025
1 parent 8143d2e commit a0ea252
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
27 changes: 27 additions & 0 deletions ports/babl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
vcpkg_download_distfile(ARCHIVE
URLS https://download.gimp.org/pub/babl/0.1/babl-${VERSION}.tar.xz
FILENAME "babl-${VERSION}.tar.xz"
SHA512 20e40baa6654785d69642e6e85542968db3c5d08da630adc590ff066a52c5938f4ce8a77c0097e00010a905c8c31d8f131eb0308a3f8b6439ab6be4133eae246
)

vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
PATCHES
)

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dwith-docs=false
)

vcpkg_install_meson()

vcpkg_copy_pdbs()

vcpkg_fixup_pkgconfig()

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
17 changes: 17 additions & 0 deletions ports/babl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "babl",
"version": "0.1.110",
"description": "Pixel format conversion library.",
"homepage": "https://gegl.org/babl/",
"license": "LGPL-3.0-or-later",
"supports": "!windows | mingw",
"dependencies": [
"glib",
"lcms",
"librsvg",
{
"name": "vcpkg-tool-meson",
"host": true
}
]
}
9 changes: 9 additions & 0 deletions versions/b-/babl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "926b963761bc58db14e2f6c573a6462d43a68953",
"version": "0.1.110",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,10 @@
"baseline": "2.0.0.1",
"port-version": 2
},
"babl": {
"baseline": "0.1.110",
"port-version": 0
},
"backward-cpp": {
"baseline": "2023-11-24",
"port-version": 1
Expand Down

0 comments on commit a0ea252

Please sign in to comment.