37 lines
970 B
Bash
37 lines
970 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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
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"
|
|
}
|
|
}
|