Date: Wednesday, December 9, 2020 @ 10:41:56 Author: felixonmars Revision: 772531
archrelease: copy trunk to community-x86_64 Added: deepin-screen-recorder/repos/community-x86_64/PKGBUILD (from rev 772530, deepin-screen-recorder/trunk/PKGBUILD) deepin-screen-recorder/repos/community-x86_64/deepin-screen-recorder-qt5.15.patch (from rev 772530, 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 | 82 +++++++++++++++++----------------- deepin-screen-recorder-qt5.15.patch | 72 ++++++++++++++--------------- 2 files changed, 77 insertions(+), 77 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-09 10:41:43 UTC (rev 772530) +++ PKGBUILD 2020-12-09 10:41:56 UTC (rev 772531) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@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.42 -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=('a80ac983fd19d4dbb566d43f565e3cb30db342334dd36c769e1950f1675fc88c758bb5885368c570caef7eaa163692fac159f4d961bf7c7a5d9d53759c08969d' - '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 772530, deepin-screen-recorder/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-09 10:41:56 UTC (rev 772531) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@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.43 +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=('1e649c5e89b267d606018cc9d079d450de45ad9876bfbfb37b80b9992534f2dfecd704b5ab1b8f4e42a97dea3f2e9848567364eecbc424e64a968b6bc317bd68' + '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 +} Deleted: deepin-screen-recorder-qt5.15.patch =================================================================== --- deepin-screen-recorder-qt5.15.patch 2020-12-09 10:41:43 UTC (rev 772530) +++ deepin-screen-recorder-qt5.15.patch 2020-12-09 10:41:56 UTC (rev 772531) @@ -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 772530, deepin-screen-recorder/trunk/deepin-screen-recorder-qt5.15.patch) =================================================================== --- deepin-screen-recorder-qt5.15.patch (rev 0) +++ deepin-screen-recorder-qt5.15.patch 2020-12-09 10:41:56 UTC (rev 772531) @@ -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>