Skip to content

Commit

Permalink
desktop-file-utils: declare indirect deps with linkage
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Jul 13, 2024
1 parent aed2971 commit b7f978c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Formula/d/desktop-file-utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

0 comments on commit b7f978c

Please sign in to comment.