[arch-commits] Commit in deepin-image-viewer/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Dec 28 19:29:02 UTC 2020
Date: Monday, December 28, 2020 @ 19:29:02
Author: felixonmars
Revision: 795893
archrelease: copy trunk to community-x86_64
Added:
deepin-image-viewer/repos/community-x86_64/PKGBUILD
(from rev 795892, 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-28 19:28:57 UTC (rev 795892)
+++ PKGBUILD 2020-12-28 19:29:02 UTC (rev 795893)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-image-viewer
-pkgver=5.6.3.44
-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=('b57f208856e73abab6979817476abe64a69a6dd9842e08a90dc49af1d3cbf75b1032c66077a1aae7e2aa33696e8e649bc19203872741d8ed4d9caba679476505')
-
-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 795892, deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-28 19:29:02 UTC (rev 795893)
@@ -0,0 +1,37 @@
+# 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
+}
More information about the arch-commits
mailing list