[arch-commits] Commit in deepin-qt5dxcb-plugin/repos (2 files)

Antonio Rojas arojas at archlinux.org
Tue Mar 31 10:52:53 UTC 2020


    Date: Tuesday, March 31, 2020 @ 10:52:53
  Author: arojas
Revision: 607972

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 607971, deepin-qt5dxcb-plugin/trunk/PKGBUILD)

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

Copied: deepin-qt5dxcb-plugin/repos/community-staging-x86_64/PKGBUILD (from rev 607971, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-03-31 10:52:53 UTC (rev 607972)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5dxcb-plugin
+pkgver=5.0.1
+pkgrel=6
+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
+}



More information about the arch-commits mailing list