[arch-commits] Commit in deepin-voice-note/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Aug 17 10:20:52 UTC 2021
Date: Tuesday, August 17, 2021 @ 10:20:52
Author: felixonmars
Revision: 1001303
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 1001302, deepin-voice-note/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: deepin-voice-note/repos/community-testing-x86_64/PKGBUILD (from rev 1001302, deepin-voice-note/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-08-17 10:20:52 UTC (rev 1001303)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-voice-note
+pkgver=5.9.6
+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=('bae61dc5442643e8572592c27bfeb272e35cd1398d7c73c0660e61021613b4f8fddfeb570e4a02d18049a3b6df4c720cd194e320e2b993faae172073011eb7d9')
+
+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