[arch-commits] Commit in deepin-mutter/trunk (PKGBUILD)

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


    Date: Friday, September 13, 2019 @ 22:36:36
  Author: heftig
Revision: 510427

3.20.38-2

Modified:
  deepin-mutter/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-13 22:34:45 UTC (rev 510426)
+++ PKGBUILD	2019-09-13 22:36:36 UTC (rev 510427)
@@ -4,7 +4,7 @@
 
 pkgname=deepin-mutter
 pkgver=3.20.38
-pkgrel=1
+pkgrel=2
 pkgdesc="Base window manager for deepin, fork of gnome mutter"
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-mutter"
@@ -17,6 +17,11 @@
 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 \
@@ -30,6 +35,7 @@
     --disable-static \
     --disable-schemas-compile \
     --enable-compile-warnings=minimum
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 


More information about the arch-commits mailing list