diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cardpeek.rb | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/Library/Formula/cardpeek.rb b/Library/Formula/cardpeek.rb index fa1f51749..91277e599 100644 --- a/Library/Formula/cardpeek.rb +++ b/Library/Formula/cardpeek.rb @@ -1,12 +1,23 @@ -require 'formula' +require "formula" class Cardpeek < Formula homepage "http://pannetrat.com/Cardpeek/" - url "http://downloads.pannetrat.com/get/302b8a00996e9f4180ad/cardpeek-0.8.3.tar.gz" - mirror "https://raw.githubusercontent.com/DomT4/LibreMirror/master/Cardpeek/cardpeek-0.8.3.tar.gz" - sha1 "8cc9c0652f0214ec06badb5b86974c66ca035a43" - head "http://cardpeek.googlecode.com/svn/trunk/" + stable do + url "http://downloads.pannetrat.com/get/302b8a00996e9f4180ad/cardpeek-0.8.3.tar.gz" + mirror "https://raw.githubusercontent.com/DomT4/LibreMirror/master/Cardpeek/cardpeek-0.8.3.tar.gz" + sha1 "8cc9c0652f0214ec06badb5b86974c66ca035a43" + + # Patch required to fix GTK3.14 fatal build issues. Already merged into HEAD. + patch :p0 do + url "https://cardpeek.googlecode.com/issues/attachment?aid=500005000&name=patch-for-gtk-3.14.patch&token=ABZ6GAe27u5TeVC93yVqB58IQsyy6FjQQw%3A1412564556195" + sha1 "33b27af98546f605e5ab1c4a894c7db8fc2045f8" + end + end + + head do + url "https://cardpeek.googlecode.com/svn/trunk/" + end depends_on "pkg-config" => :build depends_on "glib" @@ -20,7 +31,7 @@ class Cardpeek < Formula def install # always run autoreconf, neeeded to generate configure for --HEAD, # and otherwise needed to reflect changes to configure.ac - system "autoreconf -i" + system "autoreconf", "-i" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" |
