1 |
commit: f0d2ab301cd6aa2e9fef4c7646f6e73eeb8db3e7 |
2 |
Author: Tomáš Čech <sleep_walker <AT> suse <DOT> cz> |
3 |
AuthorDate: Thu Oct 2 15:45:02 2014 +0000 |
4 |
Commit: Ralph Sennhauser <sera <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 2 18:00:40 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=dev/sera.git;a=commit;h=f0d2ab30 |
7 |
|
8 |
efl: drm require systemd, when there is no systemd, don't build drm engine |
9 |
|
10 |
--- |
11 |
dev-libs/efl/efl-1.11.2.ebuild | 11 ++++++++++- |
12 |
1 file changed, 10 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/dev-libs/efl/efl-1.11.2.ebuild b/dev-libs/efl/efl-1.11.2.ebuild |
15 |
index a202c6b..c83b6ba 100644 |
16 |
--- a/dev-libs/efl/efl-1.11.2.ebuild |
17 |
+++ b/dev-libs/efl/efl-1.11.2.ebuild |
18 |
@@ -138,10 +138,19 @@ src_configure() { |
19 |
$(use_enable wayland) |
20 |
) |
21 |
|
22 |
+ if use drm && use systemd; then |
23 |
+ config+=( |
24 |
+ $(use_enable drm) |
25 |
+ ) |
26 |
+ else |
27 |
+ einfo "You cannot build DRM support without systemd support, disabling drm engine" |
28 |
+ config+=( |
29 |
+ --disable-drm |
30 |
+ ) |
31 |
+ fi |
32 |
config+=( |
33 |
$(use_enable avahi) |
34 |
$(use_enable cxx c++11) |
35 |
- $(use_enable drm) |
36 |
$(use_enable doc) |
37 |
$(use_enable fbcon fb) |
38 |
$(use_enable fontconfig) |