[arch-commits] Commit in clutter-gtk/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Aug 9 10:25:39 UTC 2017
Date: Wednesday, August 9, 2017 @ 10:25:38
Author: heftig
Revision: 301802
1.8.4-1
Modified:
clutter-gtk/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-09 10:21:06 UTC (rev 301801)
+++ PKGBUILD 2017-08-09 10:25:38 UTC (rev 301802)
@@ -2,7 +2,7 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=clutter-gtk
-pkgver=1.8.2
+pkgver=1.8.4
pkgrel=1
pkgdesc="Clutter integration with GTK+"
arch=('i686' 'x86_64')
@@ -9,9 +9,9 @@
url="https://git.gnome.org/browse/clutter-gtk"
license=(LGPL)
depends=(clutter)
-makedepends=(gobject-introspection gtk-doc git)
-_commit=d48408a24672fa553034a0b3749bee930ad7c49d
-source=("git://git.gnome.org/clutter-gtk#commit=$_commit")
+makedepends=(gobject-introspection gtk-doc git meson)
+_commit=77483ba46384adde76f6c4599eae77eeec852c56 # tags/1.8.4^0
+source=("git+https://git.gnome.org/browse/clutter-gtk#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
@@ -20,21 +20,18 @@
}
prepare() {
+ mkdir build
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname
- ./configure --prefix=/usr --enable-gtk-doc
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=655517
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
+ cd build
+ meson --prefix=/usr --buildtype=release ../$pkgname \
+ -Denable_docs=true
+ ninja
}
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list