[arch-commits] Commit in deepin-qt5integration/repos (6 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 13 14:59:43 UTC 2017


    Date: Thursday, April 13, 2017 @ 14:59:42
  Author: felixonmars
Revision: 222743

archrelease: copy trunk to community-i686, community-x86_64

Added:
  deepin-qt5integration/repos/community-i686/PKGBUILD
    (from rev 222742, deepin-qt5integration/trunk/PKGBUILD)
  deepin-qt5integration/repos/community-i686/use-system-qt5-headers.patch
    (from rev 222742, deepin-qt5integration/trunk/use-system-qt5-headers.patch)
  deepin-qt5integration/repos/community-x86_64/PKGBUILD
    (from rev 222742, deepin-qt5integration/trunk/PKGBUILD)
  deepin-qt5integration/repos/community-x86_64/use-system-qt5-headers.patch
    (from rev 222742, deepin-qt5integration/trunk/use-system-qt5-headers.patch)
Deleted:
  deepin-qt5integration/repos/community-i686/PKGBUILD
  deepin-qt5integration/repos/community-x86_64/PKGBUILD

-----------------------------------------------+
 /PKGBUILD                                     |   70 ++++++++++++++++++++++++
 community-i686/PKGBUILD                       |   35 ------------
 community-i686/use-system-qt5-headers.patch   |   27 +++++++++
 community-x86_64/PKGBUILD                     |   35 ------------
 community-x86_64/use-system-qt5-headers.patch |   27 +++++++++
 5 files changed, 124 insertions(+), 70 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-04-13 14:58:58 UTC (rev 222742)
+++ community-i686/PKGBUILD	2017-04-13 14:59:42 UTC (rev 222743)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-qt5integration
-pkgver=0.1.6
-pkgrel=1
-pkgdesc='Deepin Qt5 platform plugin'
-arch=('i686' 'x86_64')
-url="http://github.com/linuxdeepin/qt5integration"
-license=('GPL3')
-depends=('deepin-tool-kit' 'libqtxdg' 'gtk2')
-makedepends=('git' 'xcb-util-renderutil' 'deepin-file-manager')
-replaces=('qt5dxcb-plugin')
-conflicts=('qt5dxcb-plugin')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5integration/archive/$pkgver.tar.gz"
-        "libqt5xcbqpa-dev::git+https://github.com/zccrs/libqt5xcbqpa-dev.git")
-sha512sums=('39db1197eb67b532a8d919a1216cfb2f25eabd3840d3c7b319faa74446464f21d76ece7c6a3f064f09e4aa7c248d248a973acbd0f71578aa22c0aec0fd767cb8'
-            'SKIP')
-
-prepare() {
-  cd qt5integration-$pkgver
-  ln -s ../../libqt5xcbqpa-dev ./platformplugin/libqt5xcbqpa-dev
-}
-
-build() {
-  cd qt5integration-$pkgver
-  qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr
-  make
-}
-
-package() {
-  cd qt5integration-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-qt5integration/repos/community-i686/PKGBUILD (from rev 222742, deepin-qt5integration/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-04-13 14:59:42 UTC (rev 222743)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5integration
+pkgver=0.1.7
+pkgrel=1
+pkgdesc='Deepin Qt5 platform plugin'
+arch=('i686' 'x86_64')
+url="http://github.com/linuxdeepin/qt5integration"
+license=('GPL3')
+depends=('deepin-tool-kit' 'libqtxdg' 'gtk2')
+makedepends=('xcb-util-renderutil' 'deepin-file-manager' 'qt5-xcb-private-headers')
+replaces=('qt5dxcb-plugin')
+conflicts=('qt5dxcb-plugin')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5integration/archive/$pkgver.tar.gz"
+        use-system-qt5-headers.patch)
+sha512sums=('8ccb4bece187f2bbcee091df6789a55d5463348e4f2b0a7241d866c648ebe76a37191d249fc6d81993615b2825ba1e034f7f4d5d64d3174f0fca95e914576a3a'
+            '29152204a36efc5fc2376b74be2ebe1d9cb253f9371ca8b0e9bf95c415c903f956d0d400eaffb3f708f81b19acd0a5383647af3a5a10cf6a61dfa586eb1bd57b')
+
+prepare() {
+  cd qt5integration-$pkgver
+  patch -p1 -i ../use-system-qt5-headers.patch
+}
+
+build() {
+  cd qt5integration-$pkgver
+  qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr
+  make
+}
+
+package() {
+  cd qt5integration-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: deepin-qt5integration/repos/community-i686/use-system-qt5-headers.patch (from rev 222742, deepin-qt5integration/trunk/use-system-qt5-headers.patch)
===================================================================
--- community-i686/use-system-qt5-headers.patch	                        (rev 0)
+++ community-i686/use-system-qt5-headers.patch	2017-04-13 14:59:42 UTC (rev 222743)
@@ -0,0 +1,27 @@
+diff --git a/platformplugin/linux.pri b/platformplugin/linux.pri
+index a36b405..9e4fce8 100644
+--- a/platformplugin/linux.pri
++++ b/platformplugin/linux.pri
+@@ -22,7 +22,7 @@ SOURCES += \
+     $$PWD/utility_x11.cpp \
+     $$PWD/dxcbwmsupport.cpp
+ 
+-INCLUDEPATH += $$PWD/libqt5xcbqpa-dev
++INCLUDEPATH += /usr/include/qtxcb-private
+
+ contains(QT_CONFIG, xcb-xlib)|qtConfig(xcb-xlib) {
+     DEFINES += XCB_USE_XLIB
+@@ -63,13 +63,3 @@ contains(QT_CONFIG, xcb-sm)|qtConfig(xcb-sm) {
+ contains(QT_CONFIG, xcb-qt) {
+     DEFINES += XCB_USE_RENDER
+ }
+-
+-exists($$PWD/libqt5xcbqpa-dev) {
+-    !system(cd $$PWD/libqt5xcbqpa-dev && git checkout $$VERSION) {
+-        !system(cd $$PWD/libqt5xcbqpa-dev && git fetch -p):error(update libqt5xcbqpa header sources failed)
+-        !system(cd $$PWD/libqt5xcbqpa-dev && git checkout $$VERSION):error(Not support Qt Version: $$VERSION)
+-    }
+-} else {
+-    !system(git clone https://cr.deepin.io/libqt5xcbqpa-dev):error(clone libqt5xcbqpa header sources failed)
+-    !system(cd $$PWD/libqt5xcbqpa-dev && git checkout $$VERSION):error(Not support Qt Version: $$VERSION)
+-}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-04-13 14:58:58 UTC (rev 222742)
+++ community-x86_64/PKGBUILD	2017-04-13 14:59:42 UTC (rev 222743)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-qt5integration
-pkgver=0.1.6
-pkgrel=1
-pkgdesc='Deepin Qt5 platform plugin'
-arch=('i686' 'x86_64')
-url="http://github.com/linuxdeepin/qt5integration"
-license=('GPL3')
-depends=('deepin-tool-kit' 'libqtxdg' 'gtk2')
-makedepends=('git' 'xcb-util-renderutil' 'deepin-file-manager')
-replaces=('qt5dxcb-plugin')
-conflicts=('qt5dxcb-plugin')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5integration/archive/$pkgver.tar.gz"
-        "libqt5xcbqpa-dev::git+https://github.com/zccrs/libqt5xcbqpa-dev.git")
-sha512sums=('39db1197eb67b532a8d919a1216cfb2f25eabd3840d3c7b319faa74446464f21d76ece7c6a3f064f09e4aa7c248d248a973acbd0f71578aa22c0aec0fd767cb8'
-            'SKIP')
-
-prepare() {
-  cd qt5integration-$pkgver
-  ln -s ../../libqt5xcbqpa-dev ./platformplugin/libqt5xcbqpa-dev
-}
-
-build() {
-  cd qt5integration-$pkgver
-  qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr
-  make
-}
-
-package() {
-  cd qt5integration-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-qt5integration/repos/community-x86_64/PKGBUILD (from rev 222742, deepin-qt5integration/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-04-13 14:59:42 UTC (rev 222743)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5integration
+pkgver=0.1.7
+pkgrel=1
+pkgdesc='Deepin Qt5 platform plugin'
+arch=('i686' 'x86_64')
+url="http://github.com/linuxdeepin/qt5integration"
+license=('GPL3')
+depends=('deepin-tool-kit' 'libqtxdg' 'gtk2')
+makedepends=('xcb-util-renderutil' 'deepin-file-manager' 'qt5-xcb-private-headers')
+replaces=('qt5dxcb-plugin')
+conflicts=('qt5dxcb-plugin')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5integration/archive/$pkgver.tar.gz"
+        use-system-qt5-headers.patch)
+sha512sums=('8ccb4bece187f2bbcee091df6789a55d5463348e4f2b0a7241d866c648ebe76a37191d249fc6d81993615b2825ba1e034f7f4d5d64d3174f0fca95e914576a3a'
+            '29152204a36efc5fc2376b74be2ebe1d9cb253f9371ca8b0e9bf95c415c903f956d0d400eaffb3f708f81b19acd0a5383647af3a5a10cf6a61dfa586eb1bd57b')
+
+prepare() {
+  cd qt5integration-$pkgver
+  patch -p1 -i ../use-system-qt5-headers.patch
+}
+
+build() {
+  cd qt5integration-$pkgver
+  qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr
+  make
+}
+
+package() {
+  cd qt5integration-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: deepin-qt5integration/repos/community-x86_64/use-system-qt5-headers.patch (from rev 222742, deepin-qt5integration/trunk/use-system-qt5-headers.patch)
===================================================================
--- community-x86_64/use-system-qt5-headers.patch	                        (rev 0)
+++ community-x86_64/use-system-qt5-headers.patch	2017-04-13 14:59:42 UTC (rev 222743)
@@ -0,0 +1,27 @@
+diff --git a/platformplugin/linux.pri b/platformplugin/linux.pri
+index a36b405..9e4fce8 100644
+--- a/platformplugin/linux.pri
++++ b/platformplugin/linux.pri
+@@ -22,7 +22,7 @@ SOURCES += \
+     $$PWD/utility_x11.cpp \
+     $$PWD/dxcbwmsupport.cpp
+ 
+-INCLUDEPATH += $$PWD/libqt5xcbqpa-dev
++INCLUDEPATH += /usr/include/qtxcb-private
+
+ contains(QT_CONFIG, xcb-xlib)|qtConfig(xcb-xlib) {
+     DEFINES += XCB_USE_XLIB
+@@ -63,13 +63,3 @@ contains(QT_CONFIG, xcb-sm)|qtConfig(xcb-sm) {
+ contains(QT_CONFIG, xcb-qt) {
+     DEFINES += XCB_USE_RENDER
+ }
+-
+-exists($$PWD/libqt5xcbqpa-dev) {
+-    !system(cd $$PWD/libqt5xcbqpa-dev && git checkout $$VERSION) {
+-        !system(cd $$PWD/libqt5xcbqpa-dev && git fetch -p):error(update libqt5xcbqpa header sources failed)
+-        !system(cd $$PWD/libqt5xcbqpa-dev && git checkout $$VERSION):error(Not support Qt Version: $$VERSION)
+-    }
+-} else {
+-    !system(git clone https://cr.deepin.io/libqt5xcbqpa-dev):error(clone libqt5xcbqpa header sources failed)
+-    !system(cd $$PWD/libqt5xcbqpa-dev && git checkout $$VERSION):error(Not support Qt Version: $$VERSION)
+-}



More information about the arch-commits mailing list