[arch-commits] Commit in deepin-calendar/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Apr 25 22:00:36 UTC 2021
Date: Sunday, April 25, 2021 @ 22:00:35
Author: felixonmars
Revision: 924456
upgpkg: deepin-calendar 5.8.0.19-1
Modified:
deepin-calendar/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-25 22:00:29 UTC (rev 924455)
+++ PKGBUILD 2021-04-25 22:00:35 UTC (rev 924456)
@@ -3,7 +3,7 @@
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
pkgname=deepin-calendar
-pkgver=5.7.0.23
+pkgver=5.8.0.19
pkgrel=1
pkgdesc='Calendar for Deepin Desktop Environment'
arch=('x86_64')
@@ -10,11 +10,11 @@
url="https://github.com/linuxdeepin/dde-calendar"
license=('GPL3')
depends=('deepin-qt5integration' 'hicolor-icon-theme')
-makedepends=('cmake' 'ninja' 'qt5-tools')
+makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz"
+source=("https://github.com/linuxdeepin/dde-calendar/archive/$pkgver/$pkgname-$pkgver.tar.gz"
"dde-calendar-icon.patch")
-sha512sums=('1ee3ea13d358c2bc6392f4cd8b50d68d1422899e02c30967675a7a7264163fc8e5892822850f97dcdbc6dba2445452324f69b6247680d0e0c4f4dadf3fb0a558'
+sha512sums=('aa8df29ed9260be4d37c851a91ea4ddf6fcdbe6439b36ccfe39aa43868ec3d456751d598c3f25031cca8b7c2f03f90c07c3a12201a42b41f5ecc8478cd2481d4'
'40ffae29fcbd386512dac9b91c39219b420b349f1f5facc254467b9e5407091886c8d0ed0979d566ba79539c093464cbc7719da7268c9745bc30273f9d7db7e2')
prepare() {
@@ -22,18 +22,7 @@
# 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
+ # patch -Np1 -i ../dde-calendar-icon.patch
}
build() {
More information about the arch-commits
mailing list