libqxt: add note on upstream development cessation

Upstream aren’t going to develop this any further, and it’s likely to
break against future qt version. Have added a note of this in the
formula, and fixed some audit nits.

We could just boneyard it now, but I guess it doesn’t hurt to wait
until it actually breaks.

Closes Homebrew/homebrew#36302.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2015-01-28 03:52:23 +00:00 committed by Mike McQuaid
parent 192c707dca
commit 174cec414a

View file

@ -1,9 +1,7 @@
require 'formula'
class Libqxt < Formula
homepage 'http://libqxt.org/'
url 'http://dev.libqxt.org/libqxt/get/v0.6.2.tar.gz'
sha1 'e72a115895d6469972d3f1464bebeab72c497244'
homepage "http://libqxt.org/"
url "http://dev.libqxt.org/libqxt/get/v0.6.2.tar.gz"
sha1 "e72a115895d6469972d3f1464bebeab72c497244"
bottle do
revision 1
@ -12,8 +10,10 @@ class Libqxt < Formula
sha1 "14ce9bb17e24f36a53745d5bd4c1b0341fb76e51" => :mountain_lion
end
depends_on 'qt'
depends_on 'berkeley-db' => :optional
# As of 26/07/2014 this formula is no longer maintained upstream.
# http://dev.libqxt.org/libqxt/wiki/commits/7e7a0ad676e649bf6f64a2cad1ea6dd204fb766c
depends_on "qt"
depends_on "berkeley-db" => :optional
# Patch src/gui/qxtglobalshortcut_mac.cpp to fix a bug caused by obsolete
# constants in Mac OS X 10.6.
@ -30,10 +30,10 @@ class Libqxt < Formula
"-docdir", "#{prefix}/doc",
"-featuredir", "#{prefix}/features",
"-release"]
args << "-no-db" if build.without? 'berkeley-db'
args << "-no-db" if build.without? "berkeley-db"
system "./configure", *args
system "make"
system "make install"
system "make", "install"
end
end