weston: fix rpi cross build.

This commit is contained in:
Juan RP 2013-08-24 08:56:19 +02:00
parent 914ddb88d8
commit 02c2fc9eee

View file

@ -3,7 +3,6 @@ pkgname=weston
version=1.2.1 version=1.2.1
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-cairo-glesv2"
short_desc="Reference implementation of a Wayland compositor" short_desc="Reference implementation of a Wayland compositor"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wayland.freedesktop.org/" homepage="http://wayland.freedesktop.org/"
@ -30,10 +29,14 @@ armv6l) # Assume RPi for now.
;; ;;
x86_64|i686) x86_64|i686)
makedepends+=" libXcursor-devel colord-devel glu-devel" makedepends+=" libXcursor-devel colord-devel glu-devel"
configure_args+=" --enable-demo-clients" configure_args+=" --with-cairo-glesv2 --enable-demo-clients"
;; ;;
esac esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wayland-devel"
fi
post_install() { post_install() {
vinstall COPYING 644 usr/share/license/$pkgname vinstall COPYING 644 usr/share/license/$pkgname
# Remove development files. # Remove development files.