summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+_2.24.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+_2.24.6.bb')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+_2.24.6.bb52
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.24.6.bb b/meta/recipes-gnome/gtk+/gtk+_2.24.6.bb
new file mode 100644
index 0000000..c017f99
--- /dev/null
+++ b/meta/recipes-gnome/gtk+/gtk+_2.24.6.bb
@@ -0,0 +1,52 @@
1require gtk+.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
4 file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \
5 file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \
6 file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c"
7SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.bz2 \
8 file://xsettings.patch \
9 file://run-iconcache.patch \
10 file://hardcoded_libtool.patch \
11 file://no-demos.patch \
12 file://cellrenderer-cairo.patch;striplevel=0 \
13 file://toggle-font.diff;striplevel=0 \
14 file://0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch \
15 file://doc-fixes.patch \
16 "
17# TO MERGE
18# file://entry-cairo.patch;striplevel=0
19# file://filesystem-volumes.patch
20# file://filechooser-props.patch
21# file://filechooser-default.patch
22# file://filechooser-sizefix.patch
23# temporary
24# file://gtklabel-resize-patch
25# file://menu-deactivate.patch
26# file://combo-arrow-size.patch;striplevel=0
27# file://configurefix.patch
28
29SRC_URI[md5sum] = "421100f6597e613234f8dead6091a9fe"
30SRC_URI[sha256sum] = "6f45bdbf9ea27eb3b5f977d7ee2365dede0d0ce454985680c26e5210163bbf37"
31
32EXTRA_OECONF = "--without-libtiff --without-libjasper --enable-xkb --disable-glibtest --disable-cups --disable-xinerama"
33
34LIBV = "2.10.0"
35
36PACKAGES_DYNAMIC += "gtk-immodule-* gtk-printbackend-*"
37
38python populate_packages_prepend () {
39 import os.path
40
41 prologue = bb.data.getVar("postinst_prologue", d, 1)
42
43 gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d)
44 immodules_root = os.path.join(gtk_libdir, 'immodules')
45 printmodules_root = os.path.join(gtk_libdir, 'printbackends');
46
47 do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules')
48 do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s')
49
50 if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
51 bb.data.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0', d)
52}