void-packages/srcpkgs/wayland/template

39 lines
1019 B
Plaintext
Raw Normal View History

2012-10-23 07:32:52 +02:00
# Template file for 'wayland'.
pkgname=wayland
2014-05-21 08:06:30 +02:00
version=1.5.0
revision=2
2012-10-23 07:32:52 +02:00
build_style=gnu-configure
configure_args="--disable-documentation --disable-static"
2014-06-06 06:39:45 +02:00
hostmakedepends="automake libtool pkg-config flex"
2013-10-11 10:30:22 +02:00
makedepends="libfl-devel libffi-devel expat-devel"
2012-10-23 07:32:52 +02:00
short_desc="Wayland protocol compositor"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wayland.freedesktop.org/"
license="MIT"
distfiles="http://wayland.freedesktop.org/releases/wayland-${version}.tar.xz"
2014-05-21 08:06:30 +02:00
checksum=0069e1e9af888b3e05384380ad8cc6c976ea3e81d08ba19b7675ce1d693a41b5
2014-06-06 06:39:45 +02:00
pre_configure() {
autoreconf -fi
}
if [ "$CROSS_BUILD" ]; then
2014-06-06 06:39:45 +02:00
hostmakedepends+=" wayland-devel"
2013-05-15 11:16:34 +02:00
post_configure() {
# Use host wayland-scanner
2014-05-21 08:20:57 +02:00
sed -e '/$(AM_V_GEN)/s,$(wayland_scanner),wayland-scanner,g' -i Makefile.in
2013-05-15 11:16:34 +02:00
}
fi
wayland-devel_package() {
2014-01-24 14:48:26 +01:00
depends="${sourcepkg}>=${version}_${revision}"
2013-05-15 11:16:34 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
2013-07-14 09:28:47 +02:00
vmove "usr/lib/*.so"
}
}