Date: Wednesday, November 22, 2017 @ 18:45:30 Author: arojas Revision: 268095
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 268094, deepin-qt5dxcb-plugin/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: deepin-qt5dxcb-plugin/repos/community-staging-x86_64/PKGBUILD (from rev 268094, deepin-qt5dxcb-plugin/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-22 18:45:30 UTC (rev 268095) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-qt5dxcb-plugin +pkgver=1.1.2 +pkgrel=2 +pkgdesc='Qt platform plugins for DDE' +arch=('x86_64') +url="https://github.com/linuxdeepin/qt5dxcb-plugin" +license=('GPL3') +depends=('qt5-x11extras') +makedepends=('qt5-xcb-private-headers') +groups=('deepin') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz") +sha512sums=('dffea2608764bbf3252787b3826793165fe7feb93cbc9acae097f083e954068ffe3869ef8d99623cb50892862a835c4b98f6d42f428feb69018d1e0a86d1aa12') + +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 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr + make +} + +package() { + cd qt5dxcb-plugin-$pkgver + make INSTALL_ROOT="$pkgdir" install +}