summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-09-07 10:55:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-21 11:10:19 +0100
commitbe174d7bc35813f2648f75463abc2b41a150af51 (patch)
tree6980da84dffec3f18747b892074c84f6e5d15ef7
parentfaa2a29a2d7624485787e67a560d8c1263cb5a46 (diff)
downloadpoky-be174d7bc35813f2648f75463abc2b41a150af51.tar.gz
librsvg: make the libcroco dependency a PACKAGECONFIG option
Default to enabling it as we were build-depending on it already. If a user needs the disk space and the limitations imposed by not using libcroco are acceptable they can override this. (From OE-Core rev: e177f1475c55c7d0bf3e2752e6502a7e8577a075) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.32.1.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
index 12ae310858..100b51e8a8 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6" 7 file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6"
8 8
9SECTION = "x11/utils" 9SECTION = "x11/utils"
10DEPENDS = "gtk+ libcroco cairo libxml2" 10DEPENDS = "gtk+ cairo libxml2"
11DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native" 11DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
12BBCLASSEXTEND = "native" 12BBCLASSEXTEND = "native"
13 13
@@ -15,7 +15,13 @@ PR = "r10"
15 15
16inherit autotools pkgconfig gnome gtk-doc 16inherit autotools pkgconfig gnome gtk-doc
17 17
18EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco" 18EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz"
19
20PACKAGECONFIG ??= "croco"
21# When native we can manage without croco, as it's only for GTK+
22PACKAGECONFIG_virtclass-native = ""
23
24PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco"
19 25
20SRC_URI += "file://doc_Makefile.patch" 26SRC_URI += "file://doc_Makefile.patch"
21 27