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

Felix Yan felixonmars at archlinux.org
Thu Mar 8 07:37:55 UTC 2018


    Date: Thursday, March 8, 2018 @ 07:37:55
  Author: felixonmars
Revision: 304332

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 304331, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
  deepin-qt5dxcb-plugin/repos/community-testing-x86_64/deepin-qt5dxcb-plugin-qt5.10.patch
    (from rev 304331, deepin-qt5dxcb-plugin/trunk/deepin-qt5dxcb-plugin-qt5.10.patch)

------------------------------------+
 PKGBUILD                           |   33 +++++++++++++++++++++++++++++++++
 deepin-qt5dxcb-plugin-qt5.10.patch |   11 +++++++++++
 2 files changed, 44 insertions(+)

Copied: deepin-qt5dxcb-plugin/repos/community-testing-x86_64/PKGBUILD (from rev 304331, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-03-08 07:37:55 UTC (rev 304332)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5dxcb-plugin
+pkgver=1.1.8.1
+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=('efd57feb9cba0d77614252cf09a925e5b052b818a2d83f50aebdcff022eec7e26b0441abb4a801ffbdbf0bf9d7668a227753fa560a86a6df5b3e9172370682fc')
+
+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
+}

Copied: deepin-qt5dxcb-plugin/repos/community-testing-x86_64/deepin-qt5dxcb-plugin-qt5.10.patch (from rev 304331, deepin-qt5dxcb-plugin/trunk/deepin-qt5dxcb-plugin-qt5.10.patch)
===================================================================
--- community-testing-x86_64/deepin-qt5dxcb-plugin-qt5.10.patch	                        (rev 0)
+++ community-testing-x86_64/deepin-qt5dxcb-plugin-qt5.10.patch	2018-03-08 07:37:55 UTC (rev 304332)
@@ -0,0 +1,11 @@
+--- qt5dxcb-plugin-1.1.5/platformplugin/windoweventhook.cpp.orig	2017-12-07 16:01:23.609087845 +0000
++++ qt5dxcb-plugin-1.1.5/platformplugin/windoweventhook.cpp	2017-12-07 16:02:33.895912926 +0000
+@@ -125,7 +125,7 @@
+             dropData = drag->currentDrag()->mimeData();
+             supported_drop_actions = Qt::DropActions(l[4]);
+         } else {
+-            dropData = drag->platformDropData();
++            dropData = drag->dragMimeData();
+             supported_drop_actions = drag->accepted_drop_action;
+ 
+             // Drop coming from another app? Update keyboard modifiers.



More information about the arch-commits mailing list