[arch-commits] Commit in startdde/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue May 18 16:48:34 UTC 2021
Date: Tuesday, May 18, 2021 @ 16:48:34
Author: felixonmars
Revision: 936273
archrelease: copy trunk to community-testing-x86_64
Added:
startdde/repos/community-testing-x86_64/
startdde/repos/community-testing-x86_64/PKGBUILD
(from rev 936272, startdde/trunk/PKGBUILD)
startdde/repos/community-testing-x86_64/schema.patch
(from rev 936272, startdde/trunk/schema.patch)
--------------+
PKGBUILD | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
schema.patch | 20 +++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: startdde/repos/community-testing-x86_64/PKGBUILD (from rev 936272, startdde/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-05-18 16:48:34 UTC (rev 936273)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=startdde
+pkgver=5.8.9
+pkgrel=1
+pkgdesc="starter of deepin desktop environment"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/startdde"
+license=('GPL3')
+depends=('deepin-daemon' 'deepin-dock' 'deepin-polkit-agent' 'deepin-file-manager'
+ 'deepin-session-shell' 'deepin-session-ui' 'libgnome-keyring')
+makedepends=('cmake' 'coffeescript' 'golang-github-linuxdeepin-go-dbus-factory' 'golang-deepin-gir'
+ 'golang-deepin-lib' 'golang-deepin-dde-api' 'go' 'git' 'jq'
+ 'golang-golang-x-net' 'golang-github-linuxdeepin-go-x11-client')
+optdepends=('deepin-wm: Legacy 3D window manager'
+ 'deepin-metacity: Legacy 2D window manager'
+ 'deepin-kwin: Preferred window manager')
+replaces=('deepin-wm-switcher')
+groups=('deepin')
+source=("https://github.com/linuxdeepin/startdde/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ schema.patch)
+sha512sums=('afa1c26fb09c64d729273c1ee6d8901f127b83562d4f1902d2ef06c7b0beb3266b9adc7db1fe1dac737788409236b55eca758a92b0922125183b124411dac877'
+ '8f0a34a273de5ad784684a8bea349363d768a64ce574621b07537af3055baa60c6d645f75e20575ed8978a03e31992b9dc6f66939b29c8d4331964ac9a1f72eb')
+
+export GO111MODULE=off
+
+prepare() {
+ patch -d startdde-$pkgver -p2 < schema.patch
+
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ go get github.com/cryptix/wav golang.org/x/xerrors github.com/godbus/dbus github.com/fsnotify/fsnotify
+
+ sed -i 's/sbin/bin/' startdde-$pkgver/Makefile
+}
+
+build() {
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+ cd startdde-$pkgver
+ make
+}
+
+package() {
+ cd startdde-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # Fix env file permission
+ chmod +x "$pkgdir"/etc/X11/Xsession.d/*
+
+ # Don't rely on deepin-session's location
+ install -dm755 "$pkgdir"/etc/X11/xinit/xinitrc.d
+ mv "$pkgdir"/etc/X11/Xsession.d/* "$pkgdir"/etc/X11/xinit/xinitrc.d/
+ rmdir "$pkgdir"/etc/X11/Xsession.d
+}
Copied: startdde/repos/community-testing-x86_64/schema.patch (from rev 936272, startdde/trunk/schema.patch)
===================================================================
--- community-testing-x86_64/schema.patch (rev 0)
+++ community-testing-x86_64/schema.patch 2021-05-18 16:48:34 UTC (rev 936273)
@@ -0,0 +1,20 @@
+--- src/startdde-5.8.7/misc/schemas/com.deepin.dde.startdde.gschema.xml.orig 2021-04-27 06:50:57.106648182 +0800
++++ src/startdde-5.8.7/misc/schemas/com.deepin.dde.startdde.gschema.xml 2021-04-27 06:51:08.183279539 +0800
+@@ -7,7 +7,7 @@
+ <description>The delay seconds for autostart</description>
+ </key>
+ <key type="s" name="wm-cmd">
+- <default>''</default>
++ <default>'deepin-wm'</default>
+ <summary>The window manager start command</summary>
+ <description>This key will special window manager at startdde startup. If empty, using deepin-wm.</description>
+ </key>
+@@ -18,7 +18,7 @@
+ </key>
+
+ <key type="b" name="swap-sched-enabled">
+- <default>true</default>
++ <default>false</default>
+ <summary>swap sched enabled</summary>
+ <description></description>
+ </key>
More information about the arch-commits
mailing list