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

Sébastien Luttringer seblu at archlinux.org
Thu Mar 28 12:20:11 UTC 2019


    Date: Thursday, March 28, 2019 @ 12:20:11
  Author: seblu
Revision: 445267

Move to meson/ninja

Modified:
  weston/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-28 12:18:54 UTC (rev 445266)
+++ PKGBUILD	2019-03-28 12:20:11 UTC (rev 445267)
@@ -2,7 +2,7 @@
 # Contributor: Joel Teichroeb <joel at teichroeb.net>
 
 pkgname=weston
-pkgver=5.0.0
+pkgver=6.0.0
 pkgrel=1
 pkgdesc='Reference implementation of a Wayland compositor'
 arch=('x86_64')
@@ -11,31 +11,24 @@
 depends=('glibc' 'wayland' 'libxkbcommon' 'libinput' 'libunwind' 'pixman'
          'libdrm' 'pam' 'systemd-libs' 'cairo' 'libpng' 'libjpeg-turbo' 'libwebp'
          'mesa' 'libegl' 'libgles' 'glib2' 'pango' 'lcms2' 'mtdev' 'libx11'
-         'libxcb' 'dbus' 'libva' 'libxcursor' 'colord')
-makedepends=('wayland-protocols')
+         'libxcb' 'dbus' 'libva' 'libxcursor' 'colord' 'freerdp')
+makedepends=('wayland-protocols' 'meson' 'ninja')
 validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
               'C0066D7DB8E9AC6844D728715E54498E697F11D7') # Derek Foreman
 source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
-md5sums=('752a04ce3c65af4884cfac4e57231bdb'
+md5sums=('7c634e262f8a464a076c97fd50ad36b3'
          'SKIP')
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure \
-    --prefix=/usr \
-    --libexecdir=/usr/lib/weston \
-    --enable-systemd-login \
-    --enable-systemd-notify \
-    --enable-xwayland \
-    --enable-demo-clients-install
-  make
+  meson $pkgname-$pkgver build \
+    --prefix=/usr -Dsimple-dmabuf-drm=auto
+  ninja -C build
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
   # license
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list