2012-11-20 14:27:26 +01:00
|
|
|
# Template file for 'weston'.
|
|
|
|
pkgname=weston
|
2013-04-27 05:27:59 +02:00
|
|
|
version=1.1.0
|
2013-04-30 12:02:03 +02:00
|
|
|
revision=2
|
2012-11-20 14:27:26 +01:00
|
|
|
build_style=gnu-configure
|
2013-04-06 11:40:02 +02:00
|
|
|
configure_args="--with-cairo-glesv2"
|
2012-11-20 14:27:26 +01:00
|
|
|
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"
|
2013-04-27 05:27:59 +02:00
|
|
|
checksum=e7715d2c731f77a729c994a599ffdaebac1307b2dd9336136706869fa53618b4
|
2013-04-06 11:40:02 +02:00
|
|
|
|
2012-11-20 14:27:26 +01:00
|
|
|
# XXX xcb-xkb.pc
|
2013-04-30 12:02:03 +02:00
|
|
|
makedepends="pkg-config libpng-devel>=1.6 wayland-devel>=${version} libxkbcommon-devel
|
2013-01-08 11:08:21 +01:00
|
|
|
xcb-util-keysyms-devel pixman-devel libXcursor-devel MesaLib-devel>=9.0.1_6
|
2013-04-06 11:40:02 +02:00
|
|
|
cairo-devel>=1.12.14_5 mtdev-devel libwebp-devel poppler-glib-devel pam-devel
|
2013-04-27 05:27:59 +02:00
|
|
|
systemd-devel librsvg glu-devel libunwind-devel"
|
2013-02-15 14:28:31 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/license/$pkgname
|
2013-04-27 05:27:59 +02:00
|
|
|
for f in clickdot cliptest dnd eventdemo flower image \
|
|
|
|
resizor simple-egl simple-shm smoke view; do
|
2013-02-15 14:28:31 +01:00
|
|
|
vinstall clients/$f 755 usr/bin weston-$f
|
|
|
|
done
|
|
|
|
}
|
2013-04-14 17:36:49 +02:00
|
|
|
|
|
|
|
weston_package() {
|
|
|
|
# cairo built with gles2 option.
|
|
|
|
depends="wayland>=${version} cairo>=1.12.14_5"
|
|
|
|
pkg_install() {
|
2013-04-27 05:27:59 +02:00
|
|
|
vmove all
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|