[arch-commits] Commit in deepin-camera/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Dec 12 12:48:10 UTC 2021
Date: Sunday, December 12, 2021 @ 12:48:10
Author: felixonmars
Revision: 1068863
upgpkg: deepin-camera 1.2.1-1
Modified:
deepin-camera/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-12 12:46:07 UTC (rev 1068862)
+++ PKGBUILD 2021-12-12 12:48:10 UTC (rev 1068863)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=deepin-camera
-pkgver=1.1.3
+pkgver=1.2.1
pkgrel=1
pkgdesc='Tool to view camera, take photo and video'
arch=('x86_64')
@@ -11,10 +11,12 @@
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=('75d5b270d819c1cc517c815a19acce62e93d3981613c70579b3d0f4245c77a33f3e5db3a9f696b7f5ef669fb3f35840b8929431b7a38b15c94cfa778912fea56')
+sha512sums=('30c7a883079aa48f4cf95731761d5a7a962c986414936d0adc7180f2f0b195f7643cc420b81af8508e01aa512949fd883360f33e4cdf66cc7b70fd58e1a093a4')
prepare() {
cd deepin-camera-$pkgver
+ sed -i '/#include <QThread>/i #include <thread>' src/src/windowstatethread.h
+
# https://github.com/linuxdeepin/deepin-camera/issues/2
sed -i 's/LIBAVFORMAT_VERSION_MAJOR >= 57 && LIBAVFORMAT_VERSION_MINOR <= 25/LIBAVFORMAT_VERSION_MAJOR >= 57/' src/src/imageitem.cpp
}
More information about the arch-commits
mailing list