aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libdc1394.rb
diff options
context:
space:
mode:
authorJack Nagel2014-05-31 19:04:23 -0500
committerJack Nagel2014-05-31 19:04:23 -0500
commit9d2608eb8918d6200436c00f2ffad5ee1368f7ae (patch)
tree11a61b48ddbfa3374409a12f928250583cb1fa69 /Library/Formula/libdc1394.rb
parent1a1a9aad48172d45680a95bb9c25e20b48aa282e (diff)
downloadhomebrew-9d2608eb8918d6200436c00f2ffad5ee1368f7ae.tar.bz2
libdc1394 2.2.2
Diffstat (limited to 'Library/Formula/libdc1394.rb')
-rw-r--r--Library/Formula/libdc1394.rb21
1 files changed, 5 insertions, 16 deletions
diff --git a/Library/Formula/libdc1394.rb b/Library/Formula/libdc1394.rb
index b16383c9a..5ec2b06cb 100644
--- a/Library/Formula/libdc1394.rb
+++ b/Library/Formula/libdc1394.rb
@@ -1,28 +1,18 @@
-require 'formula'
+require "formula"
class Libdc1394 < Formula
- homepage 'http://damien.douxchamps.net/ieee1394/libdc1394/'
- url 'https://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.1/libdc1394-2.2.1.tar.gz'
- sha1 'b92c9670b68c4e5011148f16c87532bef2e5b808'
+ homepage "http://damien.douxchamps.net/ieee1394/libdc1394/"
+ url "https://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.2/libdc1394-2.2.2.tar.gz"
+ sha1 "13958c3cd0709565b5e4a9012dcf2a9b710264e2"
- depends_on :libtool
- depends_on :automake
- depends_on :autoconf
- depends_on 'sdl'
+ depends_on "sdl"
# fix issue due to bug in OSX Firewire stack
# libdc1394 author comments here:
# http://permalink.gmane.org/gmane.comp.multimedia.libdc1394.devel/517
patch :DATA
- # Backport of upstream fixes for building on OS X
- patch do
- url "https://gist.githubusercontent.com/jacknagel/7395159/raw/3ba722636fb898d210170f5d8a494977c89626b7/libdc1394.patch"
- sha1 "832869d05dabf8d62c1a5ac1b10a94fb7b7755c5"
- end
-
def install
- system "autoreconf", "-fvi"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-examples",
@@ -31,7 +21,6 @@ class Libdc1394 < Formula
end
end
-
__END__
diff --git a/dc1394/macosx/capture.c b/dc1394/macosx/capture.c
index c7c71f2..8959535 100644