weston: update to 1.5.0.

This commit is contained in:
Juan RP 2014-05-21 08:16:51 +02:00
parent 9c031e0864
commit d7729fa73f

View file

@ -1,30 +1,36 @@
# Template file for 'weston'.
pkgname=weston
version=1.4.0
revision=6
version=1.5.0
revision=1
build_style=gnu-configure
configure_args="--enable-screen-sharing --enable-libinput-backend"
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=74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64
checksum=06388ba04ac79aa72d685cc1a8e646ddb2b8cfe11fcc742294f9addac48b7684
hostmakedepends="pkg-config wayland-devel>=${version}"
makedepends="libpng-devel>=1.6 wayland-devel>=${version} libxkbcommon-devel
pixman-devel pango-devel cairo-devel>=1.12.14_5 mtdev-devel libwebp-devel>=0.4.0
poppler-glib-devel pam-devel lcms2-devel libudev-devel libdrm-devel"
poppler-glib-devel pam-devel lcms2-devel libudev-devel libdrm-devel libinput-devel"
# cairo built with gles2 option.
depends="cairo>=1.12.14_5"
lib32disabled=yes
# Package build options
build_options="backtrace colord dbus systemd vaapi x11"
build_options_default="dbus systemd"
build_options_default="backtrace colord dbus systemd x11"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
build_options_default+=" vaapi"
fi
desc_option_backtrace="Enable support for backtraces via libunwind"
desc_option_colord="Enable support for colord"
desc_option_dbus="Enable support for D-BUS"
desc_option_rdp="Enable support for the RDP compositor"
desc_option_systemd="Enable support for systemd"
desc_option_vaapi="Enable support for VA-API H.264 recording"
desc_option_x11="Enable support for X11 (xwayland)"
@ -50,6 +56,13 @@ else
configure_args+=" --disable-dbus"
fi
if [ "$build_option_rdp" ]; then
configure_args+=" --enable-rdp-compositor"
makedepends+=" freerdp-devel"
else
configure_args+=" --disable-rdp-compositor"
fi
if [ "$build_option_systemd" ]; then
makedepends+=" systemd-devel"
fi
@ -73,11 +86,10 @@ armv6l) # Assume RPi for now.
CFLAGS="-I${XBPS_CROSS_BASE}/opt/vc/include"
makedepends+=" rpi-firmware rpi-firmware-pcfiles"
# Just enable the RPi compositor.
configure_args+=" --disable-x11-compositor --disable-drm-compositor
configure_args+=" --disable-drm-compositor
--disable-wayland-compositor --disable-simple-egl-clients
--disable-fbdev-compositor --disable-egl --disable-colord
--disable-resize-optimization --disable-xwayland-test
--disable-setuid-install --disable-xwayland
--disable-fbdev-compositor --disable-egl
--disable-setuid-install --disable-resize-optimization
--enable-weston-launch WESTON_NATIVE_BACKEND=rpi-backend.so"
;;
x86_64|i686)