From b6a7217185157a74572f77756e212873c84cfa7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 2 Feb 2021 19:30:18 -0300 Subject: [PATCH] efl: don't build examples. Avoids wasting build time. Also gate tests, since they aren't working great yet. --- srcpkgs/efl/template | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/srcpkgs/efl/template b/srcpkgs/efl/template index a8b26fff25c..513cb4dfff4 100644 --- a/srcpkgs/efl/template +++ b/srcpkgs/efl/template @@ -4,6 +4,7 @@ version=1.24.4 revision=1 build_style=meson configure_args=" + -Dbuild-examples=false -Dembedded-lz4=false -Dcrypto=openssl -Dnetwork-backend=none @@ -46,6 +47,7 @@ makedepends=" $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if lottie rlottie-devel) $(vopt_if ibus ibus-devel)" +checkdepends="dbus xvfb-run" short_desc="Enlightenment Foundation Libraries" maintainer="q66 " license="LGPL-2.1-only" @@ -104,6 +106,13 @@ case "$XBPS_TARGET_MACHINE" in ;; esac +do_check() { + if [ "$XBPS_CHECK_PKGS" = full ]; then + # FIXME: tests fail in weird places + xvfb-run dbus-run-session ninja -C build test + fi +} + post_install() { # don't want service file junk rm -rf ${DESTDIR}/usr/lib/systemd