diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-12 11:46:37 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-12 12:25:23 +0200 |
| commit | b0bbfe2fb85500a9e36955e16684c96b4324108d (patch) | |
| tree | 4d3ca87e819afb81456727750db3581421cc1bb0 | |
| parent | 05906402a80e166a1630d665480bd1960e78c2c7 (diff) | |
| download | meta-openembedded-b0bbfe2fb85500a9e36955e16684c96b4324108d.tar.gz | |
glibmm: add 2.28.2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
| -rw-r--r-- | meta-oe/recipes-core/glib-2.0/glibmm.inc | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-core/glib-2.0/glibmm/remove-examples.patch | 30 | ||||
| -rw-r--r-- | meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb | 8 |
3 files changed, 66 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm.inc b/meta-oe/recipes-core/glib-2.0/glibmm.inc new file mode 100644 index 0000000000..948f7c760d --- /dev/null +++ b/meta-oe/recipes-core/glib-2.0/glibmm.inc | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | DESCRIPTION = "C++ bindings for the glib library." | ||
| 2 | HOMEPAGE = "http://www.gtkmm.org/" | ||
| 3 | SECTION = "libs" | ||
| 4 | |||
| 5 | LICENSE = "LGPLv2.1 && GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \ | ||
| 7 | file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe" | ||
| 8 | |||
| 9 | DEPENDS = "mm-common glib-2.0 libsigc++-2.0" | ||
| 10 | SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | ||
| 11 | |||
| 12 | SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.bz2;name=archive" | ||
| 13 | |||
| 14 | inherit autotools pkgconfig | ||
| 15 | |||
| 16 | do_install_append() { | ||
| 17 | install -d ${D}${datadir}/glibmm-2.4 | ||
| 18 | install -d ${D}${datadir}/aclocal | ||
| 19 | |||
| 20 | install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/ | ||
| 21 | install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/ || true | ||
| 22 | } | ||
| 23 | |||
| 24 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
| 25 | FILES_${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/ ${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/" | ||
| 26 | |||
| 27 | LIBV = "2.4.0" | ||
| 28 | |||
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm/remove-examples.patch b/meta-oe/recipes-core/glib-2.0/glibmm/remove-examples.patch new file mode 100644 index 0000000000..a5944c2889 --- /dev/null +++ b/meta-oe/recipes-core/glib-2.0/glibmm/remove-examples.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | Index: glibmm-2.22.1/Makefile.am | ||
| 2 | =================================================================== | ||
| 3 | --- glibmm-2.22.1.orig/Makefile.am | ||
| 4 | +++ glibmm-2.22.1/Makefile.am | ||
| 5 | @@ -23,12 +23,7 @@ src_subdirs = glib/src gio/src | ||
| 6 | else | ||
| 7 | src_subdirs = | ||
| 8 | endif | ||
| 9 | -if ENABLE_DOCUMENTATION | ||
| 10 | -doc_subdirs = docs | ||
| 11 | -else | ||
| 12 | -doc_subdirs = | ||
| 13 | -endif | ||
| 14 | -SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs) | ||
| 15 | +SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests | ||
| 16 | |||
| 17 | glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME) | ||
| 18 | glibmm_include_HEADERS = glib/glibmm.h | ||
| 19 | Index: glibmm-2.22.1/configure.ac | ||
| 20 | =================================================================== | ||
| 21 | --- glibmm-2.22.1.orig/configure.ac | ||
| 22 | +++ glibmm-2.22.1/configure.ac | ||
| 23 | @@ -136,7 +136,6 @@ AC_CONFIG_FILES([Makefile | ||
| 24 | gio/src/Makefile | ||
| 25 | gio/giomm/Makefile | ||
| 26 | tests/Makefile | ||
| 27 | - examples/Makefile | ||
| 28 | docs/Makefile | ||
| 29 | docs/reference/Doxyfile | ||
| 30 | MSVC_Net2005/glibmm/glibmm.rc | ||
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb b/meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb new file mode 100644 index 0000000000..af9cd61cf1 --- /dev/null +++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | require glibmm.inc | ||
| 2 | |||
| 3 | SRC_URI[archive.md5sum] = "cf33d1861d09fb2952a6a1d69e0502e3" | ||
| 4 | SRC_URI[archive.sha256sum] = "7b67178363f8494c94f8b3dd704a4c8db7ad75a253fc84a4ad229e5e179ec192" | ||
| 5 | |||
| 6 | SRC_URI += " file://remove-examples.patch" | ||
| 7 | |||
| 8 | |||
