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

Antonio Rojas arojas at archlinux.org
Tue May 26 18:58:15 UTC 2020


    Date: Tuesday, May 26, 2020 @ 18:58:14
  Author: arojas
Revision: 635168

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 635167, deepin-screen-recorder/trunk/PKGBUILD)
  deepin-screen-recorder/repos/community-staging-x86_64/deepin-screen-recorder-qt5.15.patch
    (from rev 635167, deepin-screen-recorder/trunk/deepin-screen-recorder-qt5.15.patch)

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

Copied: deepin-screen-recorder/repos/community-staging-x86_64/PKGBUILD (from rev 635167, deepin-screen-recorder/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-26 18:58:14 UTC (rev 635168)
@@ -0,0 +1,36 @@
+# 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.11
+pkgrel=3
+pkgdesc='Deepin Screen Recorder'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-screen-recorder"
+license=('GPL3')
+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"
+         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(){
+  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 635167, 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-05-26 18:58:14 UTC (rev 635168)
@@ -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