Skip to content

Commit dc0346d

Browse files
committed
libheif: add 1.14.0 bottle.
1 parent d4992ba commit dc0346d

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

Formula/libheif.rb

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,25 @@
11
class Libheif < Formula
22
desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
33
homepage "https://www.libde265.org/"
4-
url "https://github.com/strukturag/libheif/releases/download/v1.12.0/libheif-1.12.0.tar.gz"
5-
sha256 "e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718"
4+
url "https://github.com/strukturag/libheif/releases/download/v1.14.0/libheif-1.14.0.tar.gz"
5+
sha256 "9a2b969d827e162fa9eba582ebd0c9f6891f16e426ef608d089b1f24962295b5"
66
license "LGPL-3.0-only"
7-
revision 1
87

98
bottle do
10-
sha256 cellar: :any, arm64_monterey: "6285488bd07d49e996a1be0dfe7296051ade71cc2078ecbaa2243afd05afe560"
11-
sha256 cellar: :any, arm64_big_sur: "ccf8a9fecc4629a5ae7b7cdb2db8e86c74cf70ab345f960d513e45b57f646174"
12-
sha256 cellar: :any, monterey: "b2cadb8ecf0985f007340e54853ffa685f57fd4dba8cae4bae37499119a9fe04"
13-
sha256 cellar: :any, big_sur: "6a82cb078278ee9e6240b6c738308974ca3a4ef545c30016f8395967bb6f4959"
14-
sha256 cellar: :any, catalina: "9ed1d527c347fa67d346d5d638b1760177693819d167c7dc549ebabcaabc428c"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "6382a34a85ddc5cb1a8359de883c18867340294b2f662e84650b287f04324484"
9+
root_url "https://github.com/gromgit/homebrew-core-aarch64_linux/releases/download/libheif"
10+
sha256 cellar: :any_skip_relocation, aarch64_linux: "c6b89db7ed30cf54ad96013258c0088c587c208396d6740a1951b3d8d2527144"
1611
end
1712

1813
depends_on "pkg-config" => :build
1914
depends_on "aom"
20-
depends_on "jpeg"
15+
depends_on "jpeg-turbo"
2116
depends_on "libde265"
2217
depends_on "libpng"
2318
depends_on "shared-mime-info"
2419
depends_on "x265"
2520

26-
# Fix -flat_namespace being used on Big Sur and later.
27-
patch do
28-
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff"
29-
sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c"
30-
end
31-
3221
def install
33-
system "./configure", "--disable-dependency-tracking",
34-
"--disable-silent-rules",
35-
"--prefix=#{prefix}"
22+
system "./configure", *std_configure_args, "--disable-silent-rules"
3623
system "make", "install"
3724
pkgshare.install "examples/example.heic"
3825
pkgshare.install "examples/example.avif"
@@ -51,7 +38,7 @@ def post_install
5138
assert_predicate testpath/"exampleheic-1.jpg", :exist?
5239
assert_predicate testpath/"exampleheic-2.jpg", :exist?
5340

54-
output = "File contains 1 images"
41+
output = "File contains 1 image"
5542
example = pkgshare/"example.avif"
5643
exout = testpath/"exampleavif.jpg"
5744

0 commit comments

Comments
 (0)