[arch-commits] Commit in deepin-image-viewer/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Dec 29 21:28:37 UTC 2020
Date: Tuesday, December 29, 2020 @ 21:28:37
Author: felixonmars
Revision: 798289
archrelease: copy trunk to community-x86_64
Added:
deepin-image-viewer/repos/community-x86_64/PKGBUILD
(from rev 798288, deepin-image-viewer/trunk/PKGBUILD)
Deleted:
deepin-image-viewer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-29 21:28:29 UTC (rev 798288)
+++ PKGBUILD 2020-12-29 21:28:37 UTC (rev 798289)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-image-viewer
-pkgver=5.6.3.45
-pkgrel=1
-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=('b5bdd40c902a74612039d2aa8250713f80cca9f6145820bd414dbf48172921c1fe9f0caa9d04de39f78c5bc63f756f5731eefbb7f644af20f2a16cad641dcc9b')
-
-prepare() {
- # They are moving files around without merging patches. Wow.
- cd deepin-image-viewer-$pkgver/viewer
- sed -i '/#include <QDebug>/a #include <QPainterPath>' frame/toptoolbar.cpp module/view/contents/ttbcontent.cpp # widgets/popupmenustyle.cpp widgets/thumbnaillistview.cpp widgets/thumbnaildelegate.cpp
- sed -i '/#include <QtDebug>/a #include <QPainterPath>' module/view/contents/imageinfowidget.cpp
-
- # Our build of freeimage disabled support for these formats
- sed -i '/FIF_FAXG3/d' utils/unionimage.cpp
-}
-
-build() {
- cd deepin-image-viewer-$pkgver
- qmake-qt5 PREFIX=/usr
- make
-}
-
-package() {
- cd deepin-image-viewer-$pkgver
- make INSTALL_ROOT="$pkgdir" install -j1
-}
Copied: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 798288, deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-29 21:28:37 UTC (rev 798289)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-image-viewer
+pkgver=5.6.3.46
+pkgrel=1
+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=('fb1d0cd00b0a0aba7233698e2648e3401e53813b5fb4d7e914e163e93f7f14783e9dde4505704211add77d6ef380c145689597985786cc493056ae9ba8901c76')
+
+prepare() {
+ # They are moving files around without merging patches. Wow.
+ cd deepin-image-viewer-$pkgver/viewer
+ sed -i '/#include <QDebug>/a #include <QPainterPath>' frame/toptoolbar.cpp module/view/contents/ttbcontent.cpp widgets/popupmenustyle.cpp widgets/thumbnaillistview.cpp widgets/thumbnaildelegate.cpp
+ sed -i '/#include <QtDebug>/a #include <QPainterPath>' module/view/contents/imageinfowidget.cpp
+
+ # Our build of freeimage disabled support for these formats
+ #sed -i '/FIF_FAXG3/d' utils/unionimage.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