gnu: efl: Remove hardcoding pulseaudio and libsndfile.

* gnu/packages/enlightenment.scm (efl)[arguments]: Remove custom phase
to hardlink to the locations of pulseaudio and libsndfile.
This commit is contained in:
Efraim Flashner 2016-09-20 11:32:08 +03:00
parent 846b2534df
commit 92330ba90d
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 1 additions and 17 deletions

View File

@ -131,23 +131,7 @@
"--enable-multisense"
"--with-opengl=es"
"--enable-egl"
"--enable-harfbuzz")
#:phases
(modify-phases %standard-phases
;; ecore_audio cannot find pulseaudio or libsndfile when compiled.
;; Starting in version 1.18.0, these two libraries are dlopened so
;; we hardcode their locations as a temporary workaround.
(add-after 'configure 'hardlink-dlopen-files
(lambda _
(substitute* "src/lib/ecore_audio/ecore_audio.c"
(("libpulse.so.0")
(string-append (assoc-ref %build-inputs "pulseaudio")
"/lib/libpulse.so.0")))
(substitute* "src/lib/ecore_audio/ecore_audio.c"
(("libsndfile.so.1")
(string-append (assoc-ref %build-inputs "libsndfile")
"/lib/libsndfile.so.1")))
#t)))))
"--enable-harfbuzz")))
(home-page "https://www.enlightenment.org")
(synopsis "Enlightenment Foundation Libraries")
(description