[arch-commits] Commit in deepin-reader/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jul 28 19:51:11 UTC 2020


    Date: Tuesday, July 28, 2020 @ 19:51:11
  Author: felixonmars
Revision: 665712

archrelease: copy trunk to community-x86_64

Added:
  deepin-reader/repos/community-x86_64/PKGBUILD
    (from rev 665711, deepin-reader/trunk/PKGBUILD)
Deleted:
  deepin-reader/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 19:50:58 UTC (rev 665711)
+++ PKGBUILD	2020-07-28 19:51:11 UTC (rev 665712)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.7
-pkgrel=1
-pkgdesc='A simple PDF reader, supporting bookmarks, highlights and annotations'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-reader"
-license=('GPL3')
-depends=('deepin-qt5integration' 'djvulibre' 'karchive' 'libspectre' 'poppler-qt5')
-makedepends=('qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
-sha512sums=('7a227ac250bf7a333ea0ce89b3bb11d753910033225ea2aeacc5471ee9bd8977032a499b976cedb7afb5a822d30198d70444789b221109c46ea185d434bdadee')
-
-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 <QMap>/a #include <QSet>' uiframe/DocSheet.h
-  sed -i '/include <QBitmap>/a #include <QMouseEvent>' djvuControl/SheetBrowserDJVU.cpp
-  sed -i '/include <QDesktopWidget>/a #include <QMouseEvent>' widgets/SlideWidget.cpp
-}
-
-build() {
-  cd deepin-reader-$pkgver
-  qmake-qt5 PREFIX=/usr
-  make
-}
-
-package() {
-  cd deepin-reader-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-reader/repos/community-x86_64/PKGBUILD (from rev 665711, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-28 19:51:11 UTC (rev 665712)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.7.0.8
+pkgrel=1
+pkgdesc='A simple PDF reader, supporting bookmarks, highlights and annotations'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-reader"
+license=('GPL3')
+depends=('deepin-qt5integration' 'djvulibre' 'karchive' 'libspectre' 'poppler-qt5')
+makedepends=('cmake' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
+sha512sums=('be4b92ac46820a429e083b95481d9cffe45e2bcc580ebe85316bb73882deb9046f98812777d3fdda3abe8e4df9246a5b8f84332c0c79c0eafb6c74c674573a54')
+
+prepare() {
+  cd deepin-reader-$pkgver/src
+  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 <QLabel>/a #include <QMouseEvent>' browser/SheetBrowser.h
+  sed -i '/include <QDesktopWidget>/a #include <QMouseEvent>' widgets/SlideWidget.cpp
+}
+
+build() {
+  cd deepin-reader-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd deepin-reader-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list