aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/enlightenment.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-20 11:55:54 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-21 18:45:33 +0300
commitff093d7b7b63f616fc4551fe5ca9a3e76d752ebf (patch)
tree134cbdfc5d5d72ce702ef1269c8ef38a2db7291c /gnu/packages/enlightenment.scm
parent1403e1f710b938fbce2eb968a1b75d15332113c3 (diff)
downloadpatches-ff093d7b7b63f616fc4551fe5ca9a3e76d752ebf.tar
patches-ff093d7b7b63f616fc4551fe5ca9a3e76d752ebf.tar.gz
gnu: enlightenment: Fix desktop session file creation.
* gnu/packages/enlightenment.scm (enlightenment)[arguments]: Create wayland session file only when building with wayland support.
Diffstat (limited to 'gnu/packages/enlightenment.scm')
-rw-r--r--gnu/packages/enlightenment.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index 857a8ddd1b..32a1e60bf0 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -298,6 +298,11 @@ Libraries with some extra bells and whistles.")
#:phases
(modify-phases %standard-phases
(delete 'bootstrap) ; We don't want to run the autogen script.
+ (add-after 'unpack 'fix-dot-desktop-creation
+ (lambda _
+ (substitute* "data/session/meson.build"
+ (("HAVE_WAYLAND'.*") "HAVE_WAYLAND') == true\n"))
+ #t))
(add-before 'configure 'set-system-actions
(lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" "/tmp")