From 44135c31038685cb7deaed1d703ef6707c867a0d Mon Sep 17 00:00:00 2001 From: Alonso Schaich Date: Wed, 26 Oct 2022 06:18:40 +0000 Subject: [PATCH] [graphene] update to 1.10.8 (microsoft#27397) (#27398) * [graphene] update to 1.10.8 (microsoft#27397) * [graphene] regenerate versions registries (microsoft#27397) * Use VERSION declared by vcpkg itself, add quotes. * Add license field. * Modernize vcpkg_extract_source_archive_ex Co-authored-by: Billy Robert O'Neal III --- ports/graphene/portfile.cmake | 17 +++++++---------- ports/graphene/vcpkg.json | 4 ++-- versions/baseline.json | 4 ++-- versions/g-/graphene.json | 5 +++++ 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/ports/graphene/portfile.cmake b/ports/graphene/portfile.cmake index 2c16cdbc5b..1c226cc86e 100644 --- a/ports/graphene/portfile.cmake +++ b/ports/graphene/portfile.cmake @@ -1,25 +1,22 @@ - -set(VERSION 1.10.2) - vcpkg_download_distfile(ARCHIVE URLS "https://download.gnome.org/sources/graphene/1.10/graphene-${VERSION}.tar.xz" FILENAME "graphene-${VERSION}.tar.xz" - SHA512 a8a8ef1e4ccffee2313a18b9b8dda06c7ede6d49fdde8578694500634e3c90278fd30af7d88938d5ecb08c519cc3e09d21fe69d0f21cb766e056ceedbb3eafb0 + SHA512 c56dab6712cf58387d0512a213cd0cd456679e46a495ee5cfd9bc25440cda2d72d56974af4e462f3c863869a1e2e506b702f468933045609d35fdf006212c67d ) -vcpkg_extract_source_archive_ex( - OUT_SOURCE_PATH SOURCE_PATH - ARCHIVE ${ARCHIVE} +vcpkg_extract_source_archive( + SOURCE_PATH + ARCHIVE "${ARCHIVE}" PATCHES fix_clang-cl.patch ) vcpkg_configure_meson( - SOURCE_PATH ${SOURCE_PATH} + SOURCE_PATH "${SOURCE_PATH}" OPTIONS -Dgtk_doc=false #Enable generating the API reference (depends on GTK-Doc) -Dgobject_types=true #Enable GObject types (depends on GObject) - -Dintrospection=false #Enable GObject Introspection (depends on GObject)' + -Dintrospection=disabled #Enable GObject Introspection (depends on GObject)' -Dtests=false -Dinstalled_tests=false ADDITIONAL_NATIVE_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal' @@ -34,4 +31,4 @@ vcpkg_copy_pdbs() vcpkg_fixup_pkgconfig() -file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/graphene/vcpkg.json b/ports/graphene/vcpkg.json index 01f0cb6f78..d948cda36a 100644 --- a/ports/graphene/vcpkg.json +++ b/ports/graphene/vcpkg.json @@ -1,9 +1,9 @@ { "name": "graphene", - "version": "1.10.2", - "port-version": 3, + "version": "1.10.8", "description": "A thin layer of types for graphic libraries.", "homepage": "https://www.gtk.org/", + "license": "MIT", "supports": "!(arm & windows)", "dependencies": [ "gettext", diff --git a/versions/baseline.json b/versions/baseline.json index 6e8052d5dc..9998bc9277 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2737,8 +2737,8 @@ "port-version": 2 }, "graphene": { - "baseline": "1.10.2", - "port-version": 3 + "baseline": "1.10.8", + "port-version": 0 }, "graphicsmagick": { "baseline": "1.3.37", diff --git a/versions/g-/graphene.json b/versions/g-/graphene.json index c41e87db1b..fa3fdd39ec 100644 --- a/versions/g-/graphene.json +++ b/versions/g-/graphene.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "79dd231d51d71f5e0d49fbea65d88e0c1a8eb6fc", + "version": "1.10.8", + "port-version": 0 + }, { "git-tree": "a55f155dd8a61f69cfd04bc85fcbb7bba5efcaed", "version": "1.10.2",