Date: Thursday, November 19, 2020 @ 20:59:09 Author: arojas Revision: 757756
archrelease: copy trunk to community-staging-x86_64 Added: deepin-file-manager/repos/community-staging-x86_64/ deepin-file-manager/repos/community-staging-x86_64/PKGBUILD (from rev 757755, deepin-file-manager/trunk/PKGBUILD) ----------+ PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) Copied: deepin-file-manager/repos/community-staging-x86_64/PKGBUILD (from rev 757755, deepin-file-manager/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-19 20:59:09 UTC (rev 757756) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=deepin-file-manager +pkgver=5.2.0.63 +pkgrel=2 +epoch=1 +pkgdesc='Deepin File Manager' +arch=('x86_64') +url="https://github.com/linuxdeepin/dde-file-manager" +license=('GPL3') +# startdde: for com.deepin.SessionManager +depends=('deepin-qt5integration' 'deepin-anything' 'disomaster' 'file' 'gio-qt' 'libmediainfo' + 'lucene++' 'avfs' 'polkit-qt5' 'poppler' 'ffmpegthumbnailer' 'jemalloc' 'kcodecs' + 'startdde' 'taglib' 'htmlcxx' 'libgsf' 'mimetic' 'boost-libs') +makedepends=('boost' 'qt5-tools' 'deepin-dock' 'deepin-movie' 'deepin-gettext-tools') +optdepends=('deepin-manual: for help menual' + 'deepin-shortcut-viewer: for shortcut display' + 'deepin-screensaver: for screensaver chooser' + 'deepin-movie: for video preview' + 'deepin-terminal: for opening in terminal' + 'deepin-compressor: for compress/decompress') +groups=('deepin') +provides=('deepin-desktop') +conflicts=('deepin-desktop') +replaces=('deepin-desktop') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-file-manager/archive/$pkgver.tar.gz") +sha512sums=('960b231a0c32b4ec7b8842727f7db5d26db8c36f2a026f5931efcf61d1475fc29cdaef2df5a8d2fe81377ab635679b2192dc44aaf73e429d69a41062d53ee27f') + +prepare() { + cd dde-file-manager-$pkgver + sed -i '/#include <QException>/a #include <QPainterPath>' dialogs/dfmtaskwidget.cpp + sed -i '/#include <QTimer>/a #include <QPainterPath>' dde-file-manager-lib/interfaces/dfmglobal.cpp + sed -i '/#include <QPainter>/a #include <QPainterPath>' dde-file-manager-lib/interfaces/{dlistitemdelegate,dfmstyleditemdelegate,diconitemdelegate}.cpp dde-file-manager-lib/dialogs/openwithdialog.cpp + sed -i 's|systembusconf.path = /etc/dbus-1/system.d|systembusconf.path = /usr/share/dbus-1/system.d|' dde-file-manager-daemon/dde-file-manager-daemon.pro +} + +build() { + cd dde-file-manager-$pkgver + qmake-qt5 PREFIX=/usr filemanager.pro + make +} + +package() { + cd dde-file-manager-$pkgver + make INSTALL_ROOT="$pkgdir" install +}