# Template file for 'wayland'. pkgname=wayland version=1.5.0 revision=1 build_style=gnu-configure configure_args="--disable-documentation --disable-static" hostmakedepends="pkg-config flex" makedepends="libfl-devel libffi-devel expat-devel" short_desc="Wayland protocol compositor" maintainer="Juan RP " homepage="http://wayland.freedesktop.org/" license="MIT" distfiles="http://wayland.freedesktop.org/releases/wayland-${version}.tar.xz" checksum=0069e1e9af888b3e05384380ad8cc6c976ea3e81d08ba19b7675ce1d693a41b5 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" libtool wayland-devel" pre_configure() { libtoolize -f } post_configure() { # Use host wayland-scanner sed -e 's,$(AM_V_GEN)$(wayland_scanner),wayland-scanner,g' -i src/Makefile.in } fi wayland-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/bin vmove usr/include vmove usr/share vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } }