Skip to content

Commit

Permalink
lensfun: migrate to [email protected]
Browse files Browse the repository at this point in the history
Closes #54747.

Signed-off-by: Michka Popoff <[email protected]>
  • Loading branch information
iMichka committed May 18, 2020
1 parent d918d1a commit 665fed7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Formula/lensfun.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
class Lensfun < Formula
include Language::Python::Shebang

desc "Remove defects from digital images"
homepage "https://lensfun.github.io/"
url "https://downloads.sourceforge.net/project/lensfun/0.3.95/lensfun-0.3.95.tar.gz"
sha256 "82c29c833c1604c48ca3ab8a35e86b7189b8effac1b1476095c0529afb702808"
revision 1
revision 2

bottle do
sha256 "51bfd4a5907768d1449902b4d6ab730563d21e0cf509379ea6dcf783351daf5a" => :catalina
Expand All @@ -17,11 +19,14 @@ class Lensfun < Formula
depends_on "gettext"
depends_on "glib"
depends_on "libpng"
depends_on "python"
depends_on "python@3.8"

def install
system "cmake", ".", *std_cmake_args
system "make", "install"

rewrite_shebang detected_python_shebang,
bin/"lensfun-add-adapter", bin/"lensfun-convert-lcp", bin/"lensfun-update-data"
end

test do
Expand Down

0 comments on commit 665fed7

Please sign in to comment.