Skip to content

Commit

Permalink
macOS: use "pkgconf" instead of "pkg-conf"
Browse files Browse the repository at this point in the history
  • Loading branch information
bigcat88 committed Nov 28, 2024
1 parent ade771a commit 2775a9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions libheif/macos/libheif.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Libheif < Formula
revision 10

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build

depends_on "aom"
depends_on "jpeg-turbo"
Expand Down Expand Up @@ -71,14 +71,14 @@ def post_install
exout = testpath/"exampleheic.jpg"

assert_match output, shell_output("#{bin}/heif-convert #{example} #{exout}")
assert_predicate testpath/"exampleheic-1.jpg", :exist?
assert_predicate testpath/"exampleheic-2.jpg", :exist?
assert_path_exists testpath/"exampleheic-1.jpg"
assert_path_exists testpath/"exampleheic-2.jpg"

output = "File contains 1 image"
example = pkgshare/"example.avif"
exout = testpath/"exampleavif.jpg"

assert_match output, shell_output("#{bin}/heif-convert #{example} #{exout}")
assert_predicate testpath/"exampleavif.jpg", :exist?
assert_path_exists testpath/"exampleavif.jpg"
end
end
2 changes: 1 addition & 1 deletion pi-heif/libheif/macos/libheif.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Libheif < Formula
revision 10

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build

depends_on "libde265"

Expand Down

0 comments on commit 2775a9b

Please sign in to comment.