[arch-commits] Commit in deepin-screen-recorder/trunk (2 files)

Antonio Rojas arojas at archlinux.org
Tue May 26 14:29:41 UTC 2020


    Date: Tuesday, May 26, 2020 @ 14:29:41
  Author: arojas
Revision: 635102

Qt 5.15 rebuild

Added:
  deepin-screen-recorder/trunk/deepin-screen-recorder-qt5.15.patch
Modified:
  deepin-screen-recorder/trunk/PKGBUILD

-------------------------------------+
 PKGBUILD                            |   10 ++++++---
 deepin-screen-recorder-qt5.15.patch |   36 ++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-26 14:24:04 UTC (rev 635101)
+++ PKGBUILD	2020-05-26 14:29:41 UTC (rev 635102)
@@ -4,7 +4,7 @@
 
 pkgname=deepin-screen-recorder
 pkgver=5.8.0.11
-pkgrel=2
+pkgrel=3
 pkgdesc='Deepin Screen Recorder'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-screen-recorder"
@@ -12,12 +12,16 @@
 depends=('deepin-qt5integration' 'deepin-turbo' 'byzanz' 'ffmpeg')
 makedepends=('qt5-tools')
 groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-screen-recorder/archive/$pkgver.tar.gz")
-sha512sums=('8fb57603905d46efa52fb347a9b9e0101b55ff747ea8beed7cd248be9f488927f3a809bb112e98fddd16bb574386dba5706f71f181a19615cd2f1bf4e769d28e')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-screen-recorder/archive/$pkgver.tar.gz"
+         deepin-screen-recorder-qt5.15.patch)
+sha512sums=('8fb57603905d46efa52fb347a9b9e0101b55ff747ea8beed7cd248be9f488927f3a809bb112e98fddd16bb574386dba5706f71f181a19615cd2f1bf4e769d28e'
+            '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(){

Added: deepin-screen-recorder-qt5.15.patch
===================================================================
--- deepin-screen-recorder-qt5.15.patch	                        (rev 0)
+++ deepin-screen-recorder-qt5.15.patch	2020-05-26 14:29:41 UTC (rev 635102)
@@ -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