efl: add systemd build option (on by default).

This commit is contained in:
Juan RP 2014-05-18 16:54:47 +02:00
parent 78d70f543c
commit fa6b7c1208

View file

@ -3,10 +3,10 @@ pkgname=efl
version=1.9.4
revision=1
build_style=gnu-configure
configure_args="--enable-xinput22 --enable-multisense --enable-systemd
configure_args="--enable-xinput22 --enable-multisense
--enable-image-loader-webp --enable-drm CXX="
hostmakedepends="pkg-config"
makedepends="openssl-devel systemd-devel glib-devel libXdamage-devel
makedepends="openssl-devel glib-devel libXdamage-devel
libjpeg-turbo-devel fontconfig-devel fribidi-devel libXrender-devel libXi-devel
giflib-devel libpng-devel tiff-devel libwebp-devel>=0.4.0 gst-plugins-base-devel
alsa-lib-devel alsa-lib-devel libsndfile-devel libXcursor-devel libXcomposite-devel
@ -34,16 +34,17 @@ if [ "$CROSS_BUILD" ]; then
fi
# Package build options
build_options="framebuffer gles2 harfbuzz opengl pulseaudio wayland"
build_options="framebuffer gles2 harfbuzz opengl pulseaudio systemd wayland"
desc_option_framebuffer="Enable support for the Framebuffer"
desc_option_gles2="Enable support for GLESv2"
desc_option_harfbuzz="enable support for Harfbuzz"
desc_option_opengl="Enable support for OpenGL"
desc_option_pulseaudio="Enable support for Pulseaudio"
desc_option_systemd="Enable support for systemd"
desc_option_wayland="Enable support for Wayland"
# Enable harfbuzz, pulseaudio and wayland by default.
build_options_default="harfbuzz pulseaudio wayland"
# Enable harfbuzz, pulseaudio, systemd and wayland by default.
build_options_default="harfbuzz pulseaudio systemd wayland"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
# Enable opengl by default on x86.
@ -80,11 +81,18 @@ else
configure_args+=" --disable-pulseaudio"
fi
if [ "$build_option_systemd" ]; then
configure_args+=" --enable-systemd"
makedepends+=" systemd-devel"
else
configure_args+=" --disable-systemd"
fi
if [ "$build_option_wayland" ]; then
configure_args+=" --enable-wayland"
configure_args+=" --enable-egl --enable-wayland"
makedepends+=" wayland-devel"
else
configure_args+=" --disable-wayland"
configure_args+=" --disable-egl --disable-wayland"
fi
efl-devel_package() {