weston: add systemd build option (on by default).
This commit is contained in:
parent
1c34030ae5
commit
2074bbf350
1 changed files with 9 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'weston'.
|
||||
pkgname=weston
|
||||
version=1.4.0
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
short_desc="Reference implementation of a Wayland compositor"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -11,18 +11,19 @@ distfiles="http://wayland.freedesktop.org/releases/${pkgname}-${version}.tar.xz"
|
|||
checksum=74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64
|
||||
|
||||
hostmakedepends="pkg-config wayland-devel>=${version}"
|
||||
makedepends="libpng-devel>=1.6 wayland-devel>=${version} libxkbcommon-devel lcms2-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
|
||||
poppler-glib-devel pam-devel systemd-devel lcms2-devel libudev-devel libdrm-devel"
|
||||
poppler-glib-devel pam-devel lcms2-devel libudev-devel libdrm-devel"
|
||||
# cairo built with gles2 option.
|
||||
depends="cairo>=1.12.14_5"
|
||||
lib32disabled=yes
|
||||
|
||||
# Package build options
|
||||
build_options="backtrace colord dbus vaapi x11"
|
||||
build_options="backtrace colord dbus systemd vaapi x11"
|
||||
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_systemd="Enable support for systemd"
|
||||
desc_option_vaapi="Enable support for VA-API H.264 recording"
|
||||
desc_option_x11="Enable support for X11 (xwayland)"
|
||||
|
||||
|
@ -47,6 +48,10 @@ else
|
|||
configure_args+=" --disable-dbus"
|
||||
fi
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
makedepends+=" systemd-devel"
|
||||
fi
|
||||
|
||||
if [ "$build_option_vaapi" ]; then
|
||||
configure_args+=" --enable-vaapi-recorder"
|
||||
makedepends+=" libva-devel"
|
||||
|
|
Loading…
Reference in a new issue