2012-10-23 07:32:52 +02:00
|
|
|
# Template file for 'wayland'.
|
|
|
|
pkgname=wayland
|
2013-08-23 11:06:33 +02:00
|
|
|
version=1.2.1
|
2013-07-14 09:28:47 +02:00
|
|
|
revision=1
|
2012-10-23 07:32:52 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-documentation --disable-static"
|
2013-04-06 11:37:00 +02:00
|
|
|
hostmakedepends="pkg-config flex"
|
2013-04-09 01:49:27 +02:00
|
|
|
makedepends="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"
|
2013-08-23 11:06:33 +02:00
|
|
|
checksum=78062e2b081731d96de6a514a91322ad6e7cf6cacfa9c32997bbb3ad6e7f166f
|
2013-04-12 19:13:19 +02:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-05-15 11:16:34 +02:00
|
|
|
hostmakedepends+=" automake libtool wayland-devel"
|
2013-04-12 19:13:19 +02:00
|
|
|
makedepends+=" libfl-devel"
|
2013-05-15 11:16:34 +02: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 19:13:19 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
wayland-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-05-15 11:16:34 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 19:13:19 +02:00
|
|
|
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"
|
2013-04-12 19:13:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
wayland_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|