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

Jan Steffens heftig at archlinux.org
Fri Sep 13 22:38:46 UTC 2019


    Date: Friday, September 13, 2019 @ 22:38:45
  Author: heftig
Revision: 510430

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: deepin-mutter/repos/community-staging-x86_64/PKGBUILD (from rev 510428, deepin-mutter/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-09-13 22:38:45 UTC (rev 510430)
@@ -0,0 +1,45 @@
+# 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-mutter
+pkgver=3.20.38
+pkgrel=2
+pkgdesc="Base window manager for deepin, fork of gnome mutter"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-mutter"
+license=('GPL3')
+depends=('deepin-clutter' 'dconf' 'gobject-introspection-runtime' 'deepin-desktop-schemas'
+         'libcanberra' 'startup-notification' 'zenity' 'libsm' 'gnome-desktop' 'upower'
+         'libxkbcommon-x11' 'libgudev' 'deepin-cogl')
+makedepends=('gnome-common' 'gnome-doc-utils' 'gobject-introspection' 'gtk-doc' 'intltool')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-mutter/archive/$pkgver.tar.gz")
+sha512sums=('19aa7c56bfde874ba58622c8c6928999020dcfce9dc30d7982ea53ef4d91f06ec90ed605d6ff4eaa6bd81181c52e8d5e693a4f4aecd9e790c3bc5d34464e6cce')
+
+prepare() {
+  cd deepin-mutter-$pkgver
+  sed -i '/SCANNERFLAGS/s/ --warn-error//' src/Makefile.am
+}
+
+build() {
+  cd deepin-mutter-$pkgver
+  ./autogen.sh \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/deepin-mutter \
+    --localstatedir=/var \
+    --enable-gtk-doc \
+    --enable-wayland \
+    --enable-native-backend \
+    --disable-static \
+    --disable-schemas-compile \
+    --enable-compile-warnings=minimum
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd deepin-mutter-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list