Skip to content

Commit

Permalink
Add gexiv2 new port
Browse files Browse the repository at this point in the history
  • Loading branch information
talregev committed Feb 4, 2025
1 parent 0ca64b4 commit 5393705
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
34 changes: 34 additions & 0 deletions ports/gexiv2/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
vcpkg_download_distfile(ARCHIVE
URLS "https://download.gnome.org/sources/gexiv2/0.14/gexiv2-${VERSION}.tar.xz"
FILENAME "gexiv2-${VERSION}.tar.xz"
SHA512 24c97fa09b9ee32cb98da4637ea78eb72ae7e2d1792f9ebb31d63e305b3e0e1f6935b8647589c76c39ba631a15c1d8d2f3879c7dff81433786e9533b6348b6a0
)

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

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dintrospection=false
-Dvapi=false
-Dgtk_doc=false
-Dpython3=false
-Dtests=false
-Dtools=false
ADDITIONAL_BINARIES
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
)

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")
20 changes: 20 additions & 0 deletions ports/gexiv2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "gexiv2",
"version": "0.14.3",
"description": "A GObject-based Exiv2 wrapper.",
"homepage": "https://gitlab.gnome.org/GNOME/gexiv2/",
"license": "GPL-2.0-or-later",
"supports": "!windows | mingw",
"dependencies": [
"exiv2",
"glib",
{
"name": "glib",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3080,6 +3080,10 @@
"baseline": "2017-10-14",
"port-version": 6
},
"gexiv2": {
"baseline": "0.14.3",
"port-version": 0
},
"gflags": {
"baseline": "2.2.2",
"port-version": 9
Expand Down
9 changes: 9 additions & 0 deletions versions/g-/gexiv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "26bff3144361079f7395a3c835794793e2c8bb62",
"version": "0.14.3",
"port-version": 0
}
]
}

0 comments on commit 5393705

Please sign in to comment.