Date: Thursday, January 7, 2021 @ 13:11:36 Author: felixonmars Revision: 811713
archrelease: copy trunk to community-x86_64 Added: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 811712, 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-07 13:11:24 UTC (rev 811712) +++ PKGBUILD 2021-01-07 13:11:36 UTC (rev 811713) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-image-viewer -pkgver=5.6.3.52 -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=('24911e1380fb21bd1e1e53151e9bc11ded283b6f7c5cc24ad5088c8e61fb394d82436b962400dcc42f4809110c6058ec6df46962d499bdccf1974e156e9e4b5c') - -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 811712, deepin-image-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-07 13:11:36 UTC (rev 811713) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-image-viewer +pkgver=5.6.3.53 +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=('808127d4be5411a0725d01064455b1c82c4263fc24bf8a048eef7f52ebc01f1ff481f718eaeb10b8902d6c2251488a0f396a2e88c04a8411f1fa04adfec8d839') + +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 +}