Date: Friday, January 22, 2021 @ 17:55:51 Author: felixonmars Revision: 824699
archrelease: copy trunk to community-x86_64 Added: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 824698, 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 2021-01-22 17:55:41 UTC (rev 824698) +++ PKGBUILD 2021-01-22 17:55:51 UTC (rev 824699) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-image-viewer -pkgver=5.6.3.59 -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=('96a5116b5c606d2ca7b022eb28291f40d04d06531bf398d4bd43ee3916e726df5d3271f5c158d509f4bb25b4fe044e8df8eb860d2911bed6f6927c4e92c9d310') - -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 824698, deepin-image-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-22 17:55:51 UTC (rev 824699) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-image-viewer +pkgver=5.6.3.69 +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 manual' + '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=('75421e2537683ae826b2b72047ebb09ed4090a844493fecc745bbc3b9d89dc05ed1ead5146fabee61a58d268960bca07a3610220d15cdd4da80e594b84a39f4d') + +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 +}