summaryrefslogtreecommitdiff
path: root/packages/glibmm
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-12-16 20:35:25 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-12-16 20:35:25 +0000
commitf4b5bcff1c5fe81a7542f41d7c1b77703bffe27e (patch)
treeba8b7e38143f5a03847640cb3dcbb5d50c5716d6 /packages/glibmm
parentd3497ca7a22c2cadd54f5297b9a80794ebc4193f (diff)
glibmm: update to 2.14.2 (with DEFAULT_PREF -1). Closes 3265.
Diffstat (limited to 'packages/glibmm')
-rw-r--r--packages/glibmm/glibmm.inc24
-rw-r--r--packages/glibmm/glibmm_2.12.10.bb24
-rw-r--r--packages/glibmm/glibmm_2.14.2.bb3
3 files changed, 28 insertions, 23 deletions
diff --git a/packages/glibmm/glibmm.inc b/packages/glibmm/glibmm.inc
new file mode 100644
index 0000000000..c33d3151ae
--- /dev/null
+++ b/packages/glibmm/glibmm.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "C++ bindings for the glib library."
+HOMEPAGE = "http://www.gtkmm.org/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "glib-2.0 libsigc++-2.0"
+PR = "r0"
+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"
+
+inherit autotools pkgconfig flow-lossage
+
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${libdir}/glibmm-2.4/include/"
+
+LIBV = "2.4.0"
+
+do_stage () {
+ autotools_stage_all
+
+ install -m 0644 glib/glibmmconfig.h ${STAGING_INCDIR}/glibmm-2.4
+ install -m 0644 scripts/glibmm_check_perl.m4 ${STAGING_DATADIR}/aclocal/
+}
diff --git a/packages/glibmm/glibmm_2.12.10.bb b/packages/glibmm/glibmm_2.12.10.bb
index a62d4eb145..90a053fb36 100644
--- a/packages/glibmm/glibmm_2.12.10.bb
+++ b/packages/glibmm/glibmm_2.12.10.bb
@@ -1,23 +1 @@
-DESCRIPTION = "C++ bindings for the glib library."
-HOMEPAGE = "http://www.gtkmm.org/"
-SECTION = "libs"
-PRIORITY = "optional"
-LICENSE = "LGPL"
-DEPENDS = "glib-2.0 libsigc++-2.0"
-PR = "r0"
-
-SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/2.12/glibmm-${PV}.tar.bz2"
-
-inherit autotools pkgconfig flow-lossage
-
-FILES_${PN} = "${libdir}/lib*.so.*"
-FILES_${PN}-dev += "${libdir}/glibmm-2.4/include/"
-
-LIBV = "2.4.0"
-
-do_stage () {
- autotools_stage_all
-
- install -m 0644 glib/glibmmconfig.h ${STAGING_INCDIR}/glibmm-2.4
- install -m 0644 scripts/glibmm_check_perl.m4 ${STAGING_DATADIR}/aclocal/
-}
+require glibmm.inc
diff --git a/packages/glibmm/glibmm_2.14.2.bb b/packages/glibmm/glibmm_2.14.2.bb
new file mode 100644
index 0000000000..aeadede939
--- /dev/null
+++ b/packages/glibmm/glibmm_2.14.2.bb
@@ -0,0 +1,3 @@
+require glibmm.inc
+
+DEFAULT_PREFERENCE = "-1"