Date: Tuesday, January 12, 2021 @ 13:58:35 Author: felixonmars Revision: 819883
archrelease: copy trunk to community-x86_64 Added: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 819882, 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-12 13:58:20 UTC (rev 819882) +++ PKGBUILD 2021-01-12 13:58:35 UTC (rev 819883) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-image-viewer -pkgver=5.6.3.57 -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=('200e54a81dba7deb5f20b62f232a2a6ece0b00058714d4fb6cd65fa876129c2417f440b1838b97509b0a9babe9fe45b3a6cbf061bf0151dcb9aacd9d0237ab08') - -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 819882, deepin-image-viewer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-12 13:58:35 UTC (rev 819883) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-image-viewer +pkgver=5.6.3.58 +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=('7423797e64b482ef69b6d5dc5f87a45418c402cefce1124d91e6eee11cfafd2b59ee88954dea2f37d939d5e4e92c8aaea66ff84149c4cd31b6dfb7ee1de6d18a') + +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 +}