[arch-commits] Commit in dtkwidget/trunk (PKGBUILD dtkwidget-qt5.13.patch)

Antonio Rojas arojas at archlinux.org
Fri Jun 21 21:32:40 UTC 2019


    Date: Friday, June 21, 2019 @ 21:32:40
  Author: arojas
Revision: 482633

Qt 5.13 rebuild

Added:
  dtkwidget/trunk/dtkwidget-qt5.13.patch
Modified:
  dtkwidget/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   13 ++++++++++---
 dtkwidget-qt5.13.patch |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-21 20:27:55 UTC (rev 482632)
+++ PKGBUILD	2019-06-21 21:32:40 UTC (rev 482633)
@@ -4,7 +4,7 @@
 
 pkgname=dtkwidget
 pkgver=2.0.14
-pkgrel=2
+pkgrel=3
 pkgdesc='Deepin graphical user interface library'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/dtkwidget"
@@ -14,9 +14,16 @@
 makedepends=('qt5-tools')
 replaces=('deepin-tool-kit')
 conflicts=('deepin-tool-kit<0.3.4')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkwidget/archive/$pkgver.tar.gz")
-sha512sums=('0250ee77234bb0487420a1176e08c27b25f674137913e656048b66502810a20bbacd3180272400a5bb3fb30bd969bc6d4236d3178edc42e2fd1270b5e194a713')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkwidget/archive/$pkgver.tar.gz"
+        dtkwidget-qt5.13.patch)
+sha512sums=('0250ee77234bb0487420a1176e08c27b25f674137913e656048b66502810a20bbacd3180272400a5bb3fb30bd969bc6d4236d3178edc42e2fd1270b5e194a713'
+            '4b2f4373bb55ed38ebeee1345213a9c3b3e1f97a762b955a4b96baae41ed0da35c901d65157113f914ef808af370d0490c83e2e595b6b44010b5297063c8eeaa')
 
+prepare() {
+  cd dtkwidget-$pkgver
+  patch -p1 -i ../dtkwidget-qt5.13.patch # Fix build with Qt 5.13
+}
+
 build() {
   cd dtkwidget-$pkgver
   LDFLAGS=${LDFLAGS/,-z,now/}

Added: dtkwidget-qt5.13.patch
===================================================================
--- dtkwidget-qt5.13.patch	                        (rev 0)
+++ dtkwidget-qt5.13.patch	2019-06-21 21:32:40 UTC (rev 482633)
@@ -0,0 +1,39 @@
+diff --git a/src/widgets/daboutdialog.cpp b/src/widgets/daboutdialog.cpp
+index 5c6ba91..a33fd94 100644
+--- a/src/widgets/daboutdialog.cpp
++++ b/src/widgets/daboutdialog.cpp
+@@ -575,6 +575,6 @@ void DAboutDialog::showEvent(QShowEvent *event)
+     }
+ }
+ 
+-#include "moc_daboutdialog.cpp"
+-
+ DWIDGET_END_NAMESPACE
++
++#include "moc_daboutdialog.cpp"
+diff --git a/src/widgets/dipv4lineedit.cpp b/src/widgets/dipv4lineedit.cpp
+index 4efe6e4..1cc68b4 100644
+--- a/src/widgets/dipv4lineedit.cpp
++++ b/src/widgets/dipv4lineedit.cpp
+@@ -530,6 +530,6 @@ bool DIpv4LineEdit::eventFilter(QObject *obj, QEvent *e)
+     return DLineEdit::eventFilter(obj, e);
+ }
+ 
+-#include "moc_dipv4lineedit.cpp"
+-
+ DWIDGET_END_NAMESPACE
++
++#include "moc_dipv4lineedit.cpp"
+diff --git a/src/widgets/dlistview.cpp b/src/widgets/dlistview.cpp
+index 0dcc244..523ebd5 100644
+--- a/src/widgets/dlistview.cpp
++++ b/src/widgets/dlistview.cpp
+@@ -709,6 +709,6 @@ bool DListView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger tr
+     return tmp;
+ }
+ 
+-#include "moc_dlistview.cpp"
+-
+ DWIDGET_END_NAMESPACE
++
++#include "moc_dlistview.cpp"


More information about the arch-commits mailing list