Merge pull request #1971 from pullmoll/qupzilla

New package: qupzilla-1.8.6
This commit is contained in:
Jürgen Buchmüller 2015-07-06 14:40:33 +02:00
commit 207b878900
3 changed files with 40 additions and 0 deletions

View File

@ -2075,3 +2075,4 @@ libportablexdr.so.0 portablexdr-4.9.1_1
libtorrent-rasterbar.so.8 libtorrent1-1.0.5_1
libtidy5.so.4 libtidy5-4.9.30_1
libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1
libQupZilla.so.1 qupzilla-1.8.6_1

View File

@ -0,0 +1,20 @@
--- src/main/main.cpp 2015-01-26 15:26:15.000000000 +0100
+++ src/main/main.cpp 2015-07-06 09:35:37.741814165 +0200
@@ -22,7 +22,7 @@
#include <QMessageBox> // For QT_REQUIRE_VERSION
#include <iostream>
-#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__)
+#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(__FreeBSD__) || defined(__HAIKU__)
#include <signal.h>
#include <execinfo.h>
@@ -166,7 +166,7 @@
QApplication::setGraphicsSystem(QSL("raster"));
#endif
-#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__)
+#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(__FreeBSD__)
signal(SIGSEGV, qupzilla_signal_handler);
#endif

19
srcpkgs/qupzilla/template Normal file
View File

@ -0,0 +1,19 @@
# Template file for 'qupzilla'
pkgname=qupzilla
version=1.8.6
revision=1
wrksrc=QupZilla-${version}
build_style=gnu-makefile
make_install_args="INSTALL_ROOT=\${DESTDIR}"
hostmakedepends="pkg-config"
makedepends="qt5-devel qt5-script-devel qt5-tools-devel qt5-webkit-devel"
short_desc="Lightweight multiplatform browser"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://www.qupzilla.com/"
distfiles="https://github.com/QupZilla/${pkgname}/releases/download/v${version}/QupZilla-${version}.tar.xz"
checksum=aecda29f8994c9dc4d6b5f76ce5b1ba947272a0d5a40b5d83a54023dd5d7a6a5
pre_build() {
qmake
}