From 51fb7be93463565fefebcd33ee8cbfaeaa9422d9 Mon Sep 17 00:00:00 2001 From: jbu Date: Mon, 6 Jul 2015 09:44:27 +0200 Subject: [PATCH] New package: qupzilla-1.8.6 Closes #1968 --- common/shlibs | 1 + srcpkgs/qupzilla/patches/musl-execinfo.patch | 20 ++++++++++++++++++++ srcpkgs/qupzilla/template | 19 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 srcpkgs/qupzilla/patches/musl-execinfo.patch create mode 100644 srcpkgs/qupzilla/template diff --git a/common/shlibs b/common/shlibs index 82c0abe5f21..9aa7a1ea42a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2072,3 +2072,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 diff --git a/srcpkgs/qupzilla/patches/musl-execinfo.patch b/srcpkgs/qupzilla/patches/musl-execinfo.patch new file mode 100644 index 00000000000..b9ace1257b4 --- /dev/null +++ b/srcpkgs/qupzilla/patches/musl-execinfo.patch @@ -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 // For QT_REQUIRE_VERSION + #include + +-#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__) ++#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(__FreeBSD__) || defined(__HAIKU__) + #include + #include + +@@ -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 + diff --git a/srcpkgs/qupzilla/template b/srcpkgs/qupzilla/template new file mode 100644 index 00000000000..8ba26edd2b2 --- /dev/null +++ b/srcpkgs/qupzilla/template @@ -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 " +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 +}