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

Felix Yan felixonmars at archlinux.org
Wed Jul 7 09:37:07 UTC 2021


    Date: Wednesday, July 7, 2021 @ 09:37:06
  Author: felixonmars
Revision: 974302

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-draw/repos/community-testing-x86_64/
  deepin-draw/repos/community-testing-x86_64/PKGBUILD
    (from rev 974301, deepin-draw/trunk/PKGBUILD)
  deepin-draw/repos/community-testing-x86_64/deepin-draw-dwidget-include.patch
    (from rev 974301, deepin-draw/trunk/deepin-draw-dwidget-include.patch)

-----------------------------------+
 PKGBUILD                          |   36 ++++++++++++++++++++++++++++++++++++
 deepin-draw-dwidget-include.patch |   24 ++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: deepin-draw/repos/community-testing-x86_64/PKGBUILD (from rev 974301, deepin-draw/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-07-07 09:37:06 UTC (rev 974302)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-draw
+pkgver=5.8.0.21
+pkgrel=1
+pkgdesc="A lightweight drawing tool for Linux Deepin"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-draw"
+license=('GPL3')
+depends=('deepin-picker' 'deepin-qt5integration' 'freeimage' 'libexif' 'qt5-imageformats')
+makedepends=('qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-draw/archive/$pkgver.tar.gz"
+         deepin-draw-dwidget-include.patch)
+sha512sums=('e1ce034013620b8f2c103549acf134df42e5efed87c1c94738b1ca1b2adc3cefd63d38f49684750ae6f33b99d6db189667d990734a4685963d61778d7391f4bd'
+            'a512608d7812b4389f788c810a8f7aa1ecd7eaca448664766b54eca9002af5fba1683694f9a8225ab0013b4925d1b3c062f14728187e4a3d3d243b314934104e')
+
+prepare() {
+  cd deepin-draw-$pkgver
+  patch -p1 -i ../deepin-draw-dwidget-include.patch # Fix missing includes
+  sed -i '/include <DGraphicsView>/i #include <QFileDevice>' frame/cgraphicsview.h
+  sed -i '/include <QPainter>/a #include <QMouseEvent>' widgets/ciconbutton.cpp
+
+}
+
+build() {
+  cd deepin-draw-$pkgver
+
+  qmake-qt5
+  make
+}
+
+package() {
+  cd deepin-draw-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: deepin-draw/repos/community-testing-x86_64/deepin-draw-dwidget-include.patch (from rev 974301, deepin-draw/trunk/deepin-draw-dwidget-include.patch)
===================================================================
--- community-testing-x86_64/deepin-draw-dwidget-include.patch	                        (rev 0)
+++ community-testing-x86_64/deepin-draw-dwidget-include.patch	2021-07-07 09:37:06 UTC (rev 974302)
@@ -0,0 +1,24 @@
+diff --git a/widgets/ccheckbutton.h b/widgets/ccheckbutton.h
+index c219285..0273c59 100644
+--- a/widgets/ccheckbutton.h
++++ b/widgets/ccheckbutton.h
+@@ -21,6 +21,7 @@
+ 
+ #include <QMap>
+ #include <DToolButton>
++#include <DWidget>
+ 
+ DWIDGET_USE_NAMESPACE
+ 
+diff --git a/widgets/cclickbutton.h b/widgets/cclickbutton.h
+index 7da95b4..d1f0eed 100644
+--- a/widgets/cclickbutton.h
++++ b/widgets/cclickbutton.h
+@@ -20,6 +20,7 @@
+ #define CCLICKBUTTON_H
+ 
+ #include <DToolButton>
++#include <DWidget>
+ 
+ DWIDGET_USE_NAMESPACE
+ 




More information about the arch-commits mailing list