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 /meta-oe/recipes-core/glib-2.0 | |
parent | 05906402a80e166a1630d665480bd1960e78c2c7 (diff) | |
download | meta-openembedded-contrib-b0bbfe2fb85500a9e36955e16684c96b4324108d.tar.gz |
glibmm: add 2.28.2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core/glib-2.0')
-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 00000000000..948f7c760da --- /dev/null +++ b/meta-oe/recipes-core/glib-2.0/glibmm.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "C++ bindings for the glib library." +HOMEPAGE = "http://www.gtkmm.org/" +SECTION = "libs" + +LICENSE = "LGPLv2.1 && GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \ + file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe" + +DEPENDS = "mm-common glib-2.0 libsigc++-2.0" +SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.bz2;name=archive" + +inherit autotools pkgconfig + +do_install_append() { + install -d ${D}${datadir}/glibmm-2.4 + install -d ${D}${datadir}/aclocal + + install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/ + install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/ || true +} + +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/ ${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/" + +LIBV = "2.4.0" + 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 00000000000..a5944c28892 --- /dev/null +++ b/meta-oe/recipes-core/glib-2.0/glibmm/remove-examples.patch @@ -0,0 +1,30 @@ +Index: glibmm-2.22.1/Makefile.am +=================================================================== +--- glibmm-2.22.1.orig/Makefile.am ++++ glibmm-2.22.1/Makefile.am +@@ -23,12 +23,7 @@ src_subdirs = glib/src gio/src + else + src_subdirs = + endif +-if ENABLE_DOCUMENTATION +-doc_subdirs = docs +-else +-doc_subdirs = +-endif +-SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs) ++SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests + + glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME) + glibmm_include_HEADERS = glib/glibmm.h +Index: glibmm-2.22.1/configure.ac +=================================================================== +--- glibmm-2.22.1.orig/configure.ac ++++ glibmm-2.22.1/configure.ac +@@ -136,7 +136,6 @@ AC_CONFIG_FILES([Makefile + gio/src/Makefile + gio/giomm/Makefile + tests/Makefile +- examples/Makefile + docs/Makefile + docs/reference/Doxyfile + 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 00000000000..af9cd61cf1b --- /dev/null +++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.28.2.bb @@ -0,0 +1,8 @@ +require glibmm.inc + +SRC_URI[archive.md5sum] = "cf33d1861d09fb2952a6a1d69e0502e3" +SRC_URI[archive.sha256sum] = "7b67178363f8494c94f8b3dd704a4c8db7ad75a253fc84a4ad229e5e179ec192" + +SRC_URI += " file://remove-examples.patch" + + |