diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-05-29 21:06:58 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-29 21:37:56 +0200 |
commit | 9740a804f156463ef7fd2f1ebc4a7f18b89b9abc (patch) | |
tree | 6fe3894e1a32a5b71c04f11279a558667977216a | |
parent | e9609b067b6568d824e80cbbf99b411e48b349ee (diff) | |
download | meta-openembedded-9740a804f156463ef7fd2f1ebc4a7f18b89b9abc.tar.gz |
librsvg: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392d
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/librsvg/librsvg_2.26.2.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/librsvg/librsvg_2.26.2.bb b/meta-oe/recipes-support/librsvg/librsvg_2.26.2.bb new file mode 100644 index 000000000..317b6bc01 --- /dev/null +++ b/meta-oe/recipes-support/librsvg/librsvg_2.26.2.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | DESCRIPTION = "Library for rendering SVG files" | ||
2 | SECTION = "x11/utils" | ||
3 | DEPENDS = "bzip2 gtk+ libcroco cairo libart-lgpl libxml2 popt xineramaproto" | ||
4 | DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native" | ||
5 | LICENSE = "LGPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
7 | file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \ | ||
8 | " | ||
9 | |||
10 | PR = "r1" | ||
11 | |||
12 | inherit gnome | ||
13 | |||
14 | SRC_URI[archive.md5sum] = "6bb1993f9180176e45d6084089f47aa8" | ||
15 | SRC_URI[archive.sha256sum] = "e82fb920901e211a54cff5df88c327bedec8565b324e2f529f428f492361c60f" | ||
16 | |||
17 | EXTRA_OECONF_virtclass-native = "--disable-mozilla-plugin" | ||
18 | |||
19 | BBCLASSEXTEND = "native" | ||
20 | |||
21 | PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg" | ||
22 | |||
23 | FILES_${PN} = "${libdir}/*.so.*" | ||
24 | FILES_rsvg = "${bindir}/rsvg \ | ||
25 | ${bindir}/rsvg-view \ | ||
26 | ${bindir}/rsvg-convert \ | ||
27 | ${datadir}/pixmaps/svg-viewer.svg" | ||
28 | FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so" | ||
29 | FILES_librsvg-gtk-dev += "${libdir}/gtk-2.0/*.la \ | ||
30 | ${libdir}/gtk-2.0/*/*.la \ | ||
31 | ${libdir}/gtk-2.0/*/*/*.la \ | ||
32 | " | ||
33 | FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \ | ||
34 | ${libdir}/gtk-2.0/*/*/.debug" | ||
35 | |||
36 | pkg_postinst_librsvg-gtk() { | ||
37 | if [ "x$D" != "x" ]; then | ||
38 | exit 1 | ||
39 | fi | ||
40 | gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders | ||
41 | } | ||
42 | |||