[arch-commits] Commit in deepin-reader/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jul 28 19:50:58 UTC 2020


    Date: Tuesday, July 28, 2020 @ 19:50:58
  Author: felixonmars
Revision: 665711

upgpkg: deepin-reader 5.7.0.8-1

Modified:
  deepin-reader/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 19:42:34 UTC (rev 665710)
+++ PKGBUILD	2020-07-28 19:50:58 UTC (rev 665711)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=deepin-reader
-pkgver=5.7.0.7
+pkgver=5.7.0.8
 pkgrel=1
 pkgdesc='A simple PDF reader, supporting bookmarks, highlights and annotations'
 arch=('x86_64')
@@ -8,20 +8,19 @@
 url="https://github.com/linuxdeepin/deepin-reader"
 license=('GPL3')
 depends=('deepin-qt5integration' 'djvulibre' 'karchive' 'libspectre' 'poppler-qt5')
-makedepends=('qt5-tools')
+makedepends=('cmake' 'qt5-tools')
 groups=('deepin-extra')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
-sha512sums=('7a227ac250bf7a333ea0ce89b3bb11d753910033225ea2aeacc5471ee9bd8977032a499b976cedb7afb5a822d30198d70444789b221109c46ea185d434bdadee')
+sha512sums=('be4b92ac46820a429e083b95481d9cffe45e2bcc580ebe85316bb73882deb9046f98812777d3fdda3abe8e4df9246a5b8f84332c0c79c0eafb6c74c674573a54')
 
 prepare() {
   cd deepin-reader-$pkgver/src
-  sed -i '/include <QMetaType>/a #include <QRectF>' pdfControl/docview/commonstruct.h
-  sed -i '/include <QPainter>/a #include <QPainterPath>' CustomControl/RoundColorWidget.cpp lpreviewControl/bookmark/bookmarkdelegate.cpp \
-                                                         utils/utils.cpp lpreviewControl/thumbnail/ThumbnailDelegate.cpp lpreviewControl/note/notesdelegate.cpp \
-                                                         lpreviewControl/search/searchresdelegate.cpp
-  sed -i '/include <QRect>/a #include <QPainterPath>' document/model.h
+  sed -i '/#include <QDebug>/a #include <QPainterPath>' document/Model.h
+  sed -i '/include <QPainter>/a #include <QPainterPath>' app/Utils.cpp widgets/RoundColorWidget.cpp browser/BrowserMagniFier.cpp sidebar/bookmark/BookMarkDelegate.cpp \
+                                                         sidebar/thumbnail/ThumbnailDelegate.cpp document/DjVuModel.cpp sidebar/note/NoteViewWidget.cpp sidebar/note/NotesDelegate.cpp \
+                                                         sidebar/search/SearchResDelegate.cpp
   sed -i '/include <QMap>/a #include <QSet>' uiframe/DocSheet.h
-  sed -i '/include <QBitmap>/a #include <QMouseEvent>' djvuControl/SheetBrowserDJVU.cpp
+  sed -i '/include <QLabel>/a #include <QMouseEvent>' browser/SheetBrowser.h
   sed -i '/include <QDesktopWidget>/a #include <QMouseEvent>' widgets/SlideWidget.cpp
 }
 



More information about the arch-commits mailing list