From b18647492fa92606132b423b549dfc4862eab306 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 30 Jun 2020 23:42:57 +0200 Subject: [PATCH] texworks: rebuild for lua53 --- srcpkgs/texworks/patches/qt515.patch | 21 +++++++++++++++++++++ srcpkgs/texworks/template | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/texworks/patches/qt515.patch diff --git a/srcpkgs/texworks/patches/qt515.patch b/srcpkgs/texworks/patches/qt515.patch new file mode 100644 index 0000000000..444e0e765e --- /dev/null +++ b/srcpkgs/texworks/patches/qt515.patch @@ -0,0 +1,21 @@ +From a5352a3a94e3685125650b65e6197de060326cc2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Stefan=20L=C3=B6ffler?= +Date: Fri, 1 May 2020 08:05:46 +0200 +Subject: [PATCH] Fix compilation with Qt 5.15 + +--- + modules/QtPDF/src/PDFBackend.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules/QtPDF/src/PDFBackend.cpp b/modules/QtPDF/src/PDFBackend.cpp +index 0305d87a..500d20aa 100644 +--- modules/QtPDF/src/PDFBackend.cpp ++++ modules/QtPDF/src/PDFBackend.cpp +@@ -14,6 +14,7 @@ + + #include + #include ++#include + #include + + namespace QtPDF { diff --git a/srcpkgs/texworks/template b/srcpkgs/texworks/template index c5e9a78e95..0ad5cc23e8 100644 --- a/srcpkgs/texworks/template +++ b/srcpkgs/texworks/template @@ -1,13 +1,13 @@ # Template file for 'texworks' pkgname=texworks version=0.6.3 -revision=2 +revision=3 wrksrc="texworks-release-${version}" build_style=cmake configure_args="-DTW_BUILD_ID=Void -DWITH_LUA=ON -DWITH_PYTHON=ON -DDESIRED_QT_VERSION:STRING=5" hostmakedepends="pkg-config qt5-qmake qt5-host-tools" -makedepends="lua-devel python3-devel qt5-tools-devel qt5-script-devel +makedepends="lua53-devel python3-devel qt5-tools-devel qt5-script-devel poppler-qt5-devel hunspell-devel" depends="hunspell dejavu-fonts-ttf" short_desc="TeX editor"