diff --git a/Formula/d/desktop-file-utils.rb b/Formula/d/desktop-file-utils.rb index 0303ed653362..077489c45e93 100644 --- a/Formula/d/desktop-file-utils.rb +++ b/Formula/d/desktop-file-utils.rb @@ -18,8 +18,13 @@ class DesktopFileUtils < Formula depends_on "meson" => :build depends_on "ninja" => :build depends_on "pkg-config" => :build + depends_on "glib" + on_macos do + depends_on "gettext" + end + def install system "meson", "setup", "build", *std_meson_args system "meson", "compile", "-C", "build", "--verbose" @@ -52,6 +57,7 @@ def install Name=Create a new Foo! Icon=fooview-new EOS - system "#{bin}/desktop-file-validate", "test.desktop" + + system bin/"desktop-file-validate", "test.desktop" end end