diff --git a/srcpkgs/qupzilla1/patches/musl-execinfo.patch b/srcpkgs/qupzilla1/patches/musl-execinfo.patch new file mode 100644 index 00000000000..b9ace1257b4 --- /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 00000000000..3c46303e475 --- /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 00000000000..f3ffeed83b7 --- /dev/null +++ b/srcpkgs/qupzilla1/update @@ -0,0 +1,2 @@ +site=http://github.com/QupZilla/qupzilla/tags/ +pattern='\K1\.[\d]+\.[\d]+'