diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/pangomm | |
Diffstat (limited to 'vcpkg/ports/pangomm')
| -rw-r--r-- | vcpkg/ports/pangomm/portfile.cmake | 29 | ||||
| -rw-r--r-- | vcpkg/ports/pangomm/vcpkg.json | 28 |
2 files changed, 57 insertions, 0 deletions
diff --git a/vcpkg/ports/pangomm/portfile.cmake b/vcpkg/ports/pangomm/portfile.cmake new file mode 100644 index 0000000..c692458 --- /dev/null +++ b/vcpkg/ports/pangomm/portfile.cmake @@ -0,0 +1,29 @@ +string(REGEX REPLACE "\\.[0-9]+$" "" MAJOR_MINOR ${VERSION}) + +# Keep distfile, don't use GitLab! +vcpkg_download_distfile(ARCHIVE + URLS "https://ftp.gnome.org/pub/GNOME/sources/pangomm/${MAJOR_MINOR}/pangomm-${VERSION}.tar.xz" + FILENAME "pangomm-${VERSION}.tar.xz" + SHA512 3000126cdf538f43c131a186999fd39d81ec471f5770d8dfd721ff84cb3f5ad44d17cdcc732299ee9d9f34f2dd1279959cf6e1b863c3a0afc32e49b453db782b +) + +vcpkg_extract_source_archive( + SOURCE_PATH + ARCHIVE ${ARCHIVE} +) + +vcpkg_configure_meson( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Dmsvc14x-parallel-installable=false + -Dbuild-documentation=false + ADDITIONAL_BINARIES + glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal' + glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums' +) + +vcpkg_install_meson() +vcpkg_fixup_pkgconfig() +vcpkg_copy_pdbs() + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") diff --git a/vcpkg/ports/pangomm/vcpkg.json b/vcpkg/ports/pangomm/vcpkg.json new file mode 100644 index 0000000..aeea645 --- /dev/null +++ b/vcpkg/ports/pangomm/vcpkg.json @@ -0,0 +1,28 @@ +{ + "name": "pangomm", + "version": "2.56.1", + "port-version": 1, + "description": "pangomm is the official C++ interface for the Pango font layout library. See, for instance, the Pango::Layout class.", + "homepage": "https://gitlab.gnome.org/GNOME/pangomm", + "license": "LGPL-2.1-or-later", + "supports": "!xbox", + "dependencies": [ + "cairo", + "cairomm", + "fontconfig", + "freetype", + "gettext", + "glib", + { + "name": "glib", + "host": true + }, + "glibmm", + "harfbuzz", + "pango", + { + "name": "vcpkg-tool-meson", + "host": true + } + ] +} |