2012-10-23 05:32:52 +00:00
|
|
|
# Template file for 'wayland'.
|
|
|
|
pkgname=wayland
|
2013-04-27 03:16:32 +00:00
|
|
|
version=1.1.0
|
2013-05-15 09:16:34 +00:00
|
|
|
revision=2
|
2012-10-23 05:32:52 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-documentation --disable-static"
|
2013-04-06 09:37:00 +00:00
|
|
|
hostmakedepends="pkg-config flex"
|
2013-04-08 23:49:27 +00:00
|
|
|
makedepends="libffi-devel expat-devel"
|
2012-10-23 05:32:52 +00: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"
|
2013-04-27 03:16:32 +00:00
|
|
|
checksum=2ef587cf1a0e52b6dee44eeb9c288110e8180819abf4e419d247dfe234867a5c
|
2013-04-12 17:13:19 +00:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-05-15 09:16:34 +00:00
|
|
|
hostmakedepends+=" automake libtool wayland-devel"
|
2013-04-12 17:13:19 +00:00
|
|
|
makedepends+=" libfl-devel"
|
2013-05-15 09:16:34 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
post_configure() {
|
|
|
|
# Use host wayland-scanner
|
|
|
|
sed -e 's,$(AM_V_GEN)$(wayland_scanner),wayland-scanner,g' -i src/Makefile.in
|
|
|
|
}
|
2013-04-12 17:13:19 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
wayland-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-05-15 09:16:34 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 17:13:19 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
wayland_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|