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

Jan Steffens heftig at archlinux.org
Thu Jun 27 18:52:03 UTC 2019


    Date: Thursday, June 27, 2019 @ 18:52:03
  Author: heftig
Revision: 356981

0.2.0-1

Modified:
  colord-gtk/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-27 18:04:06 UTC (rev 356980)
+++ PKGBUILD	2019-06-27 18:52:03 UTC (rev 356981)
@@ -2,16 +2,16 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=colord-gtk
-pkgver=0.1.26+5+ga9d9c91
-pkgrel=2
+pkgver=0.2.0
+pkgrel=1
 pkgdesc="Additional GTK support code for colord"
 arch=(x86_64)
 url="https://www.freedesktop.org/software/colord/"
 license=(GPL2)
 depends=(lcms2 gtk3 colord)
-makedepends=(intltool gobject-introspection vala gtk-doc git
-             docbook-utils docbook-sgml perl-sgmls)
-_commit=a9d9c91cdbe7866d15ba3e01dff03bcfe0b352c6  # master
+makedepends=(gobject-introspection vala gtk-doc git docbook-utils docbook-xsl
+             meson)
+_commit=f74545cfce2a996840b9a6964f227dfd3cf0173d  # tags/COLORD_GTK_0_2_0^0
 source=("git+https://github.com/hughsie/colord-gtk#commit=$_commit")
 sha1sums=('SKIP')
 validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
@@ -23,22 +23,15 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd "$pkgname"
-  ./configure --prefix=/usr \
-    --sysconfdir=/etc --libexecdir=/usr/lib/colord \
-    --localstatedir=/var --disable-static --enable-vala \
-    --enable-gtk-doc
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build -D vapi=true
+  ninja -C build
 }
 
 package() {
-  cd "$pkgname"
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list