weston: update to 1.5.0.
This commit is contained in:
parent
9c031e0864
commit
d7729fa73f
1 changed files with 21 additions and 9 deletions
|
@ -1,30 +1,36 @@
|
||||||
# Template file for 'weston'.
|
# Template file for 'weston'.
|
||||||
pkgname=weston
|
pkgname=weston
|
||||||
version=1.4.0
|
version=1.5.0
|
||||||
revision=6
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-screen-sharing --enable-libinput-backend"
|
||||||
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/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="http://wayland.freedesktop.org/releases/${pkgname}-${version}.tar.xz"
|
distfiles="http://wayland.freedesktop.org/releases/${pkgname}-${version}.tar.xz"
|
||||||
checksum=74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64
|
checksum=06388ba04ac79aa72d685cc1a8e646ddb2b8cfe11fcc742294f9addac48b7684
|
||||||
|
|
||||||
hostmakedepends="pkg-config wayland-devel>=${version}"
|
hostmakedepends="pkg-config wayland-devel>=${version}"
|
||||||
makedepends="libpng-devel>=1.6 wayland-devel>=${version} libxkbcommon-devel
|
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
|
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.
|
# cairo built with gles2 option.
|
||||||
depends="cairo>=1.12.14_5"
|
depends="cairo>=1.12.14_5"
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="backtrace colord dbus systemd vaapi x11"
|
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_backtrace="Enable support for backtraces via libunwind"
|
||||||
desc_option_colord="Enable support for colord"
|
desc_option_colord="Enable support for colord"
|
||||||
desc_option_dbus="Enable support for D-BUS"
|
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_systemd="Enable support for systemd"
|
||||||
desc_option_vaapi="Enable support for VA-API H.264 recording"
|
desc_option_vaapi="Enable support for VA-API H.264 recording"
|
||||||
desc_option_x11="Enable support for X11 (xwayland)"
|
desc_option_x11="Enable support for X11 (xwayland)"
|
||||||
|
@ -50,6 +56,13 @@ else
|
||||||
configure_args+=" --disable-dbus"
|
configure_args+=" --disable-dbus"
|
||||||
fi
|
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
|
if [ "$build_option_systemd" ]; then
|
||||||
makedepends+=" systemd-devel"
|
makedepends+=" systemd-devel"
|
||||||
fi
|
fi
|
||||||
|
@ -73,11 +86,10 @@ armv6l) # Assume RPi for now.
|
||||||
CFLAGS="-I${XBPS_CROSS_BASE}/opt/vc/include"
|
CFLAGS="-I${XBPS_CROSS_BASE}/opt/vc/include"
|
||||||
makedepends+=" rpi-firmware rpi-firmware-pcfiles"
|
makedepends+=" rpi-firmware rpi-firmware-pcfiles"
|
||||||
# Just enable the RPi compositor.
|
# 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-wayland-compositor --disable-simple-egl-clients
|
||||||
--disable-fbdev-compositor --disable-egl --disable-colord
|
--disable-fbdev-compositor --disable-egl
|
||||||
--disable-resize-optimization --disable-xwayland-test
|
--disable-setuid-install --disable-resize-optimization
|
||||||
--disable-setuid-install --disable-xwayland
|
|
||||||
--enable-weston-launch WESTON_NATIVE_BACKEND=rpi-backend.so"
|
--enable-weston-launch WESTON_NATIVE_BACKEND=rpi-backend.so"
|
||||||
;;
|
;;
|
||||||
x86_64|i686)
|
x86_64|i686)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue