[arch-commits] Commit in deepin-voice-note/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Sep 2 11:24:23 UTC 2020


    Date: Wednesday, September 2, 2020 @ 11:24:22
  Author: felixonmars
Revision: 696322

archrelease: copy trunk to community-x86_64

Added:
  deepin-voice-note/repos/community-x86_64/PKGBUILD
    (from rev 696321, 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-09-02 11:24:05 UTC (rev 696321)
+++ PKGBUILD	2020-09-02 11:24:22 UTC (rev 696322)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-voice-note
-pkgver=5.8.4
-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=('e0a8d26f3d87558a4af93613f580142f0ee8c76e74c35b34983fa7961bcb6f6b0709a5d50d3ad673f1d23f73f1c29d131021fef18c6c2675d34cb0ba131a1bac')
-
-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 696321, deepin-voice-note/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-02 11:24:22 UTC (rev 696322)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-voice-note
+pkgver=5.8.5
+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=('5a3103a5595e32e03d423624b906c057a32e73bf2efadb563ebe0ff0e4dcc85753225044370ef5e6655ef97789fd138f957da1476d2a44b3d42fbff168cc205b')
+
+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