From b7f978c0d2f788f4a766f410c912c0f8d17f6b21 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 13 Jul 2024 14:39:26 -0400 Subject: [PATCH] desktop-file-utils: declare indirect deps with linkage Signed-off-by: Rui Chen --- Formula/d/desktop-file-utils.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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