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

Maxime Gauduin alucryd at archlinux.org
Fri Aug 25 14:43:06 UTC 2017


    Date: Friday, August 25, 2017 @ 14:43:05
  Author: alucryd
Revision: 253377

upgpkg: lib32-colord 1.4.1-1

Modified:
  lib32-colord/trunk/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++------------------
 1 file changed, 25 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-25 14:27:02 UTC (rev 253376)
+++ PKGBUILD	2017-08-25 14:43:05 UTC (rev 253377)
@@ -6,7 +6,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=lib32-colord
-pkgver=1.3.5
+pkgver=1.4.1
 pkgrel=1
 pkgdesc='System daemon for managing color devices'
 arch=('x86_64')
@@ -14,39 +14,46 @@
 license=('GPL2')
 depends=('colord' 'lib32-dconf' 'lib32-libgudev' 'lib32-libgusb' 'lib32-lcms2'
          'lib32-polkit' 'lib32-sqlite')
-makedepends=('argyllcms' 'gcc-multilib' 'gobject-introspection' 'gnome-common'
-             'intltool' 'python2' 'sane' 'vala')
+makedepends=('argyllcms' 'gcc-multilib' 'gobject-introspection' 'intltool'
+             'meson' 'python2' 'sane' 'vala')
 source=("https://www.freedesktop.org/software/colord/releases/colord-${pkgver}.tar.xz")
-sha256sums=('2daa8ffd2a532d7094927cd1a4af595b8310cea66f7707edcf6ab743460feed2')
+sha256sums=('2b068fc8298265a7a3b68e7516c7a263394cff57579af0d1c0fb6b7429230555')
 
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
 build() {
-  cd colord-${pkgver}
+  cd build
 
   export CC='gcc -m32'
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
-  ./configure \
+  meson setup ../colord-${pkgver} \
+    --buildtype='release' \
     --prefix='/usr' \
     --libdir='/usr/lib32' \
     --libexecdir='/usr/lib32/colord' \
     --localstatedir='/var' \
-    --sysconfdir='/etc' \
-    --enable-libcolordcompat \
-    --enable-vala \
-    --disable-bash-completion \
-    --disable-sane \
-    --disable-static \
-    --with-daemon-user='colord' \
-    --with-systemdsystemunitdir='/usr/lib/systemd/system'
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  PATH="${srcdir}/path:$PATH" make
+    -Denable-bash-completion='false' \
+    -Denable-docs='false' \
+    -Denable-libcolordcompat='true' \
+    -Denable-man='false' \
+    -Denable-systemd='false' \
+    -Denable-tests='false' \
+    -Denable-vala='true' \
+    -Dwith-daemon-user='colord'
+  ninja
 }
 
 package() {
-  cd colord-${pkgver}
+  cd build
 
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja install
   rm -rf "${pkgdir}"/{etc,var,usr/{bin,include,lib,share}}
 }
 



More information about the arch-commits mailing list