[arch-commits] Commit in deepin-session-shell/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Jun 3 16:54:21 UTC 2020


    Date: Wednesday, June 3, 2020 @ 16:54:19
  Author: felixonmars
Revision: 638337

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-session-shell/repos/community-testing-x86_64/
  deepin-session-shell/repos/community-testing-x86_64/PKGBUILD
    (from rev 638336, deepin-session-shell/trunk/PKGBUILD)

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

Copied: deepin-session-shell/repos/community-testing-x86_64/PKGBUILD (from rev 638336, deepin-session-shell/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-06-03 16:54:19 UTC (rev 638337)
@@ -0,0 +1,38 @@
+# 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-session-shell
+pkgver=5.1.0.1
+pkgrel=1
+pkgdesc='Deepin desktop-environment - session-shell module'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-session-shell"
+license=('GPL3')
+depends=('deepin-daemon' 'deepin-qt5integration' 'gsettings-qt' 'liblightdm-qt5' 'startdde')
+makedepends=('cmake' 'qt5-tools')
+conflicts=('deepin-session-ui<5')
+provides=('lightdm-deepin-greeter')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-session-shell/archive/$pkgver.tar.gz")
+sha512sums=('d328762fabb6ca491c618206adbfc1db651a229928eea1ca9e9b5e51d5432127725676c8e85da6837e5c82b959f5f5d403f80054425beab84a4830a84ca0fce1')
+
+prepare() {
+  cd dde-session-shell-$pkgver
+  sed -i '/darrowrectangle/d' CMakeLists.txt src/widgets/widgets.pri
+  sed -i 's/include "darrowrectangle.h"/include <darrowrectangle.h>/' src/widgets/errortooltip.h
+  sed -i '/#include <QFile>/a #include <QPainterPath>' src/widgets/useravatar.cpp
+}
+
+build() {
+  cd dde-session-shell-$pkgver
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd dde-session-shell-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  chmod +x "$pkgdir"/usr/bin/deepin-greeter
+}


More information about the arch-commits mailing list