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

Antonio Rojas arojas at archlinux.org
Sun Oct 8 20:43:35 UTC 2017


    Date: Sunday, October 8, 2017 @ 20:43:34
  Author: arojas
Revision: 262157

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

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

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

Copied: deepin-qt5integration/repos/community-staging-i686/PKGBUILD (from rev 262156, deepin-qt5integration/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-08 20:43:34 UTC (rev 262157)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5integration
+pkgver=0.2.3
+pkgrel=2
+pkgdesc='Deepin Qt5 platform plugin'
+arch=('i686' 'x86_64')
+url="http://github.com/linuxdeepin/qt5integration"
+license=('GPL3')
+depends=('dtkwidget' 'libqtxdg' 'qt5-styleplugins')
+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=('a113bbe9a537e6ad04672f11957530fa0897e362166baf4af935dc3d1e89cf1bae7d69564f44719705d1c8522c37a21f44b70eedd6fdf23ddcfdb432a1db8ab7'
+            '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-staging-i686/use-system-qt5-headers.patch (from rev 262156, deepin-qt5integration/trunk/use-system-qt5-headers.patch)
===================================================================
--- community-staging-i686/use-system-qt5-headers.patch	                        (rev 0)
+++ community-staging-i686/use-system-qt5-headers.patch	2017-10-08 20:43:34 UTC (rev 262157)
@@ -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)
+-}

Copied: deepin-qt5integration/repos/community-staging-x86_64/PKGBUILD (from rev 262156, deepin-qt5integration/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-08 20:43:34 UTC (rev 262157)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5integration
+pkgver=0.2.3
+pkgrel=2
+pkgdesc='Deepin Qt5 platform plugin'
+arch=('i686' 'x86_64')
+url="http://github.com/linuxdeepin/qt5integration"
+license=('GPL3')
+depends=('dtkwidget' 'libqtxdg' 'qt5-styleplugins')
+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=('a113bbe9a537e6ad04672f11957530fa0897e362166baf4af935dc3d1e89cf1bae7d69564f44719705d1c8522c37a21f44b70eedd6fdf23ddcfdb432a1db8ab7'
+            '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-staging-x86_64/use-system-qt5-headers.patch (from rev 262156, deepin-qt5integration/trunk/use-system-qt5-headers.patch)
===================================================================
--- community-staging-x86_64/use-system-qt5-headers.patch	                        (rev 0)
+++ community-staging-x86_64/use-system-qt5-headers.patch	2017-10-08 20:43:34 UTC (rev 262157)
@@ -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