Patchwork [meta-oe,meta-efl,3/5] edje: explicitly enable libsndfile for target recipe

login
register
mail settings
Submitter Martin Jansa
Date June 21, 2012, 8:18 a.m.
Message ID <e025b4a12cb47310b7b7053121785fd993183013.1340266416.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/30385/
State Accepted
Commit 487345238d2f05af344f88dbf716a48895065977
Headers show

Comments

Martin Jansa - June 21, 2012, 8:18 a.m.
* there is no native/nativesdk support in libsndfile so disable it fro native/nativesdk edje
* Thanks to Koen for noticing that it's autodetected and sometimes leaks into feeds

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-efl/recipes-efl/efl/edje.inc |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/meta-efl/recipes-efl/efl/edje.inc b/meta-efl/recipes-efl/efl/edje.inc
index 41f04b0..311fb52 100644
--- a/meta-efl/recipes-efl/efl/edje.inc
+++ b/meta-efl/recipes-efl/efl/edje.inc
@@ -1,5 +1,5 @@ 
 DESCRIPTION = "Edje is the Enlightenment graphical design & layout library"
-DEPENDS = "lua5.1 eet evas ecore embryo edje-native eina"
+DEPENDS = "lua5.1 eet evas ecore embryo edje-native eina libsndfile1"
 DEPENDS_virtclass-native = "lua5.1-native evas-native ecore-native eet-native embryo-native eina-native"
 DEPENDS_virtclass-nativesdk = "evas-native ecore-native eet-native embryo-native eina-native"
 # GPLv2 because of epp in PN-utils
@@ -35,6 +35,11 @@  do_compile_append() {
 require edje-fpu.inc
 EXTRA_OECONF += "${@get_edje_fpu_setting(bb, d)}"
 
+SNDFILE = "--enable-sndfile"
+SNDFILE_virtclass-native = "--disable-sndfile"
+SNDFILE_virtclass-nativesdk = "--disable-sndfile"
+EXTRA_OECONF += "${SNDFILE}"
+
 PACKAGES =+ "${PN}-utils"
 RDEPENDS_${PN}-utils = "cpp cpp-symlinks embryo-tests"