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

Antonio Rojas arojas at archlinux.org
Thu Nov 19 20:58:59 UTC 2020


    Date: Thursday, November 19, 2020 @ 20:58:59
  Author: arojas
Revision: 757755

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-draw/repos/community-staging-x86_64/
  deepin-draw/repos/community-staging-x86_64/PKGBUILD
    (from rev 757754, deepin-draw/trunk/PKGBUILD)
  deepin-draw/repos/community-staging-x86_64/deepin-draw-dwidget-include.patch
    (from rev 757754, 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-staging-x86_64/PKGBUILD (from rev 757754, deepin-draw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-19 20:58:59 UTC (rev 757755)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-draw
+pkgver=5.8.0.20
+pkgrel=2
+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=('60b643b8b699eec01b6cf3fb09f68c3d4107e503f4a88dfa9ad080d4d00f80e72f20253ea36dd5f5f20e74d9258c7aecb1e92ae111e816b96e37789d169095a8'
+            '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-staging-x86_64/deepin-draw-dwidget-include.patch (from rev 757754, deepin-draw/trunk/deepin-draw-dwidget-include.patch)
===================================================================
--- community-staging-x86_64/deepin-draw-dwidget-include.patch	                        (rev 0)
+++ community-staging-x86_64/deepin-draw-dwidget-include.patch	2020-11-19 20:58:59 UTC (rev 757755)
@@ -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