Date: Thursday, December 31, 2020 @ 11:37:34 Author: felixonmars Revision: 800466
archrelease: copy trunk to community-x86_64 Added: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 800465, 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-31 11:37:23 UTC (rev 800465) +++ PKGBUILD 2020-12-31 11:37:34 UTC (rev 800466) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-image-viewer -pkgver=5.6.3.46 -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=('fb1d0cd00b0a0aba7233698e2648e3401e53813b5fb4d7e914e163e93f7f14783e9dde4505704211add77d6ef380c145689597985786cc493056ae9ba8901c76') - -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 800465, deepin-image-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-31 11:37:34 UTC (rev 800466) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-image-viewer +pkgver=5.6.3.47 +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=('f6ad093a69471b6706df84a4d3ced11a455a826b70cca003a98814d9f23144c47504e5d6410981c6f885db3e6cc3b49dec431a2961fecd3e8b688b5c57176b18') + +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 +}