[arch-commits] Commit in deepin-reader/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Aug 21 07:35:20 UTC 2020
Date: Friday, August 21, 2020 @ 07:35:20
Author: felixonmars
Revision: 685754
archrelease: copy trunk to community-x86_64
Added:
deepin-reader/repos/community-x86_64/PKGBUILD
(from rev 685753, deepin-reader/trunk/PKGBUILD)
Deleted:
deepin-reader/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++++----------------------------------
1 file changed, 36 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-21 07:35:03 UTC (rev 685753)
+++ PKGBUILD 2020-08-21 07:35:20 UTC (rev 685754)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.15
-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=('1173325aeaabd115f8edd4b023b19a960a25420f5afb6adb0c31a641e2d781d2ed2f02059740cee1ad4dc505765ed7ea8651925404d1c3304a299abcf6ea9271')
-
-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
-
- # What the bloody hell is going on here...
- cd "$pkgdir"/usr/lib
- rm libdpoppler-qt.so{,.1} libdpoppler.so{,.100}
- ln -s libdpoppler-qt.so.* libdpoppler-qt.so.1
- ln -s libdpoppler-qt.so.1 libdpoppler-qt.so
- ln -s libdpoppler.so.* libdpoppler.so.100
- ln -s libdpoppler.so.100 libdpoppler.so
-}
Copied: deepin-reader/repos/community-x86_64/PKGBUILD (from rev 685753, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-21 07:35:20 UTC (rev 685754)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.7.0.16
+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=('7210026c31114392937cf17d1f24a56cd36d8f5caafe508c895c93e4150e6538264ffb94560ebcf470147026a4742947b24a1f4ce95ca1241fa763e02be03ca7')
+
+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