[arch-commits] Commit in deepin-screen-recorder/repos (3 files)

Antonio Rojas arojas at archlinux.org
Thu Nov 19 21:00:34 UTC 2020


    Date: Thursday, November 19, 2020 @ 21:00:33
  Author: arojas
Revision: 757764

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-screen-recorder/repos/community-staging-x86_64/
  deepin-screen-recorder/repos/community-staging-x86_64/PKGBUILD
    (from rev 757763, deepin-screen-recorder/trunk/PKGBUILD)
  deepin-screen-recorder/repos/community-staging-x86_64/deepin-screen-recorder-qt5.15.patch
    (from rev 757763, deepin-screen-recorder/trunk/deepin-screen-recorder-qt5.15.patch)

-------------------------------------+
 PKGBUILD                            |   38 ++++++++++++++++++++++++++++++++++
 deepin-screen-recorder-qt5.15.patch |   36 ++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: deepin-screen-recorder/repos/community-staging-x86_64/PKGBUILD (from rev 757763, deepin-screen-recorder/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-19 21:00:33 UTC (rev 757764)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-screen-recorder
+pkgver=5.8.0.32
+pkgrel=2
+pkgdesc='Deepin Screen Recorder'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-screen-recorder"
+license=('GPL3')
+depends=('byzanz' 'deepin-qt5integration' 'deepin-turbo' 'ffmpeg' 'kconfig' 'ki18n' 'kwindowsystem')
+makedepends=('qt5-tools')
+provides=('deepin-screenshot')
+conflicts=('deepin-screenshot')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-screen-recorder/archive/$pkgver.tar.gz"
+         deepin-screen-recorder-qt5.15.patch)
+sha512sums=('549a744dd162a94417174be21ab239bb4d1a1342f3d3a10253543489a0ea2efc7af6d6835647cad7c7c3b0f3bc2c5562eff0105e351675f69ec616290ff294e5'
+            'aaef789b5b1e74c9b2972bf94134b639393247ea4c6459e90d0b875d692b6adca71cafc27f1cc402fc81126eb47c52ae816867d7a3d2dfa775594dd839840247')
+
+prepare() {
+  cd deepin-screen-recorder-$pkgver
+  sed -i '/include <X11.extensions.XTest.h>/a #undef min' src/event_monitor.cpp
+
+  patch -p1 -i ../deepin-screen-recorder-qt5.15.patch # Fix build with Qt 5.15
+}
+
+build(){
+  cd deepin-screen-recorder-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd deepin-screen-recorder-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: deepin-screen-recorder/repos/community-staging-x86_64/deepin-screen-recorder-qt5.15.patch (from rev 757763, deepin-screen-recorder/trunk/deepin-screen-recorder-qt5.15.patch)
===================================================================
--- community-staging-x86_64/deepin-screen-recorder-qt5.15.patch	                        (rev 0)
+++ community-staging-x86_64/deepin-screen-recorder-qt5.15.patch	2020-11-19 21:00:33 UTC (rev 757764)
@@ -0,0 +1,36 @@
+diff --git a/src/utils.cpp b/src/utils.cpp
+index 96f2226..7076d09 100755
+--- a/src/utils.cpp
++++ b/src/utils.cpp
+@@ -27,6 +27,7 @@
+ #include <QDebug>
+ #include <QFontMetrics>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QDBusInterface>
+ #include <QtX11Extras/QX11Info>
+ #include <X11/extensions/shape.h>
+diff --git a/src/widgets/shapeswidget.cpp b/src/widgets/shapeswidget.cpp
+index 127620e..38638df 100755
+--- a/src/widgets/shapeswidget.cpp
++++ b/src/widgets/shapeswidget.cpp
+@@ -20,6 +20,7 @@
+ #include "shapeswidget.h"
+ #include <QApplication>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QDebug>
+ 
+ #include "../utils/calculaterect.h"
+diff --git a/src/widgets/tooltips.cpp b/src/widgets/tooltips.cpp
+index afd844a..0f377bb 100644
+--- a/src/widgets/tooltips.cpp
++++ b/src/widgets/tooltips.cpp
+@@ -33,6 +33,7 @@
+ #include <QHBoxLayout>
+ #include <QLabel>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QGraphicsDropShadowEffect>
+ #include <QPropertyAnimation>
+ #include <QGraphicsOpacityEffect>



More information about the arch-commits mailing list