aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gegl/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/gegl/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/gegl/portfile.cmake')
-rw-r--r--vcpkg/ports/gegl/portfile.cmake58
1 files changed, 58 insertions, 0 deletions
diff --git a/vcpkg/ports/gegl/portfile.cmake b/vcpkg/ports/gegl/portfile.cmake
new file mode 100644
index 0000000..e6a4546
--- /dev/null
+++ b/vcpkg/ports/gegl/portfile.cmake
@@ -0,0 +1,58 @@
+string(REGEX MATCH [[^[0-9][0-9]*\.[1-9][0-9]*]] VERSION_MAJOR_MINOR ${VERSION})
+
+vcpkg_download_distfile(ARCHIVE
+ URLS https://download.gimp.org/pub/gegl/${VERSION_MAJOR_MINOR}/gegl-${VERSION}.tar.xz
+ FILENAME "gegl-${VERSION}.tar.xz"
+ SHA512 bf4801588abe8b568ae3d1daafa97af28516bbbdd44d2a0798c87412b49301f621db3cf1c7a3ec33f19d96ab4dbd37d80824f04460116a896dd7415aa0d5229d
+)
+
+vcpkg_extract_source_archive(
+ SOURCE_PATH
+ ARCHIVE "${ARCHIVE}"
+ PATCHES
+ disable_tests.patch
+ remove_execinfo_support.patch
+)
+
+vcpkg_configure_meson(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -Ddocs=false
+ -Dintrospection=false
+ -Dgdk-pixbuf=disabled
+ -Dgexiv2=disabled
+ -Dgraphviz=disabled
+ -Djasper=disabled
+ -Dlcms=disabled
+ -Dlensfun=disabled
+ -Dlibav=disabled
+ -Dlibraw=disabled
+ -Dlibrsvg=disabled
+ -Dlibspiro=disabled
+ -Dlibtiff=disabled
+ -Dlibv4l=disabled
+ -Dlibv4l2=disabled
+ -Dlua=disabled
+ -Dmrg=disabled
+ -Dmaxflow=disabled
+ -Dopenexr=disabled
+ -Dopenmp=disabled
+ -Dcairo=disabled
+ -Dpango=disabled
+ -Dpangocairo=disabled
+ -Dpoppler=disabled
+ -Dpygobject=disabled
+ -Dsdl2=disabled
+ -Dumfpack=disabled
+ -Dwebp=disabled
+)
+
+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")