Date: Friday, February 9, 2018 @ 18:10:12
  Author: felixonmars
Revision: 290489

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-qt5dxcb-plugin/repos/community-testing-x86_64/
  deepin-qt5dxcb-plugin/repos/community-testing-x86_64/PKGBUILD
    (from rev 290488, deepin-qt5dxcb-plugin/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: deepin-qt5dxcb-plugin/repos/community-testing-x86_64/PKGBUILD (from rev 
290488, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-02-09 18:10:12 UTC (rev 290489)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=deepin-qt5dxcb-plugin
+pkgver=1.1.8
+pkgrel=1
+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')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz";)
+sha512sums=('e9ee2d3ca79ba5879b283dae9b256b47b6f7867a376e873c064e8a1f43dd5cdabe0ba36801e19d185af80bd92b9aea19121dd004bd7e997d8888d0b8c5973b06')
+
+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
+}

Reply via email to