Skip to content

Commit

Permalink
libtiff: migrate jpeg to jpeg-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m authored and BrewTestBot committed Jul 27, 2022
1 parent acec2ba commit 80ed02e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/libtiff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Libtiff < Formula
mirror "https://fossies.org/linux/misc/tiff-4.4.0.tar.gz"
sha256 "917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed"
license "libtiff"
revision 1

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

depends_on "jpeg"
depends_on "jpeg-turbo"

uses_from_macos "zlib"

Expand All @@ -31,8 +32,8 @@ def install
--disable-lzma
--disable-webp
--disable-zstd
--with-jpeg-include-dir=#{Formula["jpeg"].opt_include}
--with-jpeg-lib-dir=#{Formula["jpeg"].opt_lib}
--with-jpeg-include-dir=#{Formula["jpeg-turbo"].opt_include}
--with-jpeg-lib-dir=#{Formula["jpeg-turbo"].opt_lib}
--without-x
]
system "./configure", *args
Expand Down

0 comments on commit 80ed02e

Please sign in to comment.