vcpkg/ports/pangomm/portfile.cmake
Thomas1664 63c539fdac
[atkmm, pangomm] Update and remove local license files (#24254)
* [atkmm, pangomm] Move to GitLab

* version

* Add SHA

* version

* Enable maintainer mode

* version

* [mmcommon] New port

* Format

* Format

* version

* Hash

* version

* Python

* version

* Remove mmcommon

* Keep distfile

* version

* Update download file

* Update hash

* version
2022-04-20 14:46:06 -07:00

29 lines
1.1 KiB
CMake

# Keep distfile, don't use GitLab!
vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.gnome.org/pub/GNOME/sources/pangomm/2.50/pangomm-2.50.0.tar.xz"
FILENAME "pangomm-2.50.0.tar.xz"
SHA512 844850db93b8c4dab19dd364e674ee3d61b2fcb8e020ab3d314f240065ee17aeceea21e9ddc438a7d09d56410e3f82147a57425f76bb01e26d82872934269477
)
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
)
vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dmsvc14x-parallel-installable=false
-Dbuild-documentation=false
ADDITIONAL_NATIVE_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
ADDITIONAL_CROSS_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()
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)