diff options
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk-update-icon-cache-native_3.4.4.bb')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk-update-icon-cache-native_3.4.4.bb | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk-update-icon-cache-native_3.4.4.bb b/meta/recipes-gnome/gtk+/gtk-update-icon-cache-native_3.4.4.bb deleted file mode 100644 index 73b7644845..0000000000 --- a/meta/recipes-gnome/gtk+/gtk-update-icon-cache-native_3.4.4.bb +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | SUMMARY = "gtk-update-icon-cache built natively" | ||
2 | DESCRIPTION = "Just gtk-update-icon-cache built from GTK+ natively, for on-host postinst script execution." | ||
3 | SECTION = "libs" | ||
4 | |||
5 | DEPENDS = "gdk-pixbuf-native" | ||
6 | |||
7 | LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
10 | file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \ | ||
11 | file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \ | ||
12 | file://tests/testgtk.c;endline=25;md5=cb732daee1d82af7a2bf953cf3cf26f1" | ||
13 | |||
14 | SRC_URI = "http://download.gnome.org/sources/gtk+/3.4/gtk+-${PV}.tar.xz" | ||
15 | SRC_URI[md5sum] = "1b2cf29502a6394e8d4b30f7f5bb9131" | ||
16 | SRC_URI[sha256sum] = "f154e460075034da4c0ce89c320025dcd459da2a1fdf32d92a09522eaca242c7" | ||
17 | |||
18 | S = "${WORKDIR}/gtk+-${PV}" | ||
19 | |||
20 | inherit pkgconfig native | ||
21 | |||
22 | PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native" | ||
23 | |||
24 | do_configure() { | ||
25 | # Quite ugly but defines enough to compile the tool. | ||
26 | if ! test -f gtk/config.h; then | ||
27 | echo "#define GETTEXT_PACKAGE \"gtk30\"" >> gtk/config.h | ||
28 | echo "#define HAVE_UNISTD_H 1" >> gtk/config.h | ||
29 | echo "#define HAVE_FTW_H 1" >> gtk/config.h | ||
30 | |||
31 | fi | ||
32 | } | ||
33 | |||
34 | do_compile() { | ||
35 | ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} ${S}/gtk/updateiconcache.c \ | ||
36 | $(${PKG_CONFIG_FOR_BUILD} --cflags --libs gdk-pixbuf-2.0) \ | ||
37 | -o gtk-update-icon-cache | ||
38 | } | ||
39 | |||
40 | do_install() { | ||
41 | install -d ${D}${bindir} | ||
42 | install -m 0755 ${B}/gtk-update-icon-cache ${D}${bindir} | ||
43 | |||
44 | create_wrapper ${D}/${bindir}/gtk-update-icon-cache \ | ||
45 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache | ||
46 | |||
47 | } | ||