[arch-commits] Commit in deepin-camera/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 30 16:40:39 UTC 2022


    Date: Tuesday, August 30, 2022 @ 16:40:39
  Author: felixonmars
Revision: 1288757

upgpkg: deepin-camera 1.3.10-2: add a patch to fix compatibility with ffmpeg 5

Modified:
  deepin-camera/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 16:13:24 UTC (rev 1288756)
+++ PKGBUILD	2022-08-30 16:40:39 UTC (rev 1288757)
@@ -2,7 +2,7 @@
 
 pkgname=deepin-camera
 pkgver=1.3.10
-pkgrel=1
+pkgrel=2
 pkgdesc='Tool to view camera, take photo and video'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-camera"
@@ -11,11 +11,14 @@
          'ffmpegthumbnailer' 'portaudio' 'pulseaudio')
 makedepends=('cmake' 'deepin-gettext-tools' 'ninja' 'qt5-tools')
 groups=('deepin-extra')
-source=("https://github.com/linuxdeepin/deepin-camera/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('c0fba4b1beaf7e45021383e9cbf489235b265c6d08cfe901779ef9aefb682c03e199203492dee8b6d82ab5acb0e63b58cd5b93e973858ba5a7258f525e482f40')
+source=("https://github.com/linuxdeepin/deepin-camera/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        $pkgname-ffmpeg-5.patch::https://github.com/linuxdeepin/deepin-camera/pull/211.patch)
+sha512sums=('c0fba4b1beaf7e45021383e9cbf489235b265c6d08cfe901779ef9aefb682c03e199203492dee8b6d82ab5acb0e63b58cd5b93e973858ba5a7258f525e482f40'
+            '525e64b2595db019dc3f7974bfcfb32ffeed62c90b5b51eac31e486154b4e1af115f479d58ed97a17040152d58fc5cd4c3c82c48b4ff764c46183e5a7bdcff1a')
 
 prepare() {
   cd deepin-camera-$pkgver
+  patch -p1 -i ../$pkgname-ffmpeg-5.patch
   sed -i '/#include <QThread>/i #include <thread>' src/src/windowstatethread.h
 } 
 



More information about the arch-commits mailing list