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

Felix Yan felixonmars at archlinux.org
Sun Apr 25 22:00:51 UTC 2021


    Date: Sunday, April 25, 2021 @ 22:00:51
  Author: felixonmars
Revision: 924457

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-calendar/repos/community-testing-x86_64/
  deepin-calendar/repos/community-testing-x86_64/PKGBUILD
    (from rev 924456, deepin-calendar/trunk/PKGBUILD)
  deepin-calendar/repos/community-testing-x86_64/dde-calendar-icon.patch
    (from rev 924456, deepin-calendar/trunk/dde-calendar-icon.patch)

-------------------------+
 PKGBUILD                |   37 +++++++++++++++++++++++++++++++++++++
 dde-calendar-icon.patch |   24 ++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

Copied: deepin-calendar/repos/community-testing-x86_64/PKGBUILD (from rev 924456, deepin-calendar/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-04-25 22:00:51 UTC (rev 924457)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-calendar
+pkgver=5.8.0.19
+pkgrel=1
+pkgdesc='Calendar for Deepin Desktop Environment'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-calendar"
+license=('GPL3')
+depends=('deepin-qt5integration' 'hicolor-icon-theme')
+makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
+groups=('deepin')
+source=("https://github.com/linuxdeepin/dde-calendar/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        "dde-calendar-icon.patch")
+sha512sums=('aa8df29ed9260be4d37c851a91ea4ddf6fcdbe6439b36ccfe39aa43868ec3d456751d598c3f25031cca8b7c2f03f90c07c3a12201a42b41f5ecc8478cd2481d4'
+            '40ffae29fcbd386512dac9b91c39219b420b349f1f5facc254467b9e5407091886c8d0ed0979d566ba79539c093464cbc7719da7268c9745bc30273f9d7db7e2')
+
+prepare() {
+  cd dde-calendar-$pkgver
+
+  # Install the application icon
+  # https://github.com/linuxdeepin/dde-calendar/pull/31
+  # patch -Np1 -i ../dde-calendar-icon.patch
+}
+
+build() {
+  cd dde-calendar-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
+}
+
+package() {
+  cd dde-calendar-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}

Copied: deepin-calendar/repos/community-testing-x86_64/dde-calendar-icon.patch (from rev 924456, deepin-calendar/trunk/dde-calendar-icon.patch)
===================================================================
--- community-testing-x86_64/dde-calendar-icon.patch	                        (rev 0)
+++ community-testing-x86_64/dde-calendar-icon.patch	2021-04-25 22:00:51 UTC (rev 924457)
@@ -0,0 +1,24 @@
+From 97129644e1fdd56a9254083e22430308ff0c9db6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Sat, 1 Aug 2020 13:54:20 +0200
+Subject: [PATCH] Install the application icon
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 863aa2f..946ba53 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -102,8 +102,8 @@ install(TARGETS dde-calendar DESTINATION bin)
+ 
+ file(GLOB APP_QM_FILES "translations/*.qm")
+ 
+-#install(FILES /usr/share/icons/bloom/apps/96/dde-calendar.svg
+-#        DESTINATION /share/icons/hicolor/scalable/apps/)
++install(FILES assets/resources/icon/dde-calendar.svg
++        DESTINATION share/icons/hicolor/scalable/apps)
+ install(FILES ${APP_QM_FILES} DESTINATION share/dde-calendar/translations)
+ install(FILES ${APP_DESKTOP} DESTINATION share/applications)
+ install(FILES ${APP_SERVICE} DESTINATION share/dbus-1/services)



More information about the arch-commits mailing list