Patchwork [meta-oe,meta-efl,21/46] meta-efl: evas-generic-loaders: add new recipes to cope with missing SVG support in newer evas

login
register
mail settings
Submitter Martin Jansa
Date Aug. 10, 2012, 1:43 p.m.
Message ID <2b0147dc53c2effc2831c5be1afd0cb033ab394a.1344601517.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/34217/
State Accepted
Commit e0f7398e19955c1c3deadb52579526c5f1226a11
Headers show

Comments

Martin Jansa - Aug. 10, 2012, 1:43 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../conf/distro/include/efl-from-svn-recipes.inc   |    1 +
 meta-efl/recipes-efl/efl/evas-generic-loaders.inc  |   33 ++++++++++++++++++++
 .../recipes-efl/efl/evas-generic-loaders_1.2.0.bb  |   10 ++++++
 .../recipes-efl/efl/evas-generic-loaders_svn.bb    |   11 ++++++
 4 files changed, 55 insertions(+), 0 deletions(-)
 create mode 100644 meta-efl/recipes-efl/efl/evas-generic-loaders.inc
 create mode 100644 meta-efl/recipes-efl/efl/evas-generic-loaders_1.2.0.bb
 create mode 100644 meta-efl/recipes-efl/efl/evas-generic-loaders_svn.bb

Patch

diff --git a/meta-efl/conf/distro/include/efl-from-svn-recipes.inc b/meta-efl/conf/distro/include/efl-from-svn-recipes.inc
index 9af3b6d..38c2dd3 100644
--- a/meta-efl/conf/distro/include/efl-from-svn-recipes.inc
+++ b/meta-efl/conf/distro/include/efl-from-svn-recipes.inc
@@ -18,6 +18,7 @@  PREFERRED_VERSION_eina-native ?= "${EFL_PREFERRED_VERSION}"
 PREFERRED_VERSION_embryo ?= "${EFL_PREFERRED_VERSION}"
 PREFERRED_VERSION_embryo-native ?= "${EFL_PREFERRED_VERSION}"
 PREFERRED_VERSION_evas ?= "${EFL_PREFERRED_VERSION}"
+PREFERRED_VERSION_evas-generic-loaders ?= "1.2.0+svn%"
 PREFERRED_VERSION_evas-native ?= "${EFL_PREFERRED_VERSION}"
 PREFERRED_VERSION_expedite ?= "${EFL_PREFERRED_VERSION}"
 PREFERRED_VERSION_expedite-native ?= "${EFL_PREFERRED_VERSION}"
diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders.inc b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc
new file mode 100644
index 0000000..7556eb2
--- /dev/null
+++ b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc
@@ -0,0 +1,33 @@ 
+DESCRIPTION = "Evas generic loaders"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=06568fc31423f3c8ad84f375e061c342"
+DEPENDS = "eina poppler librsvg cairo"
+
+inherit efl
+
+INC_PR = "r0"
+
+SRCNAME = "evas_generic_loaders"
+
+EXTRA_OECONF = " \
+  --enable-poppler \
+  --enable-svg \
+  --disable-gstreamer \
+  --disable-libraw \
+  --disable-spectre \
+"
+
+python populate_packages_prepend () {
+    bb.note( "splitting packages for evas generic loaders" )
+    basedir = bb.data.expand( '${libdir}/evas/utils', d )
+
+    do_split_packages(d, basedir, '^evas_image_loader\.(.*)$',
+    output_pattern = "evas-generic-loader-%s",
+    description = 'Evas generic loaders - module %s',
+    allow_dirs=True, recursive=False, extra_depends="" )
+}
+
+FILES_evas-generic-loader-xcf += "${libdir}/evas/utils/*.xcf.gz"
+FILES_${PN}-dbg += "${libdir}/evas/utils/.debug"
+
+PACKAGES_DYNAMIC = "evas-generic-loader-*"
diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders_1.2.0.bb b/meta-efl/recipes-efl/efl/evas-generic-loaders_1.2.0.bb
new file mode 100644
index 0000000..de0ce1c
--- /dev/null
+++ b/meta-efl/recipes-efl/efl/evas-generic-loaders_1.2.0.bb
@@ -0,0 +1,10 @@ 
+require ${BPN}.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "\
+  ${E_MIRROR}/${SRCNAME}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "340a8c2f42c82ecd10f0204cdb291a70"
+SRC_URI[sha256sum] = "9a3aad43269f34513765b04ed3e8db5a18d3545da010b2f6066aeaf90bf442d4"
diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders_svn.bb b/meta-efl/recipes-efl/efl/evas-generic-loaders_svn.bb
new file mode 100644
index 0000000..594de4a
--- /dev/null
+++ b/meta-efl/recipes-efl/efl/evas-generic-loaders_svn.bb
@@ -0,0 +1,11 @@ 
+require ${BPN}.inc
+
+SRCREV = "${EFL_SRCREV}"
+PV = "1.2.0+svnr${SRCPV}"
+PR = "${INC_PR}.0"
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "\
+  ${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep \
+"
+S = "${WORKDIR}/${SRCNAME}"