[arch-commits] Commit in deepin-voice-note/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Apr 7 21:15:02 UTC 2021


    Date: Wednesday, April 7, 2021 @ 21:15:02
  Author: felixonmars
Revision: 912774

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-voice-note/repos/community-testing-x86_64/
  deepin-voice-note/repos/community-testing-x86_64/PKGBUILD
    (from rev 912773, deepin-voice-note/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: deepin-voice-note/repos/community-testing-x86_64/PKGBUILD (from rev 912773, deepin-voice-note/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-04-07 21:15:02 UTC (rev 912774)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-voice-note
+pkgver=5.9.0.12
+pkgrel=1
+pkgdesc='A lightweight memo tool to make text notes and voice recordings'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-voice-note"
+license=('GPL3')
+replaces=('deepin-voice-recorder')
+depends=('deepin-qt5integration' 'vlc')
+makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-voice-note/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('a46c038ebf341a05636c91b9b0d0c16a3dda89eb5bfb87fc4f45339fa7b6a2bd70edeffb9abeb108c463eac132157ee8b053a70322ad6fdf23c5d27db8988a1e')
+
+prepare() {
+  cd deepin-voice-note-$pkgver
+  sed -i '1i#include <QPainterPath>' src/views/middleviewdelegate.cpp src/views/leftviewdelegate.cpp
+}
+
+build() {
+  cd deepin-voice-note-$pkgver
+  cmake -GNinja .
+  ninja
+}
+
+check() {
+  cd deepin-voice-note-$pkgver
+  ninja test || :
+}
+
+package() {
+  cd deepin-voice-note-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list