some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
36 lines
967 B
Bash
36 lines
967 B
Bash
# Template file for 'wayland'
|
|
pkgname=wayland
|
|
version=1.17.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-documentation --disable-static"
|
|
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=72aa11b8ac6e22f4777302c9251e8fec7655dc22f9d94ee676c6b276f95f91a4
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" wayland-devel"
|
|
configure_args+=" --with-host-scanner"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|