[arch-commits] Commit in weston/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Thu Mar 28 14:01:38 UTC 2019
Date: Thursday, March 28, 2019 @ 14:01:37
Author: seblu
Revision: 445348
archrelease: copy trunk to community-x86_64
Added:
weston/repos/community-x86_64/PKGBUILD
(from rev 445347, weston/trunk/PKGBUILD)
Deleted:
weston/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 49 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-28 14:01:30 UTC (rev 445347)
+++ PKGBUILD 2019-03-28 14:01:37 UTC (rev 445348)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: Joel Teichroeb <joel at teichroeb.net>
-
-pkgname=weston
-pkgver=5.0.0
-pkgrel=1
-pkgdesc='Reference implementation of a Wayland compositor'
-arch=('x86_64')
-url='https://wayland.freedesktop.org/'
-license=('MIT')
-depends=('glibc' 'wayland' 'libxkbcommon' 'libinput' 'libunwind' 'pixman'
- 'libdrm' 'pam' 'libsystemd' 'cairo' 'libpng' 'libjpeg-turbo' 'libwebp'
- 'mesa' 'libegl' 'libgles' 'glib2' 'pango' 'lcms2' 'mtdev' 'libx11'
- 'libxcb' 'dbus' 'libva' 'libxcursor' 'colord')
-makedepends=('wayland-protocols')
-validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
- 'C0066D7DB8E9AC6844D728715E54498E697F11D7') # Derek Foreman
-source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
-md5sums=('752a04ce3c65af4884cfac4e57231bdb'
- '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
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- # license
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: weston/repos/community-x86_64/PKGBUILD (from rev 445347, weston/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-28 14:01:37 UTC (rev 445348)
@@ -0,0 +1,49 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Joel Teichroeb <joel at teichroeb.net>
+
+pkgname=weston
+pkgver=6.0.0
+pkgrel=1
+pkgdesc='Reference implementation of a Wayland compositor'
+arch=('x86_64')
+url='https://wayland.freedesktop.org/'
+license=('MIT')
+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' 'freerdp')
+makedepends=('wayland-protocols' 'meson' 'ninja')
+validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
+ 'C0066D7DB8E9AC6844D728715E54498E697F11D7') # Derek Foreman
+source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig}
+ "https://gitlab.freedesktop.org/wayland/weston/commit/cbffca980b19fd6a6de14d9f2b4dca6a7711d9e0.patch")
+md5sums=('7c634e262f8a464a076c97fd50ad36b3'
+ 'SKIP'
+ '58467d89c63213af991d29035882d376')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local src
+ for src in "${source[@]}"; do
+ src="${src%%::*}"
+ src="${src##*/}"
+ [[ $src = *.patch ]] || continue
+ msg2 "Applying patch $src..."
+ patch -Np1 < "../$src"
+ done
+}
+
+build() {
+ meson $pkgname-$pkgver build \
+ --prefix=/usr --libexec=lib/weston -Dsimple-dmabuf-drm=auto
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ # license
+ 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