[arch-commits] Commit in deepin-voice-note/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 23 19:58:24 UTC 2020
Date: Friday, October 23, 2020 @ 19:58:24
Author: felixonmars
Revision: 730762
archrelease: copy trunk to community-x86_64
Added:
deepin-voice-note/repos/community-x86_64/PKGBUILD
(from rev 730761, deepin-voice-note/trunk/PKGBUILD)
Deleted:
deepin-voice-note/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 31 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-23 19:58:08 UTC (rev 730761)
+++ PKGBUILD 2020-10-23 19:58:24 UTC (rev 730762)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-voice-note
-pkgver=5.8.9
-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' 'ninja' 'qt5-tools')
-groups=('deepin-extra')
-source=("https://github.com/linuxdeepin/deepin-voice-note/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('6361c42207055c34b38ae03b1ae1be4400e42a1f35612115bb4f022431be5ce40dabacd9e17d712519d02b1f8dfae0cf88f0a7160eaf1f221069253376ed0421')
-
-prepare() {
- cd deepin-voice-note-$pkgver
- # Upstream likes to refactor code while ignoring pull requests
- sed -i '1i#include <QPainterPath>' src/views/middleviewdelegate.cpp src/views/leftviewdelegate.cpp
- # Utterly broken code that treats all audio/mpeg as mp3 and they refused to fix.
- # They really need to learn what the f**k is a codec and a container and they are *not* the same.
- sed -e 's|codec.startsWith(m_defaultAudioFmt)|codec.startsWith("audio/mpeg, mpegversion=(int)1, layer=(int)3")|' \
- -i src/common/vnoteaudiomanager.cpp
-}
-
-build() {
- cd deepin-voice-note-$pkgver
- cmake -GNinja .
- ninja
-}
-
-package() {
- cd deepin-voice-note-$pkgver
- DESTDIR="$pkgdir" ninja install
-}
Copied: deepin-voice-note/repos/community-x86_64/PKGBUILD (from rev 730761, deepin-voice-note/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-23 19:58:24 UTC (rev 730762)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-voice-note
+pkgver=5.8.10
+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' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-voice-note/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('2cd0f201af77335a7938c566125f1f22d5e574b813794a0fe69d6ad146b1486bffe8aec689f862042c1107b4c40462cf295d4317460663847792d28465eafbd5')
+
+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
+}
+
+package() {
+ cd deepin-voice-note-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list