[arch-commits] Commit in deepin-image-viewer/repos/community-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 29 14:15:58 UTC 2020


    Date: Sunday, November 29, 2020 @ 14:15:58
  Author: felixonmars
Revision: 766314

archrelease: copy trunk to community-x86_64

Added:
  deepin-image-viewer/repos/community-x86_64/PKGBUILD
    (from rev 766313, deepin-image-viewer/trunk/PKGBUILD)
Deleted:
  deepin-image-viewer/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-29 14:15:42 UTC (rev 766313)
+++ PKGBUILD	2020-11-29 14:15:58 UTC (rev 766314)
@@ -1,34 +0,0 @@
-# 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
-}

Copied: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 766313, deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-29 14:15:58 UTC (rev 766314)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-image-viewer
+pkgver=5.6.3.28
+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=('1b1c4391e51229046834d674eec1b055e81128fde8b84cc573f1e33af6b7b9e433bdbc3baf0a6233f973f5d78133b11cfb9ea2f5314adfb0b5976a1c59a94cba')
+
+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/popupmenustyle.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