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

Morten Linderud foxboron at archlinux.org
Thu Apr 1 15:23:48 UTC 2021


    Date: Thursday, April 1, 2021 @ 15:23:47
  Author: foxboron
Revision: 910854

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-wm/repos/community-staging-x86_64/
  deepin-wm/repos/community-staging-x86_64/PKGBUILD
    (from rev 910853, deepin-wm/trunk/PKGBUILD)

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

Copied: deepin-wm/repos/community-staging-x86_64/PKGBUILD (from rev 910853, deepin-wm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-04-01 15:23:47 UTC (rev 910854)
@@ -0,0 +1,49 @@
+# 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-wm
+pkgver=1.9.38
+pkgrel=6
+pkgdesc='Deepin Window Manager'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-wm"
+license=('GPL3')
+groups=('deepin')
+depends=('bamf' 'clutter-gtk' 'deepin-desktop-schemas' 'deepin-menu' 'granite' 'deepin-mutter'
+         'gnome-desktop' 'libgee')
+makedepends=('gnome-common' 'intltool' 'vala')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-wm/archive/$pkgver.tar.gz"
+        vala.patch::https://github.com/linuxdeepin/deepin-wm/pull/65.patch)
+sha512sums=('3eb4e47856611e0dc257ab079eff3166ed643aa8b55686519c917c3184cd5f238d01c3c8960d715a81264ff1337aa5d7c809a6559eab82e9decb1b9b8a33917d'
+            '7cdfbbd0b42f8a132565d9e0187c821707d85fddc7664fc3f3cf48b292772289867fac72e0c3f8d55b20c143a220e0523ba01332fa18fba1bea543e5cc8aa97e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../vala.patch
+
+  # Newer vala again
+  sed -e 's/background.set_rounds/background.value.set_rounds/' \
+      -e 's/background.set_blurred/background.value.set_blurred/' \
+      -e 's/background.set_radius/background.value.set_radius/' \
+      -e 's/bg.set_transient_background/bg.value.set_transient_background/' \
+      -i src/WindowManager.vala
+
+  sed -i 's#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#' src/Background/BackgroundSource.vala
+}
+
+build() {
+  export CFLAGS="$CFLAGS -DWNCK_I_KNOW_THIS_IS_UNSTABLE"
+
+  cd $pkgname-$pkgver
+  ./autogen.sh \
+    --prefix='/usr' \
+    --disable-schemas-compile
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list