void-packages/srcpkgs/weston/template

37 lines
1.2 KiB
Text

# Template file for 'weston'.
pkgname=weston
version=1.1.1
revision=2
build_style=gnu-configure
configure_args="--with-cairo-glesv2"
short_desc="Reference implementation of a Wayland compositor"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wayland.freedesktop.org/"
license="MIT"
distfiles="http://wayland.freedesktop.org/releases/${pkgname}-${version}.tar.xz"
checksum=87e1cbbd1a722019ba258d1893c583d96699289196309c93026ae591a2c1f02e
hostmakedepends="pkg-config"
makedepends="libpng-devel>=1.6 wayland-devel>=1.1.0 libxkbcommon-devel
libxcb-devel>=1.9.1 xcb-util-keysyms-devel pixman-devel libXcursor-devel
cairo-devel>=1.12.14_5 mtdev-devel libwebp-devel poppler-glib-devel pam-devel
systemd-devel librsvg glu-devel libunwind-devel MesaLib-devel>=9.0.1_6"
post_install() {
vinstall COPYING 644 usr/share/license/$pkgname
for f in clickdot cliptest dnd eventdemo flower image \
resizor simple-egl simple-shm smoke view; do
vinstall clients/$f 755 usr/bin weston-$f
done
# Remove development files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}
weston_package() {
# cairo built with gles2 option.
depends="wayland>=1.1.0 cairo>=1.12.14_5"
pkg_install() {
vmove all
}
}