summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/gtk+/gdk-pixbuf-csource-native_2.12.7.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gdk-pixbuf-csource-native_2.12.7.bb b/meta/packages/gtk+/gdk-pixbuf-csource-native_2.12.7.bb
index 5c0c84a58..575ed50cf 100644
--- a/meta/packages/gtk+/gdk-pixbuf-csource-native_2.12.7.bb
+++ b/meta/packages/gtk+/gdk-pixbuf-csource-native_2.12.7.bb
@@ -4,6 +4,7 @@ DEPENDS = "jpeg-native libpng-native gettext-native glib-2.0-native libx11-nativ
S = "${WORKDIR}/gtk+-${PV}"
FILESPATH = "${FILE_DIRNAME}/gdk-pixbuf-csource:${FILE_DIRNAME}/gtk+-${PV}:${FILE_DIRNAME}/files"
SRC_URI += "file://reduce-dependencies.patch;patch=1"
+PR = "r10"
#clear recommends for uclibc builds
RRECOMMENDS = " "
@@ -26,6 +27,9 @@ do_compile() {
do_install() {
cd gdk-pixbuf
oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}${sysconfdir}/gtk-2.0
+ GDK_PIXBUF_MODULEDIR=${D}${libdir}/gtk-2.0/2.10.0/loaders ${D}${bindir}/gdk-pixbuf-query-loaders > ${D}${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
+ sed -i -e 's#${D}##g' ${D}${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
}