Commit 4572b44f authored by Michał Polański's avatar Michał Polański
Browse files

main/wayland-protocols: upgrade to 1.21

and switch the build system to meson
parent e732678d
Pipeline #80675 failed with stages
in 2 minutes and 16 seconds
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=wayland-protocols
pkgver=1.20
pkgver=1.21
pkgrel=0
pkgdesc="Protocols and protocol extensions complementing the Wayland core protocol"
url="https://wayland.freedesktop.org"
arch="noarch"
license="MIT"
provides="$pkgname-dev"
makedepends="wayland-dev"
makedepends="meson wayland-dev"
source="https://wayland.freedesktop.org/releases/wayland-protocols-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-noarch-pkgconfigdir=/usr/lib/pkgconfig
make
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
make -C "$builddir" check
meson test --no-rebuild -v -C output
}
package() {
make -C "$builddir" DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="d13f65d03add2c39cc32bf6bda0e981e9f52504bf8505fceea045c8baeb73bea64fa4edb99cb837677fbab1b5b3023054adff36fac127e819690f366b81c4977 wayland-protocols-1.20.tar.xz"
sha512sums="
40133ba36d4201de9626e9869ebdf2d4f7ad06904d6a747d5af87958a08368abdc65be3acc21b8959d0c5ec37d47051ba5b81d3844079fe237dac81a7291bbb8 wayland-protocols-1.21.tar.xz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment