[arch-commits] Commit in deepin-screen-recorder/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Dec 12 13:57:14 UTC 2021
Date: Sunday, December 12, 2021 @ 13:57:14
Author: felixonmars
Revision: 1068934
upgpkg: deepin-screen-recorder 5.10.9-1
Modified:
deepin-screen-recorder/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-12 13:53:53 UTC (rev 1068933)
+++ PKGBUILD 2021-12-12 13:57:14 UTC (rev 1068934)
@@ -3,13 +3,13 @@
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
pkgname=deepin-screen-recorder
-pkgver=5.10.2
+pkgver=5.10.9
pkgrel=1
pkgdesc='Deepin Screen Recorder'
arch=('x86_64')
url="https://github.com/linuxdeepin/deepin-screen-recorder"
license=('GPL3')
-depends=('deepin-qt5integration' 'deepin-turbo' 'ffmpeg' 'libxtst')
+depends=('deepin-qt5integration' 'deepin-turbo' 'ffmpeg' 'libxtst' 'opencv')
makedepends=('deepin-dock')
optdepends=('deepin-shortcut-viewer: for shortcut display')
provides=('deepin-screenshot')
@@ -16,15 +16,20 @@
conflicts=('deepin-screenshot')
groups=('deepin-extra')
source=("https://github.com/linuxdeepin/deepin-screen-recorder/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('975e8f3e19854df5d78f3b3819931eef0dea891362e5af03661d28e72a5707869cbf6fe6f3eab03a0520595f35c325cd5150ccd28efe0eee7c64d96f724d0f4c')
+sha512sums=('fc8578c1d41faaa8151c36e24edbf54b3325a3bef45d67fbc2feefc1789b0cdf677b84caf7f3620dc097eb49225b36e884ef327dce5bccb60bf064b9b5f9e580')
prepare() {
cd deepin-screen-recorder-$pkgver
+ # OpenCV 4 compatibility
+ sed -i '/#include<opencv2/i #include <opencv2/imgproc/types_c.h>' src/utils/pixmergethread.h
+
+ # OpenCV missing in pkg-config targets
+ sed -i 's/dframeworkdbus/dframeworkdbus opencv4/' src/src.pro
+
# X11 header's weirdness with GCC 10
sed -i '/include <X11.extensions.XTest.h>/a #undef min' src/event_monitor.cpp
sed -i '/#include <iostream>/d;1i #include <iostream>' src/screen_shot_event.cpp
- sed -i '/include <X11.extensions.shape.h>/a #undef None' src/utils.cpp
}
build(){
More information about the arch-commits
mailing list