### this file is sourced not run
PKGVER=1.20.0
PKGBUILD=1
PKGARCH=x86_64

# Post BLFS 11: 2021-12-22
TARBALL=wayland-$PKGVER.tar.xz
MD5SUM=5095264157bf0565b921ceaf9d698d98
SRC_URL=https://wayland.freedesktop.org/releases/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="libwayland: libwayland $PKGVER (Wayland client library)
libwayland: 
libwayland: Wayland is the protocol for the next-generation display server, 
libwayland: replacing the venerable X11. This library is required by both Wayland 
libwayland: server and clients.
libwayland: 
libwayland: https://wayland.freedesktop.org/
libwayland: 
libwayland: 
libwayland: 
libwayland: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	MESONFLAGS="$MESONFLAGS --prefix=/usr \
		--buildtype=release  \
		-Ddocumentation=false" # this depends on graphviz, so we build it separately later.

	pkg_build_meson &&
	pkg_build_slackdesc &&
	rm -rf /var # remove the fontconfig stuff leftover from making the doc
}


