diff options
author | Ross Burton <ross.burton@intel.com> | 2012-09-07 10:55:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-21 11:10:19 +0100 |
commit | be174d7bc35813f2648f75463abc2b41a150af51 (patch) | |
tree | 6980da84dffec3f18747b892074c84f6e5d15ef7 /meta | |
parent | faa2a29a2d7624485787e67a560d8c1263cb5a46 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 10 |
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 | ||
9 | SECTION = "x11/utils" | 9 | SECTION = "x11/utils" |
10 | DEPENDS = "gtk+ libcroco cairo libxml2" | 10 | DEPENDS = "gtk+ cairo libxml2" |
11 | DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native" | 11 | DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native" |
12 | BBCLASSEXTEND = "native" | 12 | BBCLASSEXTEND = "native" |
13 | 13 | ||
@@ -15,7 +15,13 @@ PR = "r10" | |||
15 | 15 | ||
16 | inherit autotools pkgconfig gnome gtk-doc | 16 | inherit autotools pkgconfig gnome gtk-doc |
17 | 17 | ||
18 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco" | 18 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz" |
19 | |||
20 | PACKAGECONFIG ??= "croco" | ||
21 | # When native we can manage without croco, as it's only for GTK+ | ||
22 | PACKAGECONFIG_virtclass-native = "" | ||
23 | |||
24 | PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco" | ||
19 | 25 | ||
20 | SRC_URI += "file://doc_Makefile.patch" | 26 | SRC_URI += "file://doc_Makefile.patch" |
21 | 27 | ||