Skip to content
Snippets Groups Projects
Commit 4f5b2bb0 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

upgpkg: 6.0.0-2

parent f44d9985
No related branches found
No related tags found
No related merge requests found
......@@ -4,44 +4,48 @@
# Contributor: Joel Teichroeb <joel@teichroeb.net>
pkgname=weston
pkgver=5.0.0
pkgver=6.0.0
pkgrel=2
pkgdesc='Reference implementation of a Wayland compositor'
arch=(x86_64)
arch=('x86_64')
url='https://wayland.freedesktop.org/'
license=('MIT')
depends=('glibc' 'wayland' 'libxkbcommon' 'libinput' 'libunwind' 'pixman'
'libdrm' 'pam' 'cairo' 'libpng' 'libjpeg-turbo' 'libwebp'
'mesa' 'libegl' 'libgles' 'glib2' 'pango' 'lcms2' 'mtdev' 'libx11'
'libxcb' 'dbus' 'libva' 'libxcursor' 'colord')
makedepends=('wayland-protocols')
source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz")
sha1sums=('56b42b1fbea9e120a8127736328e4c71ac781a57')
validpgpkeys=('6DD4217456569BA711566AC7F06E8FDE7B45DAAC') # Eric Vidal
'libxcb' 'dbus' 'libva' 'libxcursor' 'colord' 'freerdp')
makedepends=('wayland-protocols' 'meson' 'ninja')
source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
"https://gitlab.freedesktop.org/wayland/weston/commit/cbffca980b19fd6a6de14d9f2b4dca6a7711d9e0.patch")
md5sums=('7c634e262f8a464a076c97fd50ad36b3'
'58467d89c63213af991d29035882d376')
build() {
prepare() {
cd $pkgname-$pkgver
./configure \
# 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 \
--libexecdir=/usr/lib/weston \
--enable-xwayland \
--enable-demo-clients-install \
--enable-weston-launch \
--enable-clients \
--enable-fbdev-compositor \
--enable-drm-compositor \
--enable-x11-compositor \
--disable-setuid-install \
--disable-systemd-notify \
--disable-systemd-login
make
--libexec=lib/weston \
-Dsimple-dmabuf-drm=auto \
-Dsystemd=false \
-Dlauncher-logind=false
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:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment