aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2014-10-06 04:46:16 +0100
committerMike McQuaid2014-10-06 20:09:26 +0100
commita6b10bbc525d8dc12fc916b6afd5a003ff2ae671 (patch)
tree376e9647aa5f22c9f7c1e6698aaadf697241df4a /Library
parentba42dab9999cf5b0c3808280dceaa7d7215faeef (diff)
downloadhomebrew-a6b10bbc525d8dc12fc916b6afd5a003ff2ae671.tar.bz2
cardpeek: add gtk+3.14 patch.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cardpeek.rb23
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}"