Skip to content

Commit 80ed02e

Browse files
cho-mBrewTestBot
authored andcommitted
libtiff: migrate jpeg to jpeg-turbo
1 parent acec2ba commit 80ed02e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Formula/libtiff.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class Libtiff < Formula
55
mirror "https://fossies.org/linux/misc/tiff-4.4.0.tar.gz"
66
sha256 "917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed"
77
license "libtiff"
8+
revision 1
89

910
livecheck do
1011
url "https://download.osgeo.org/libtiff/"
@@ -20,7 +21,7 @@ class Libtiff < Formula
2021
sha256 cellar: :any_skip_relocation, x86_64_linux: "fa756f41864cae38e3c74b29b857f7c2f081a3b9eabd1c551cd6e39e12fd17bf"
2122
end
2223

23-
depends_on "jpeg"
24+
depends_on "jpeg-turbo"
2425

2526
uses_from_macos "zlib"
2627

@@ -31,8 +32,8 @@ def install
3132
--disable-lzma
3233
--disable-webp
3334
--disable-zstd
34-
--with-jpeg-include-dir=#{Formula["jpeg"].opt_include}
35-
--with-jpeg-lib-dir=#{Formula["jpeg"].opt_lib}
35+
--with-jpeg-include-dir=#{Formula["jpeg-turbo"].opt_include}
36+
--with-jpeg-lib-dir=#{Formula["jpeg-turbo"].opt_lib}
3637
--without-x
3738
]
3839
system "./configure", *args

0 commit comments

Comments
 (0)