Date: Sunday, December 27, 2020 @ 18:41:35 Author: felixonmars Revision: 793564
archrelease: copy trunk to community-x86_64 Added: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 793558, 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-27 18:41:34 UTC (rev 793563) +++ PKGBUILD 2020-12-27 18:41:35 UTC (rev 793564) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-image-viewer -pkgver=5.6.3.41 -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=('631011cb0fbfd6937825a8caa61daca5249170ef6d60b6160de57c21e09700f46e0cfa945f48424aa39a7d8676dd24b0fb74c22e1fb127251d63d1d78df4a513') - -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 793558, deepin-image-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-27 18:41:35 UTC (rev 793564) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-image-viewer +pkgver=5.6.3.42 +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=('30397e92e67f3263890b362df8e507aa5b2195ca489d376ce32c79a56e6fb6816e9cd07fa681aaf1257035787a92e997cb34ec753108026d505a8ce990e2f08b') + +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 +}