Skip to content

Commit

Permalink
Merge pull request #178864 from Homebrew/gegl-meson
Browse files Browse the repository at this point in the history
gegl: replace deprecated usage of `meson setup`
  • Loading branch information
BrewTestBot authored Jul 29, 2024
2 parents aac57b3 + 86ae976 commit 896897a
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions Formula/g/gegl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,24 @@ class Gegl < Formula
sha256 x86_64_linux: "4411ccbe1d5e15a856bec20d3da20a381f97a0ec6950fd906475f7bc26b64bb5"
end

depends_on "gettext" => :build
depends_on "gobject-introspection" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build

depends_on "babl"
depends_on "gettext"
depends_on "glib"
depends_on "jpeg-turbo"
depends_on "json-glib"
depends_on "libpng"
depends_on "libtiff"
depends_on "little-cms2"

on_macos do
depends_on "gettext"
end

on_linux do
depends_on "cairo"
depends_on "poppler"
Expand All @@ -51,14 +55,16 @@ def install
touch "subprojects/poly2tri-c/EMPTYFILE.c"
### END Temporary Fix ###

system "meson", *std_meson_args, "build",
"-Ddocs=false",
"-Dcairo=disabled",
"-Djasper=disabled",
"-Dumfpack=disabled",
"-Dlibspiro=disabled",
"--force-fallback-for=libnsgif,poly2tri-c"
system "meson", "compile", "-C", "build", "-v"
args = %w[
-Ddocs=false
-Dcairo=disabled
-Djasper=disabled
-Dumfpack=disabled
-Dlibspiro=disabled
--force-fallback-for=libnsgif,poly2tri-c
]
system "meson", "setup", "build", *args, *std_meson_args
system "meson", "compile", "-C", "build", "--verbose"
system "meson", "install", "-C", "build"
end

Expand Down

0 comments on commit 896897a

Please sign in to comment.