[arch-commits] Commit in dtkwidget/repos (3 files)

Antonio Rojas arojas at archlinux.org
Fri Jun 21 21:33:04 UTC 2019


    Date: Friday, June 21, 2019 @ 21:33:03
  Author: arojas
Revision: 482634

archrelease: copy trunk to community-staging-x86_64

Added:
  dtkwidget/repos/community-staging-x86_64/
  dtkwidget/repos/community-staging-x86_64/PKGBUILD
    (from rev 482633, dtkwidget/trunk/PKGBUILD)
  dtkwidget/repos/community-staging-x86_64/dtkwidget-qt5.13.patch
    (from rev 482633, dtkwidget/trunk/dtkwidget-qt5.13.patch)

------------------------+
 PKGBUILD               |   37 +++++++++++++++++++++++++++++++++++++
 dtkwidget-qt5.13.patch |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: dtkwidget/repos/community-staging-x86_64/PKGBUILD (from rev 482633, dtkwidget/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-06-21 21:33:03 UTC (rev 482634)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=dtkwidget
+pkgver=2.0.14
+pkgrel=3
+pkgdesc='Deepin graphical user interface library'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dtkwidget"
+license=('GPL3')
+depends=('deepin-qt-dbus-factory' 'dtkcore' 'librsvg' 'qt5-multimedia' 'qt5-svg' 'qt5-x11extras'
+         'startup-notification')
+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"
+        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/}
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd dtkwidget-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: dtkwidget/repos/community-staging-x86_64/dtkwidget-qt5.13.patch (from rev 482633, dtkwidget/trunk/dtkwidget-qt5.13.patch)
===================================================================
--- community-staging-x86_64/dtkwidget-qt5.13.patch	                        (rev 0)
+++ community-staging-x86_64/dtkwidget-qt5.13.patch	2019-06-21 21:33:03 UTC (rev 482634)
@@ -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