diff options
Diffstat (limited to 'meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb')
-rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb index 187af46a99..85a7b439de 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb | |||
@@ -16,12 +16,14 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | |||
16 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ |
17 | file://hardcoded_libtool.patch \ | 17 | file://hardcoded_libtool.patch \ |
18 | file://extending-libinstall-dependencies.patch \ | 18 | file://extending-libinstall-dependencies.patch \ |
19 | file://run-ptest \ | ||
20 | file://tests-check.patch \ | ||
19 | " | 21 | " |
20 | 22 | ||
21 | SRC_URI[md5sum] = "81161cc895eb43afd9ae7354b87e2261" | 23 | SRC_URI[md5sum] = "81161cc895eb43afd9ae7354b87e2261" |
22 | SRC_URI[sha256sum] = "c229c53f59573eab9410b53690a4b9db770312c80a4d84ecd6295aa894574494" | 24 | SRC_URI[sha256sum] = "c229c53f59573eab9410b53690a4b9db770312c80a4d84ecd6295aa894574494" |
23 | 25 | ||
24 | inherit autotools pkgconfig gettext pixbufcache | 26 | inherit autotools pkgconfig gettext pixbufcache ptest |
25 | 27 | ||
26 | LIBV = "2.10.0" | 28 | LIBV = "2.10.0" |
27 | 29 | ||
@@ -42,6 +44,7 @@ PACKAGECONFIG[x11] = "--with-x11,--without-x11,virtual/libx11" | |||
42 | 44 | ||
43 | EXTRA_OECONF = "\ | 45 | EXTRA_OECONF = "\ |
44 | --disable-introspection \ | 46 | --disable-introspection \ |
47 | ${@base_contains('DISTRO_FEATURES', 'ptest', '--enable-installed-tests', '--disable-installed-tests', d)} \ | ||
45 | " | 48 | " |
46 | 49 | ||
47 | PACKAGES =+ "${PN}-xlib" | 50 | PACKAGES =+ "${PN}-xlib" |
@@ -64,6 +67,11 @@ FILES_${PN}-dbg += " \ | |||
64 | ${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/.debug/* \ | 67 | ${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/.debug/* \ |
65 | " | 68 | " |
66 | 69 | ||
70 | FILES_${PN}-ptest += "${libdir}/gdk-pixbuf/installed-tests \ | ||
71 | ${datadir}/installed-tests/gdk-pixbuf" | ||
72 | |||
73 | RDEPENDS_${PN}-ptest += "gnome-desktop-testing" | ||
74 | |||
67 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" | 75 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" |
68 | PACKAGES_DYNAMIC_class-native = "" | 76 | PACKAGES_DYNAMIC_class-native = "" |
69 | 77 | ||
@@ -72,7 +80,12 @@ python populate_packages_prepend () { | |||
72 | 80 | ||
73 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') | 81 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') |
74 | 82 | ||
75 | d.setVar('PIXBUF_PACKAGES', ' '.join(do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s'))) | 83 | packages = ' '.join(do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s')) |
84 | d.setVar('PIXBUF_PACKAGES', packages) | ||
85 | |||
86 | # The test suite exercises all the loaders, so ensure they are all | ||
87 | # dependencies of the ptest package. | ||
88 | d.appendVar("RDEPENDS_gdk-pixbuf-ptest", " " + packages) | ||
76 | } | 89 | } |
77 | 90 | ||
78 | do_install_append_class-native() { | 91 | do_install_append_class-native() { |