From c29187945e682449185dfd7a08114eae365a374d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 3 Apr 2016 15:50:35 +0200 Subject: [PATCH] New package: qupzilla1-1.8.9 People have problems with SSL connections to google.com sites with 2.0.0, therefore keep the 1.x.y branch alive for them at least until the problems are found and solved. --- srcpkgs/qupzilla1/patches/musl-execinfo.patch | 20 +++++++++++++++++ srcpkgs/qupzilla1/template | 22 +++++++++++++++++++ srcpkgs/qupzilla1/update | 2 ++ 3 files changed, 44 insertions(+) create mode 100644 srcpkgs/qupzilla1/patches/musl-execinfo.patch create mode 100644 srcpkgs/qupzilla1/template create mode 100644 srcpkgs/qupzilla1/update diff --git a/srcpkgs/qupzilla1/patches/musl-execinfo.patch b/srcpkgs/qupzilla1/patches/musl-execinfo.patch new file mode 100644 index 0000000000..b9ace1257b --- /dev/null +++ b/srcpkgs/qupzilla1/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/qupzilla1/template b/srcpkgs/qupzilla1/template new file mode 100644 index 0000000000..3c46303e47 --- /dev/null +++ b/srcpkgs/qupzilla1/template @@ -0,0 +1,22 @@ +# Template file for 'qupzilla1' +pkgname=qupzilla1 +version=1.8.9 +revision=1 +wrksrc=QupZilla-${version} +build_style=qmake +hostmakedepends="pkg-config" +makedepends="qt5-devel qt5-script-devel qt5-tools-devel qt5-webkit-devel + qt5-x11extras-devel hunspell-devel" +depends="qt5-plugin-sqlite" +short_desc="Lightweight multiplatform browser" +maintainer="Jürgen Buchmüller " +license="GPL-3" +homepage="http://www.qupzilla.com/" +distfiles="https://github.com/QupZilla/qupzilla/releases/download/v${version}/QupZilla-${version}.tar.xz" +checksum=620ffb10a3f6b3f596c2c38a84d9c320cb66dd2d5e6701e8e31945e26308fcac + +do_build() { + # Avoid disable_parallel_build=yes by re-running make once + make ${makejobs} ${make_build_args} ${make_build_target} || + make ${makejobs} ${make_build_args} ${make_build_target} +} diff --git a/srcpkgs/qupzilla1/update b/srcpkgs/qupzilla1/update new file mode 100644 index 0000000000..f3ffeed83b --- /dev/null +++ b/srcpkgs/qupzilla1/update @@ -0,0 +1,2 @@ +site=http://github.com/QupZilla/qupzilla/tags/ +pattern='\K1\.[\d]+\.[\d]+'