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

Antonio Rojas arojas at archlinux.org
Wed Sep 9 11:22:10 UTC 2020


    Date: Wednesday, September 9, 2020 @ 11:22:09
  Author: arojas
Revision: 701581

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-session-ui/repos/community-staging-x86_64/
  deepin-session-ui/repos/community-staging-x86_64/PKGBUILD
    (from rev 701580, deepin-session-ui/trunk/PKGBUILD)

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

Copied: deepin-session-ui/repos/community-staging-x86_64/PKGBUILD (from rev 701580, deepin-session-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-09-09 11:22:09 UTC (rev 701581)
@@ -0,0 +1,40 @@
+# 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-ui
+pkgver=5.3.0.10
+pkgrel=2
+pkgdesc='Deepin desktop-environment - Session UI module'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-session-ui"
+license=('GPL3')
+groups=('deepin')
+depends=('gsettings-qt' 'deepin-qt5integration' 'liblightdm-qt5' 'qt5-svg' 'deepin-daemon'
+         'deepin-control-center' 'deepin-wallpapers')
+makedepends=('deepin-gettext-tools' 'qt5-tools')
+provides=('deepin-notifications')
+conflicts=('dde-workspace' 'dde-session-ui' 'deepin-notifications')
+replaces=('dde-workspace' 'dde-session-ui' 'deepin-notifications')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-session-ui/archive/$pkgver.tar.gz")
+sha512sums=('956d2dccb485b1a6bb2f4cfdef982cda98c313bf0a670a2ab0cb4cc83e39687db67d8ea94e4fc87d96f42a471262a4eb88bf3eca43beac4b0f5b9724998b9f9f')
+
+prepare() {
+  cd dde-session-ui-$pkgver
+  sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|' widgets/*.cpp
+
+  # Well this is so broken
+  # https://github.com/linuxdeepin/dde-session-ui/issues/170
+  sed -i '7s/dtkwidget$/dtkwidget testlib/' dde-osd/dde-osd.pro
+}
+
+build() {
+  cd dde-session-ui-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd dde-session-ui-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}


More information about the arch-commits mailing list