[arch-commits] Commit in deepin-screen-recorder/repos/community-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Fri Jan 22 17:46:32 UTC 2021


    Date: Friday, January 22, 2021 @ 17:46:31
  Author: felixonmars
Revision: 824673

archrelease: copy trunk to community-x86_64

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

-------------------------------------+
 PKGBUILD                            |   83 +++++++++++++++++-----------------
 deepin-screen-recorder-qt5.15.patch |   72 ++++++++++++++---------------
 2 files changed, 78 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-22 17:46:19 UTC (rev 824672)
+++ PKGBUILD	2021-01-22 17:46:31 UTC (rev 824673)
@@ -1,41 +0,0 @@
-# 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.61
-pkgrel=1
-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=('244018c5604bdeac43691fefd6a18427b39c25e3d7174d2d8f5d997f198b6113819d4025af0a5862d434a7eff357a4162107aa8665671355314344ddd12e26b2'
-            'aaef789b5b1e74c9b2972bf94134b639393247ea4c6459e90d0b875d692b6adca71cafc27f1cc402fc81126eb47c52ae816867d7a3d2dfa775594dd839840247')
-
-prepare() {
-  cd deepin-screen-recorder-$pkgver
-
-  # 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
-
-  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-x86_64/PKGBUILD (from rev 824672, deepin-screen-recorder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-22 17:46:31 UTC (rev 824673)
@@ -0,0 +1,42 @@
+# 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.1
+pkgrel=1
+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=('e13a3d8dc6aa5d4212e770332993600a310ed71a0f16611772030f646155d5198dffe920ecbf21d14df39389f6a954787567b01a339b3ab80989582c4f75547c'
+            'aaef789b5b1e74c9b2972bf94134b639393247ea4c6459e90d0b875d692b6adca71cafc27f1cc402fc81126eb47c52ae816867d7a3d2dfa775594dd839840247')
+
+prepare() {
+  cd deepin-screen-recorder-$pkgver
+
+  # 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
+
+  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
+}

Deleted: deepin-screen-recorder-qt5.15.patch
===================================================================
--- deepin-screen-recorder-qt5.15.patch	2021-01-22 17:46:19 UTC (rev 824672)
+++ deepin-screen-recorder-qt5.15.patch	2021-01-22 17:46:31 UTC (rev 824673)
@@ -1,36 +0,0 @@
-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>

Copied: deepin-screen-recorder/repos/community-x86_64/deepin-screen-recorder-qt5.15.patch (from rev 824672, deepin-screen-recorder/trunk/deepin-screen-recorder-qt5.15.patch)
===================================================================
--- deepin-screen-recorder-qt5.15.patch	                        (rev 0)
+++ deepin-screen-recorder-qt5.15.patch	2021-01-22 17:46:31 UTC (rev 824673)
@@ -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