2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-04 22:23:08 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Quassel < Formula
|
2012-02-22 05:12:27 +00:00
|
|
|
homepage 'http://www.quassel-irc.org/'
|
2012-06-20 17:44:52 +00:00
|
|
|
url 'http://www.quassel-irc.org/pub/quassel-0.8.0.tar.bz2'
|
|
|
|
sha1 'b74967fa9f19b5d7c708279075cc0ef3a3dbbe8b'
|
2012-02-22 05:12:27 +00:00
|
|
|
|
2009-10-04 22:23:08 +00:00
|
|
|
head 'git://git.quassel-irc.org/quassel.git'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2009-10-04 22:23:08 +00:00
|
|
|
depends_on 'qt'
|
|
|
|
|
|
|
|
def patches
|
|
|
|
DATA
|
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2009-10-04 22:23:08 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
__END__
|
2012-06-20 17:44:52 +00:00
|
|
|
--- a/src/qtui/chatscene.cpp 2012-03-20 13:39:20.000000000 -0700
|
|
|
|
+++ b/src/qtui/chatscene.cpp 2012-06-20 10:06:44.000000000 -0700
|
|
|
|
@@ -33,7 +33,7 @@
|
|
|
|
#endif
|
2009-10-04 22:23:08 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_WEBKIT
|
|
|
|
-# include <QWebView>
|
2012-06-20 17:44:52 +00:00
|
|
|
+# include <QtWebKit/QWebView>
|
2009-10-04 22:23:08 +00:00
|
|
|
#endif
|
2012-06-20 17:44:52 +00:00
|
|
|
|
|
|
|
#include "chatitem.h"
|
|
|
|
--- a/src/qtui/webpreviewitem.cpp 2012-03-20 13:39:20.000000000 -0700
|
|
|
|
+++ b/src/qtui/webpreviewitem.cpp 2012-06-20 10:08:51.000000000 -0700
|
|
|
|
@@ -24,8 +24,8 @@
|
|
|
|
|
2009-10-04 22:23:08 +00:00
|
|
|
#include <QGraphicsProxyWidget>
|
|
|
|
#include <QPainter>
|
|
|
|
-#include <QWebView>
|
2012-06-20 17:44:52 +00:00
|
|
|
-#include <QWebSettings>
|
2009-10-04 22:23:08 +00:00
|
|
|
+#include <QtWebKit/QWebView>
|
2012-06-20 17:44:52 +00:00
|
|
|
+#include <QtWebKit/QWebSettings>
|
|
|
|
|
|
|
|
WebPreviewItem::WebPreviewItem(const QUrl &url)
|
2009-10-04 22:23:08 +00:00
|
|
|
: QGraphicsItem(0), // needs to be a top level item as we otherwise cannot guarantee that it's on top of other chatlines
|