2011-03-10 05:11:03 +00:00
|
|
|
class Fbida < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "View and edit photo images"
|
2015-07-15 16:29:07 +00:00
|
|
|
homepage "http://linux.bytesex.org/fbida/"
|
|
|
|
url "http://dl.bytesex.org/releases/fbida/fbida-2.10.tar.gz"
|
|
|
|
sha256 "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6"
|
2012-03-19 04:29:53 +00:00
|
|
|
|
2015-07-15 17:16:23 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "9d5593851f4e1a378e96219288893de00fb3aaf3b8e454362d8d4c3568bcb694" => :yosemite
|
|
|
|
sha256 "f0c80275d3c79df13d562c200fe2cc53474c9893ceff33686196efd0cc5dd286" => :mavericks
|
|
|
|
sha256 "7f99cfe93aa20461e91af71cba12f362ecedf72410605775914d3a9173a7b7d2" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-07-15 16:29:07 +00:00
|
|
|
depends_on "libexif"
|
|
|
|
depends_on "jpeg"
|
2013-02-21 00:18:08 +00:00
|
|
|
|
2015-07-15 16:29:07 +00:00
|
|
|
# Fix issue in detection of jpeg library
|
2014-03-18 21:51:41 +00:00
|
|
|
patch :DATA
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-05-30 14:07:17 +00:00
|
|
|
def install
|
2015-07-15 16:29:07 +00:00
|
|
|
ENV.append "LDFLAGS", "-liconv"
|
2010-05-30 14:07:17 +00:00
|
|
|
system "make"
|
2015-07-15 16:29:07 +00:00
|
|
|
bin.install "exiftran"
|
|
|
|
man1.install "exiftran.man" => "exiftran.1"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/exiftran", "-9", "-o", "out.jpg", test_fixtures("test.jpg")
|
2010-05-30 14:07:17 +00:00
|
|
|
end
|
|
|
|
end
|
2012-03-19 04:29:53 +00:00
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/GNUmakefile b/GNUmakefile
|
2015-07-15 16:29:07 +00:00
|
|
|
index 2d18ab4..5b409fb 100644
|
2012-03-19 04:29:53 +00:00
|
|
|
--- a/GNUmakefile
|
|
|
|
+++ b/GNUmakefile
|
2015-07-15 16:29:07 +00:00
|
|
|
@@ -30,7 +30,7 @@ include $(srcdir)/mk/Autoconf.mk
|
2012-03-19 04:29:53 +00:00
|
|
|
|
|
|
|
ac_jpeg_ver = $(shell \
|
|
|
|
$(call ac_init,for libjpeg version);\
|
2015-07-15 16:29:07 +00:00
|
|
|
- $(call ac_s_cmd,echo JPEG_LIB_VERSION \
|
|
|
|
+ $(call ac_s_cmd,printf JPEG_LIB_VERSION \
|
|
|
|
| cpp -include jpeglib.h | tail -n 1);\
|
2012-03-19 04:29:53 +00:00
|
|
|
$(call ac_fini))
|
|
|
|
|