goldendict: add patches for qt5.13

This commit is contained in:
John 2019-07-02 21:43:18 +02:00 committed by John Zimmermann
parent 0b4b5c2f87
commit 223eaa2e7a
3 changed files with 34 additions and 2 deletions

View file

@ -0,0 +1,20 @@
--- fulltextsearch.hh 2016-04-26 18:32:50.000000000 +0200
+++ - 2019-07-02 21:27:37.881036339 +0200
@@ -1,6 +1,7 @@
#ifndef __FULLTEXTSEARCH_HH_INCLUDED__
#define __FULLTEXTSEARCH_HH_INCLUDED__
+#include <QAction>
#include <QSemaphore>
#include <QStringList>
#include <QRegExp>
--- groups_widgets.hh 2016-04-26 18:32:50.000000000 +0200
+++ - 2019-07-02 21:31:52.350308868 +0200
@@ -10,6 +10,7 @@
#include <QListWidget>
#include <QSortFilterProxyModel>
+#include <QAction>
#include "config.hh"
#include "dictionary.hh"

View file

@ -0,0 +1,10 @@
--- initializing.cc 2016-04-26 18:32:50.000000000 +0200
+++ - 2019-07-02 21:26:19.088317401 +0200
@@ -3,6 +3,7 @@
#include "initializing.hh"
#include <QCloseEvent>
+#include <QIcon>
#if ( QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 ) ) && defined( Q_OS_WIN32 )
#include <QtWidgets/QStyleFactory>

View file

@ -4,18 +4,20 @@ version=1.5.0RC2
revision=4
wrksrc="${pkgname}-${version/RC/-RC}"
build_style=qmake
hostmakedepends="qt5-qmake pkg-config qt5-tools"
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
makedepends="tiff-devel qt5-devel libvorbis-devel zlib-devel
libXtst-devel hunspell-devel qt5-tools-devel qt5-declarative-devel
qt5-webkit-devel lzo-devel bzip2-devel libao-devel qt5-svg-devel
libeb-devel qt5-x11extras-devel ffmpeg-devel"
short_desc="A feature-rich dictionary lookup program"
maintainer="John <johnz@posteo.net>"
license="GPL-3"
license="GPL-3.0-or-later"
homepage="http://goldendict.org/"
distfiles="https://github.com/goldendict/goldendict/archive/${version/RC/-RC}.tar.gz"
checksum=bccee0a3d3902f8fa31e439e220a405065fff774e5f8c581be2b0743d3f83fde
CXXFLAGS="-Wno-deprecated"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-tools-devel qt5-webkit-devel qt5-host-tools qt5-svg-devel qt5-x11extras-devel"
fi