[arch-commits] Commit in deepin-image-viewer/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Nov 19 21:00:13 UTC 2020
Date: Thursday, November 19, 2020 @ 21:00:13
Author: arojas
Revision: 757762
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-image-viewer/repos/community-staging-x86_64/
deepin-image-viewer/repos/community-staging-x86_64/PKGBUILD
(from rev 757761, deepin-image-viewer/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: deepin-image-viewer/repos/community-staging-x86_64/PKGBUILD (from rev 757761, deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-19 21:00:13 UTC (rev 757762)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-image-viewer
+pkgver=5.6.3.27
+pkgrel=2
+pkgdesc='An image viewing tool with fashion interface and smooth performance'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-image-viewer"
+license=('GPL3')
+depends=('deepin-qt5integration' 'freeimage' 'gio-qt' 'libexif' 'libraw' 'qt5-svg' 'udisks2-qt5')
+makedepends=('qt5-tools')
+optdepends=('deepin-manual: for help menual'
+ 'deepin-shortcut-viewer: for shortcut display')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz")
+sha512sums=('80b10be59551c147f515f0c47a2b4fdddb08fb926ca7603d1e2b246c1b90b2bbb29ec7e3cedff0870bfa85c784009d18709b6da627428b6fad5232df15d1c1a2')
+
+prepare() {
+ # They are moving files around without merging patches. Wow.
+ cd deepin-image-viewer-$pkgver/viewer
+ sed -i '/#include <QDebug>/a #include <QPainterPath>' module/view/contents/ttbcontent.cpp widgets/thumbnaillistview.cpp widgets/popupmenustyle.cpp widgets/thumbnaildelegate.cpp
+ sed -i '/#include <QtDebug>/a #include <QPainterPath>' module/view/contents/imageinfowidget.cpp
+}
+
+build() {
+ cd deepin-image-viewer-$pkgver
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd deepin-image-viewer-$pkgver
+ make INSTALL_ROOT="$pkgdir" install -j1
+}
More information about the arch-commits
mailing list