[arch-commits] Commit in deepin-calculator/repos/community-testing-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Fri May 29 12:47:58 UTC 2020


    Date: Friday, May 29, 2020 @ 12:47:57
  Author: felixonmars
Revision: 637016

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-calculator/repos/community-testing-x86_64/PKGBUILD
    (from rev 637015, deepin-calculator/trunk/PKGBUILD)
  deepin-calculator/repos/community-testing-x86_64/deepin-calculator-qt5.15.patch
    (from rev 637015, deepin-calculator/trunk/deepin-calculator-qt5.15.patch)
Deleted:
  deepin-calculator/repos/community-testing-x86_64/PKGBUILD
  deepin-calculator/repos/community-testing-x86_64/deepin-calculator-qt5.15.patch

--------------------------------+
 PKGBUILD                       |   73 +++++++++++++++++++--------------------
 deepin-calculator-qt5.15.patch |   72 +++++++++++++++++++-------------------
 2 files changed, 72 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 12:47:43 UTC (rev 637015)
+++ PKGBUILD	2020-05-29 12:47:57 UTC (rev 637016)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-calculator
-pkgver=5.5.11
-pkgrel=2
-pkgdesc='An easy to use calculator for ordinary users'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-calculator"
-license=('GPL3')
-depends=('deepin-qt5integration')
-makedepends=('cmake' 'qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-calculator/archive/$pkgver.tar.gz"
-         deepin-calculator-qt5.15.patch)
-sha512sums=('abbfaa439efabdc8488d96b4249fa58a94f6a561e27f178324c2cd990588fba2ec627c1e4ad9d08190d2dbf766b19b75526c0eed8582177f9d9489e60778371c'
-            'd38fed51d16655c4662bdea3a7e19cbcb27b2d04bccaad90e0089652068b6041b73a8512e717ff18c47426046dcfe188ba1535ef19fc21b74fae7dd4e4933e03')
-
-prepare() {
-  cd deepin-calculator-$pkgver
-  sed -i '/<QList>/i #include <QObject>' src/core/session.h
-
-  patch -p1 -i ../deepin-calculator-qt5.15.patch # Fix build with Qt 5.15
-}
-
-build() {
-  cd deepin-calculator-$pkgver
-  ./translate_generation.sh
-  cmake -DCMAKE_INSTALL_PREFIX=/usr .
-  make
-}
-
-package() {
-  cd deepin-calculator-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  chmod +x "$pkgdir"/usr/bin/deepin-calculator
-}

Copied: deepin-calculator/repos/community-testing-x86_64/PKGBUILD (from rev 637015, deepin-calculator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-29 12:47:57 UTC (rev 637016)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-calculator
+pkgver=5.5.12
+pkgrel=2
+pkgdesc='An easy to use calculator for ordinary users'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-calculator"
+license=('GPL3')
+depends=('deepin-qt5integration')
+makedepends=('cmake' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-calculator/archive/$pkgver.tar.gz"
+         deepin-calculator-qt5.15.patch)
+sha512sums=('788cf293b8f95f1c9ae07d85410d2e983fd9b89bc7f56107aa1bb295fa4b745a575d7b3d44cb1ce0d04eef52761a060083dff0bf98ea460bbada009465cd6da5'
+            'd38fed51d16655c4662bdea3a7e19cbcb27b2d04bccaad90e0089652068b6041b73a8512e717ff18c47426046dcfe188ba1535ef19fc21b74fae7dd4e4933e03')
+
+prepare() {
+  cd deepin-calculator-$pkgver
+  sed -i '/<QList>/i #include <QObject>' src/core/session.h
+
+  patch -p1 -i ../deepin-calculator-qt5.15.patch # Fix build with Qt 5.15
+}
+
+build() {
+  cd deepin-calculator-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
+  make
+}
+
+package() {
+  cd deepin-calculator-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  chmod +x "$pkgdir"/usr/bin/deepin-calculator
+}

Deleted: deepin-calculator-qt5.15.patch
===================================================================
--- deepin-calculator-qt5.15.patch	2020-05-29 12:47:43 UTC (rev 637015)
+++ deepin-calculator-qt5.15.patch	2020-05-29 12:47:57 UTC (rev 637016)
@@ -1,36 +0,0 @@
-diff --git a/src/modules/simplelistdelegate.cpp b/src/modules/simplelistdelegate.cpp
-index 40e30b3..ae1b028 100644
---- a/src/modules/simplelistdelegate.cpp
-+++ b/src/modules/simplelistdelegate.cpp
-@@ -22,6 +22,7 @@
- #include <QEvent>
- #include <QMouseEvent>
- #include <QPainter>
-+#include <QPainterPath>
- #include <DGuiApplicationHelper>
- #include "dthememanager.h"
- #include "simplelistmodel.h"
-diff --git a/src/widgets/memorybutton.cpp b/src/widgets/memorybutton.cpp
-index b316632..19ee0de 100644
---- a/src/widgets/memorybutton.cpp
-+++ b/src/widgets/memorybutton.cpp
-@@ -2,6 +2,7 @@
- 
- #include <QMouseEvent>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QTimer>
- #include "dthememanager.h"
- 
-diff --git a/src/widgets/textbutton.cpp b/src/widgets/textbutton.cpp
-index 80a039d..0c8e37a 100644
---- a/src/widgets/textbutton.cpp
-+++ b/src/widgets/textbutton.cpp
-@@ -20,6 +20,7 @@
- #include "textbutton.h"
- #include <QMouseEvent>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QTimer>
- #include "dthememanager.h"
- 

Copied: deepin-calculator/repos/community-testing-x86_64/deepin-calculator-qt5.15.patch (from rev 637015, deepin-calculator/trunk/deepin-calculator-qt5.15.patch)
===================================================================
--- deepin-calculator-qt5.15.patch	                        (rev 0)
+++ deepin-calculator-qt5.15.patch	2020-05-29 12:47:57 UTC (rev 637016)
@@ -0,0 +1,36 @@
+diff --git a/src/modules/simplelistdelegate.cpp b/src/modules/simplelistdelegate.cpp
+index 40e30b3..ae1b028 100644
+--- a/src/modules/simplelistdelegate.cpp
++++ b/src/modules/simplelistdelegate.cpp
+@@ -22,6 +22,7 @@
+ #include <QEvent>
+ #include <QMouseEvent>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <DGuiApplicationHelper>
+ #include "dthememanager.h"
+ #include "simplelistmodel.h"
+diff --git a/src/widgets/memorybutton.cpp b/src/widgets/memorybutton.cpp
+index b316632..19ee0de 100644
+--- a/src/widgets/memorybutton.cpp
++++ b/src/widgets/memorybutton.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include <QMouseEvent>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QTimer>
+ #include "dthememanager.h"
+ 
+diff --git a/src/widgets/textbutton.cpp b/src/widgets/textbutton.cpp
+index 80a039d..0c8e37a 100644
+--- a/src/widgets/textbutton.cpp
++++ b/src/widgets/textbutton.cpp
+@@ -20,6 +20,7 @@
+ #include "textbutton.h"
+ #include <QMouseEvent>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QTimer>
+ #include "dthememanager.h"
+ 


More information about the arch-commits mailing list