Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
deepin-voice-note


Commits:
d6416dc0 by Felix Yan at 2024-05-25T16:33:42+00:00
upgpkg: 6.0.18-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
 pkgbase = deepin-voice-note
        pkgdesc = A lightweight memo tool to make text notes and voice 
recordings
-       pkgver = 6.0.17
+       pkgver = 6.0.18
        pkgrel = 1
        url = https://github.com/linuxdeepin/deepin-voice-note
        arch = x86_64
        groups = deepin-extra
        license = GPL3
+       makedepends = git
        makedepends = cmake
        makedepends = gmock
        makedepends = gtest
@@ -29,7 +30,7 @@ pkgbase = deepin-voice-note
        depends = gcc-libs
        depends = deepin-movie
        replaces = deepin-voice-recorder
-       source = 
https://github.com/linuxdeepin/deepin-voice-note/archive/6.0.17/deepin-voice-note-6.0.17.tar.gz
-       sha512sums = 
d89f5071c6aec513d4c94d9a7dbaca24a9611a2eaf5b9578d81cade5f1192c2f29b13dcf7674346d5188b6d78aeb0278cb83d897efbd7de8e58f2449311f3f45
+       source = 
git+https://github.com/linuxdeepin/deepin-voice-note.git#tag=6.0.18
+       sha512sums = 
640f7ac2b908289e37532c2a393c6120c21d69b3bb797696acb44b8ec1c15edbbe034360be11b09e1dabb269675fa37202ed27252f9a8486bd5574d5896ad52a
 
 pkgname = deepin-voice-note


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=deepin-voice-note
-pkgver=6.0.17
+pkgver=6.0.18
 pkgrel=1
 pkgdesc='A lightweight memo tool to make text notes and voice recordings'
 arch=('x86_64')
@@ -11,29 +11,23 @@ replaces=('deepin-voice-recorder')
 depends=('deepin-qt5integration' 'deepin-qt-dbus-factory' 'dtkcore' 'dtkgui' 
'dtkwidget' 'qt5-base'
          'qt5-svg' 'qt5-multimedia' 'qt5-declarative' 'qt5-webchannel' 
'qt5-location' 'qt5-webengine'
          'gstreamer' 'vlc' 'glib2' 'gcc-libs' 'deepin-movie')
-makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
+makedepends=('git' 'cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
 groups=('deepin-extra')
-source=("https://github.com/linuxdeepin/deepin-voice-note/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('d89f5071c6aec513d4c94d9a7dbaca24a9611a2eaf5b9578d81cade5f1192c2f29b13dcf7674346d5188b6d78aeb0278cb83d897efbd7de8e58f2449311f3f45')
-
-prepare() {
-  cd deepin-voice-note-$pkgver
-  sed -i '/include <QSurfaceFormat>/a #include <QStandardPaths>' src/main.cpp
-  sed -i '/include <QMimeData>/a #include <QStandardPaths>\n#include 
<QThreadPool>' src/views/middleview.cpp
-}
+source=("git+https://github.com/linuxdeepin/deepin-voice-note.git#tag=$pkgver";)
+sha512sums=('640f7ac2b908289e37532c2a393c6120c21d69b3bb797696acb44b8ec1c15edbbe034360be11b09e1dabb269675fa37202ed27252f9a8486bd5574d5896ad52a')
 
 build() {
-  cd deepin-voice-note-$pkgver
+  cd deepin-voice-note
   cmake -GNinja .
   ninja
 }
 
 check() {
-  cd deepin-voice-note-$pkgver
+  cd deepin-voice-note
   ninja test || :
 }
 
 package() {
-  cd deepin-voice-note-$pkgver
+  cd deepin-voice-note
   DESTDIR="$pkgdir" ninja install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-voice-note/-/commit/d6416dc01d876bf757cf4757725b64d4742b71b4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-voice-note/-/commit/d6416dc01d876bf757cf4757725b64d4742b71b4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to