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

Felix Yan felixonmars at archlinux.org
Mon May 17 22:24:19 UTC 2021


    Date: Monday, May 17, 2021 @ 22:24:19
  Author: felixonmars
Revision: 936135

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-screen-recorder/repos/community-testing-x86_64/
  deepin-screen-recorder/repos/community-testing-x86_64/PKGBUILD
    (from rev 936134, deepin-screen-recorder/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: deepin-screen-recorder/repos/community-testing-x86_64/PKGBUILD (from rev 936134, deepin-screen-recorder/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-05-17 22:24:19 UTC (rev 936135)
@@ -0,0 +1,39 @@
+# 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.9.6
+pkgrel=1
+pkgdesc='Deepin Screen Recorder'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-screen-recorder"
+license=('GPL3')
+depends=('deepin-qt5integration' 'deepin-turbo' 'ffmpeg' 'libxtst')
+makedepends=('deepin-dock')
+optdepends=('deepin-shortcut-viewer: for shortcut display')
+provides=('deepin-screenshot')
+conflicts=('deepin-screenshot')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-screen-recorder/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('bab09514fd92a185d08334e1f2a4966c180ea947295014393b3db6ce68df85bc7af8e3c75627a580a7a14aeccbb08f84dfedf67b90d41a8fcb2b97b0ae1222cb')
+
+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
+}
+
+build(){
+  cd deepin-screen-recorder-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd deepin-screen-recorder-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list