qca: fix build with qt 5.5

Also minor adjustments for `brew audit --strict` compliance.

Closes Homebrew/homebrew#42103.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Martin Afanasjew 2015-07-25 00:13:30 +02:00 committed by Dominyk Tiller
parent 49666b8522
commit f859e53e8c

View file

@ -1,13 +1,19 @@
require "formula"
class Qca < Formula
desc "Qt Cryptographic Architecture (QCA)"
homepage "http://delta.affinix.com/qca/"
url "http://delta.affinix.com/download/qca/2.0/qca-2.1.0.tar.gz"
sha1 "2b582b3ccc7e6098cd14d6f52a829ae1539e9cc8"
head "git://anongit.kde.org/qca.git"
stable do
url "http://delta.affinix.com/download/qca/2.0/qca-2.1.0.tar.gz"
sha256 "226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284"
# Fixes build with Qt 5.5 by adding a missing include (already fixed in HEAD).
patch do
url "http://quickgit.kde.org/?p=qca.git&a=commitdiff&h=7207e6285e932044cd66d49d0dc484666cfb0092&o=plain"
sha256 "b3ab2eb010f4a16f85349e4b858d0ee17a84ba2927311b79aeeff1bb2465cd3d"
end
end
bottle do
revision 1
sha1 "356114a1ff4876b5027c679e05dbbca7a577bbfb" => :yosemite