[gexiv2] add introspection feature (#48968)

This commit is contained in:
talregev
2025-12-19 16:04:44 -05:00
committed by GitHub
parent 29647bb3d5
commit 4566254597
4 changed files with 29 additions and 6 deletions
+12 -3
View File
@@ -15,20 +15,29 @@ vcpkg_extract_source_archive(
msvc_def.patch
)
if("introspection" IN_LIST FEATURES)
list(APPEND feature_options "-Dintrospection=true")
vcpkg_get_gobject_introspection_programs(PYTHON3 GIR_COMPILER GIR_SCANNER)
else()
list(APPEND feature_options "-Dintrospection=false")
endif()
vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dintrospection=false
${feature_options}
-Dvapi=false
-Dgtk_doc=false
-Dpython3=false
-Dtests=false
-Dtools=false
ADDITIONAL_BINARIES
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
"glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'"
"g-ir-compiler='${GIR_COMPILER}'"
"g-ir-scanner='${GIR_SCANNER}'"
)
vcpkg_install_meson()
vcpkg_install_meson(ADD_BIN_TO_PATH)
vcpkg_copy_pdbs()
+11 -2
View File
@@ -1,7 +1,7 @@
{
"name": "gexiv2",
"version": "0.14.3",
"port-version": 2,
"port-version": 3,
"description": "A GObject-based Exiv2 wrapper.",
"homepage": "https://gitlab.gnome.org/GNOME/gexiv2/",
"license": "GPL-2.0-or-later",
@@ -16,5 +16,14 @@
"name": "vcpkg-tool-meson",
"host": true
}
]
],
"features": {
"introspection": {
"description": "Enable introspection",
"supports": "!static & !windows",
"dependencies": [
"gobject-introspection"
]
}
}
}
+1 -1
View File
@@ -3298,7 +3298,7 @@
},
"gexiv2": {
"baseline": "0.14.3",
"port-version": 2
"port-version": 3
},
"gflags": {
"baseline": "2.3.0",
+5
View File
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9678b2c75bb1e3a83eaa9cfe8a0575a1e6a1b1d6",
"version": "0.14.3",
"port-version": 3
},
{
"git-tree": "fef5255b3edb46d8fd8b574720127964141d52f2",
"version": "0.14.3",