[arch-commits] Commit in deepin-voice-note/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jul 19 11:11:07 UTC 2020
Date: Sunday, July 19, 2020 @ 11:11:07
Author: felixonmars
Revision: 664550
archrelease: copy trunk to community-x86_64
Added:
deepin-voice-note/repos/community-x86_64/PKGBUILD
(from rev 664549, deepin-voice-note/trunk/PKGBUILD)
Deleted:
deepin-voice-note/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-19 11:10:54 UTC (rev 664549)
+++ PKGBUILD 2020-07-19 11:11:07 UTC (rev 664550)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-voice-note
-pkgver=5.7.15
-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')
-makedepends=('cmake' 'ninja' 'qt5-tools')
-groups=('deepin-extra')
-source=("https://github.com/linuxdeepin/deepin-voice-note/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('a02cbf1fa01876dcce57f96074c51d740ee81870d4d131c5c53c4367c0c20c69ef0cd46ee4d9a181f4a32af8518d5f6cd03158b1184efd702b3a0e2b77c2c6aa')
-
-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 664549, deepin-voice-note/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-19 11:11:07 UTC (rev 664550)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-voice-note
+pkgver=5.7.16
+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')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-voice-note/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f95102988914e60cd1eee9d5399e766b8f6e0726cde7a6e35dbc5b60ab39bbf45d09f36ab7c520ad5ed98ec527bde0280c49e9945fca03cc2e70d7a5e0729344')
+
+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
+}
More information about the arch-commits
mailing list