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

Jan de Groot jgc at archlinux.org
Thu Sep 22 22:15:09 UTC 2016


    Date: Thursday, September 22, 2016 @ 22:15:09
  Author: jgc
Revision: 276859

upgpkg: mutter 3.22.0+2+g0281570-1

Modified:
  mutter/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-22 21:56:20 UTC (rev 276858)
+++ PKGBUILD	2016-09-22 22:15:09 UTC (rev 276859)
@@ -4,23 +4,34 @@
 # Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
 
 pkgname=mutter
-pkgver=3.20.3
+pkgver=3.22.0+2+g0281570
 pkgrel=1
 pkgdesc="A window manager for GNOME"
 url="https://git.gnome.org/browse/mutter"
 arch=(i686 x86_64)
 license=(GPL)
-depends=(clutter dconf gobject-introspection-runtime gsettings-desktop-schemas
+depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas
          libcanberra startup-notification zenity libsm gnome-desktop upower
-         libxkbcommon-x11 gnome-settings-daemon libgudev)
-makedepends=(intltool gobject-introspection)
+         libxkbcommon-x11 gnome-settings-daemon libgudev libinput)
+makedepends=(intltool gobject-introspection git gnome-common)
 groups=(gnome)
 options=(!emptydirs)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('142c5271df4bde968c725ed09026173292c07b4dd7ba75f19c4b14fc363af916')
+_commit=028157081c0428bac1269078dd7f3360e3810824
+source=("git://git.gnome.org/mutter#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
 
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
       --libexecdir=/usr/lib/$pkgname --disable-static \
@@ -28,11 +39,13 @@
 
   #https://bugzilla.gnome.org/show_bug.cgi?id=655517
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' cogl/libtool
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' clutter/libtool
 
   make
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list