diff --git a/ports/gegl/portfile.cmake b/ports/gegl/portfile.cmake index 07f0fa2ace..61e1fc5649 100644 --- a/ports/gegl/portfile.cmake +++ b/ports/gegl/portfile.cmake @@ -22,6 +22,12 @@ else() list(APPEND feature_options "-Dintrospection=false") endif() +if("cairo" IN_LIST FEATURES) + list(APPEND feature_options "-Dcairo=enabled") +else() + list(APPEND feature_options "-Dcairo=disabled") +endif() + vcpkg_configure_meson( SOURCE_PATH "${SOURCE_PATH}" OPTIONS @@ -45,7 +51,6 @@ vcpkg_configure_meson( -Dmaxflow=disabled -Dopenexr=disabled -Dopenmp=disabled - -Dcairo=disabled -Dpango=disabled -Dpangocairo=disabled -Dpoppler=disabled diff --git a/ports/gegl/vcpkg.json b/ports/gegl/vcpkg.json index 11faa5371a..ea6e271e79 100644 --- a/ports/gegl/vcpkg.json +++ b/ports/gegl/vcpkg.json @@ -1,6 +1,7 @@ { "name": "gegl", "version": "0.4.66", + "port-version": 1, "description": "Generic Graphical Library.", "homepage": "https://gegl.org/", "license": "LGPL-3.0-or-later", @@ -16,6 +17,15 @@ } ], "features": { + "cairo": { + "description": "Add cairo support", + "dependencies": [ + { + "name": "cairo", + "default-features": false + } + ] + }, "introspection": { "description": "Enable introspection", "supports": "!static", diff --git a/versions/baseline.json b/versions/baseline.json index 021d183e98..f121de6e87 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3250,7 +3250,7 @@ }, "gegl": { "baseline": "0.4.66", - "port-version": 0 + "port-version": 1 }, "gemmlowp": { "baseline": "2021-09-28", diff --git a/versions/g-/gegl.json b/versions/g-/gegl.json index c65ded8527..b3dfb052e2 100644 --- a/versions/g-/gegl.json +++ b/versions/g-/gegl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0090e814efd26e2ece837a00748aae0e2cf00ee6", + "version": "0.4.66", + "port-version": 1 + }, { "git-tree": "5a18d0d6cd7f4f7ccab7cfd2c4ef5b5cc331f6b9", "version": "0.4.66",