Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Library for rendering SVG files" |
| 2 | HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/librsvg/" |
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/" |
| 4 | |
| 5 | LICENSE = "LGPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 7 | file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6" |
| 8 | |
| 9 | SECTION = "x11/utils" |
| 10 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango" |
| 11 | BBCLASSEXTEND = "native" |
| 12 | |
| 13 | inherit autotools pkgconfig gnomebase gtk-doc pixbufcache |
| 14 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 15 | SRC_URI += "file://gtk-option.patch \ |
| 16 | file://CVE-2015-7558_1.patch \ |
| 17 | file://CVE-2015-7558_2.patch \ |
| 18 | file://CVE-2015-7558_3.patch \ |
| 19 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | |
| 21 | SRC_URI[archive.md5sum] = "fadebe2e799ab159169ee3198415ff85" |
| 22 | SRC_URI[archive.sha256sum] = "965c807438ce90b204e930ff80c92eba1606a2f6fd5ccfd09335c99896dd3479" |
| 23 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 24 | CACHED_CONFIGUREVARS = "ac_cv_path_GDK_PIXBUF_QUERYLOADERS=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" |
| 25 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | EXTRA_OECONF = "--disable-introspection --disable-vala" |
| 27 | |
| 28 | # The older ld (2.22) on the host (Centos 6.5) doesn't have the |
| 29 | # -Bsymbolic-functions option, we can disable it for native. |
| 30 | EXTRA_OECONF_append_class-native = " --enable-Bsymbolic=auto" |
| 31 | |
| 32 | PACKAGECONFIG ??= "gdkpixbuf" |
| 33 | # The gdk-pixbuf loader |
| 34 | PACKAGECONFIG[gdkpixbuf] = "--enable-pixbuf-loader,--disable-pixbuf-loader,gdk-pixbuf-native" |
| 35 | # GTK+ test application (rsvg-view) |
| 36 | PACKAGECONFIG[gtk] = "--with-gtk3,--without-gtk3,gtk+3" |
| 37 | |
| 38 | do_install_append() { |
| 39 | # Loadable modules don't need .a or .la on Linux |
| 40 | rm -f ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.a ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.la |
| 41 | } |
| 42 | |
| 43 | PACKAGES =+ "librsvg-gtk rsvg" |
| 44 | FILES_${PN} = "${libdir}/*.so.*" |
| 45 | FILES_${PN}-dbg += "${libdir}/gdk-pixbuf-2.0/*/loaders/.debug" |
| 46 | FILES_rsvg = "${bindir}/rsvg* \ |
| 47 | ${datadir}/pixmaps/svg-viewer.svg \ |
| 48 | ${datadir}/themes" |
| 49 | FILES_librsvg-gtk = "${libdir}/gdk-pixbuf-2.0/*/*/*.so" |
| 50 | |
| 51 | PIXBUF_PACKAGES = "librsvg-gtk" |
| 52 | |
| 53 | PIXBUFCACHE_SYSROOT_DEPS_append_class-native = " harfbuzz-native:do_populate_sysroot_setscene pango-native:do_populate_sysroot_setscene icu-native:do_populate_sysroot_setscene" |