[arch-commits] Commit in deepin-calendar/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Nov 15 23:12:21 UTC 2020


    Date: Sunday, November 15, 2020 @ 23:12:21
  Author: felixonmars
Revision: 754966

upgpkg: deepin-calendar 5.7.0.20-1

Modified:
  deepin-calendar/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-15 23:11:55 UTC (rev 754965)
+++ PKGBUILD	2020-11-15 23:12:21 UTC (rev 754966)
@@ -3,7 +3,7 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=deepin-calendar
-pkgver=5.7.0.19
+pkgver=5.7.0.20
 pkgrel=1
 pkgdesc='Calendar for Deepin Desktop Environment'
 arch=('x86_64')
@@ -14,7 +14,7 @@
 groups=('deepin')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz"
         "dde-calendar-icon.patch")
-sha512sums=('f4f388eb403933342d320421836e7000defcf26081354cd1bd5a6573383de3d978972ff30506f95be6f41960bf22a2de46a62d9bb8f11f35357c54d2bc243229'
+sha512sums=('d2f2f62b3af28b68f16c38978c98369325c44e0e44cf57f4ccce66d91e3e24b04acad0bb65883a348448436dee31cbdeba4428d5c1dc5517c6dbd194bf46c95b'
             '40ffae29fcbd386512dac9b91c39219b420b349f1f5facc254467b9e5407091886c8d0ed0979d566ba79539c093464cbc7719da7268c9745bc30273f9d7db7e2')
 
 prepare() {
@@ -23,6 +23,17 @@
   # Install the application icon
   # https://github.com/linuxdeepin/dde-calendar/pull/31
   patch -Np1 -i ../dde-calendar-icon.patch
+
+  sed -i '/<QQueue>/a #include <QMouseEvent>' src/widget/dayWidget/daymonthview.cpp
+  sed -i '/<QStylePainter>/a #include <QMouseEvent>' src/widget/schcedulesearchview.cpp
+  sed -i '/include <QJsonObject>/a #include <QMouseEvent>' src/view/draginfographicsview.cpp
+  sed -i '/include <QPainter>/a #include <QMouseEvent>' schedule-plugin/src/widget/itemwidget.h schedule-plugin/src/widget/modifyscheduleitem.h
+
+  # Not included in https://github.com/linuxdeepin/dde-calendar/pull/30 yet
+  sed -i '/include <QPainter>/a #include <QPainterPath>' src/widget/schcedulesearchview.cpp src/widget/dayWidget/daymonthview.cpp src/widget/weekWidget/weekheadview.cpp \
+                                                         src/customWidget/customframe.cpp src/widget/yearWidget/yearview.cpp schedule-plugin/src/widget/modifyscheduleitem.h \
+                                                         schedule-plugin/src/widget/itemwidget.h
+  sed -i '/include <QMessageBox>/a #include <QWheelEvent>' src/widget/yearWidget/yearwindow.cpp
 }
 
 build() {



More information about the arch-commits mailing list