2012-10-23 05:32:52 +00:00
|
|
|
# Template file for 'wayland'.
|
|
|
|
pkgname=wayland
|
2014-05-21 06:06:30 +00:00
|
|
|
version=1.5.0
|
2013-07-14 07:28:47 +00:00
|
|
|
revision=1
|
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-10-11 08:30:22 +00:00
|
|
|
makedepends="libfl-devel 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"
|
2014-05-21 06:06:30 +00:00
|
|
|
checksum=0069e1e9af888b3e05384380ad8cc6c976ea3e81d08ba19b7675ce1d693a41b5
|
2013-04-12 17:13:19 +00:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-10-11 08:30:22 +00:00
|
|
|
hostmakedepends+=" libtool wayland-devel"
|
2013-05-15 09:16:34 +00:00
|
|
|
pre_configure() {
|
2013-10-11 08:30:22 +00:00
|
|
|
libtoolize -f
|
2013-05-15 09:16:34 +00:00
|
|
|
}
|
|
|
|
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() {
|
2014-01-24 13:48:26 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
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
|
2013-07-14 07:28:47 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 17:13:19 +00:00
|
|
|
}
|
|
|
|
}
|