Date: Thursday, December 12, 2019 @ 12:45:05 Author: arojas Revision: 537364
archrelease: copy trunk to community-staging-x86_64 Added: deepin-qt5dxcb-plugin/repos/community-staging-x86_64/ deepin-qt5dxcb-plugin/repos/community-staging-x86_64/PKGBUILD (from rev 537363, deepin-qt5dxcb-plugin/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: deepin-qt5dxcb-plugin/repos/community-staging-x86_64/PKGBUILD (from rev 537363, deepin-qt5dxcb-plugin/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-12 12:45:05 UTC (rev 537364) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-qt5dxcb-plugin +pkgver=5.0.1 +pkgrel=4 +pkgdesc='Qt platform plugins for DDE' +arch=('x86_64') +url="https://github.com/linuxdeepin/qt5dxcb-plugin" +license=('GPL3') +depends=('cairo' 'qt5-x11extras') +makedepends=('qt5-xcb-private-headers' 'libglvnd') +groups=('deepin') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz") +sha512sums=('6ef1e6cf771fb68a907f76ecf779fe7daaa8891d5263c0c89365d3f5bc67f6d30550e40103f5909cdc7392c9653f2baf5f85287565535c177ff35e01f8be31a7') + +prepare() { + cd qt5dxcb-plugin-$pkgver + + rm -r platformplugin/libqt5xcbqpa-dev + sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += /usr/include/qtxcb-private|' platformplugin/linux.pri +} + +build() { + cd qt5dxcb-plugin-$pkgver + qmake-qt5 PREFIX=/usr + make +} + +package() { + cd qt5dxcb-plugin-$pkgver + make INSTALL_ROOT="$pkgdir" install +}