libraw 0.19.0
This commit is contained in:
parent
803a3f0790
commit
ef043d4a1c
1 changed files with 3 additions and 18 deletions
|
@ -1,8 +1,8 @@
|
|||
class Libraw < Formula
|
||||
desc "Library for reading RAW files from digital photo cameras"
|
||||
homepage "https://www.libraw.org/"
|
||||
url "https://www.libraw.org/data/LibRaw-0.18.12.tar.gz"
|
||||
sha256 "57754d75a857e16ba1c2a429e4b5b4d79160a59eadaec715351fc9c8448653d4"
|
||||
url "https://www.libraw.org/data/LibRaw-0.19.0.tar.gz"
|
||||
sha256 "e83f51e83b19f9ba6b8bd144475fc12edf2d7b3b930d8d280bdebd8a8f3ed259"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -22,24 +22,9 @@ class Libraw < Formula
|
|||
sha256 "7886d8b0e1257897faa7404b98fe1086ee2d95606531b6285aed83a0939b768f"
|
||||
end
|
||||
|
||||
resource "gpl2" do
|
||||
url "https://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-0.18.8.tar.gz"
|
||||
mirror "https://ftp.osuosl.org/pub/gentoo/distfiles/LibRaw-demosaic-pack-GPL2-0.18.8.tar.gz"
|
||||
sha256 "0b24bcf7bbb5d13fde58bb071f94dc9354be09bc44b2bba0698493065e99f8da"
|
||||
end
|
||||
|
||||
resource "gpl3" do
|
||||
url "https://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-0.18.8.tar.gz"
|
||||
mirror "https://ftp.osuosl.org/pub/gentoo/distfiles/LibRaw-demosaic-pack-GPL3-0.18.8.tar.gz"
|
||||
sha256 "ffd6916cd66c8101e4e6b589799f256c897748d2fd2486aa34c3705146dbc701"
|
||||
end
|
||||
|
||||
def install
|
||||
%w[gpl2 gpl3].each { |f| (buildpath/f).install resource(f) }
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--disable-dependency-tracking",
|
||||
"--enable-demosaic-pack-gpl2=#{buildpath}/gpl2",
|
||||
"--enable-demosaic-pack-gpl3=#{buildpath}/gpl3"
|
||||
"--disable-dependency-tracking"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
doc.install Dir["doc/*"]
|
||||
|
|
Loading…
Reference in a new issue