summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Čech <sleep_walker@suse.cz>2014-10-02 17:45:02 +0200
committerRalph Sennhauser <sera@gentoo.org>2014-10-02 20:00:40 +0200
commitf0d2ab301cd6aa2e9fef4c7646f6e73eeb8db3e7 (patch)
tree2fd65d640e7903fab44b92e85a4b180805d603dd
parentenlightenment-0.19.0: Version bump (diff)
downloadsera-f0d2ab301cd6aa2e9fef4c7646f6e73eeb8db3e7.tar.gz
sera-f0d2ab301cd6aa2e9fef4c7646f6e73eeb8db3e7.tar.bz2
sera-f0d2ab301cd6aa2e9fef4c7646f6e73eeb8db3e7.zip
efl: drm require systemd, when there is no systemd, don't build drm engine
-rw-r--r--dev-libs/efl/efl-1.11.2.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-libs/efl/efl-1.11.2.ebuild b/dev-libs/efl/efl-1.11.2.ebuild
index a202c6b..c83b6ba 100644
--- a/dev-libs/efl/efl-1.11.2.ebuild
+++ b/dev-libs/efl/efl-1.11.2.ebuild
@@ -138,10 +138,19 @@ src_configure() {
$(use_enable wayland)
)
+ if use drm && use systemd; then
+ config+=(
+ $(use_enable drm)
+ )
+ else
+ einfo "You cannot build DRM support without systemd support, disabling drm engine"
+ config+=(
+ --disable-drm
+ )
+ fi
config+=(
$(use_enable avahi)
$(use_enable cxx c++11)
- $(use_enable drm)
$(use_enable doc)
$(use_enable fbcon fb)
$(use_enable fontconfig)