38 lines
919 B
Bash
38 lines
919 B
Bash
# Template file for 'wayland'
|
|
pkgname=wayland
|
|
version=1.18.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Ddocumentation=false"
|
|
hostmakedepends="flex pkg-config"
|
|
makedepends="expat-devel libffi-devel libfl-devel libxml2-devel"
|
|
short_desc="Wayland protocol compositor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://wayland.freedesktop.org/"
|
|
distfiles="https://wayland.freedesktop.org/releases/wayland-${version}.tar.xz"
|
|
checksum=4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d
|
|
|
|
CFLAGS="-UNDEBUG"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" wayland-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
wayland-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove usr/share/aclocal
|
|
vmove usr/share/wayland
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|