From 3e49d1cbc83ed8d05d3bb97721adf72adfe3652d Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Sun, 17 Dec 2006 17:57:15 +0000 Subject: gtkmm: unify, make use of GNOME_MIRROR --- packages/gtkmm/gtkmm.inc | 13 +++++++++++++ packages/gtkmm/gtkmm_2.4.8.bb | 17 ++--------------- packages/gtkmm/gtkmm_2.8.3.bb | 17 +++-------------- 3 files changed, 18 insertions(+), 29 deletions(-) create mode 100644 packages/gtkmm/gtkmm.inc (limited to 'packages/gtkmm') diff --git a/packages/gtkmm/gtkmm.inc b/packages/gtkmm/gtkmm.inc new file mode 100644 index 0000000000..843274fdc5 --- /dev/null +++ b/packages/gtkmm/gtkmm.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "C++ bindings for the GTK+ toolkit." +HOMEPAGE = "http://www.gtkmm.org/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "glibmm" + +inherit autotools pkgconfig flow-lossage + +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${libdir}/glibmm-2.4/include/" + +LIBV = "2.4.0" diff --git a/packages/gtkmm/gtkmm_2.4.8.bb b/packages/gtkmm/gtkmm_2.4.8.bb index c16dde33b0..1c5a2a2b10 100644 --- a/packages/gtkmm/gtkmm_2.4.8.bb +++ b/packages/gtkmm/gtkmm_2.4.8.bb @@ -1,19 +1,6 @@ -LICENSE = "LGPL" -DESCRIPTION = "C++ bindings for the GTK+ toolkit." -HOMEPAGE = "http://www.gtkmm.org/" -SECTION = "libs" -PRIORITY = "optional" -DEPENDS = "glibmm" -PR = "r0" +require gtkmm.inc -SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/gtkmm-${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" +SRC_URI = "${GNOME_MIRROR}/gtkmm/2.4/gtkmm-${PV}.tar.bz2" do_stage () { oe_libinstall -so -C atk/atkmm libatkmm-1.6 ${STAGING_LIBDIR} diff --git a/packages/gtkmm/gtkmm_2.8.3.bb b/packages/gtkmm/gtkmm_2.8.3.bb index 41285736b5..dae68298c8 100644 --- a/packages/gtkmm/gtkmm_2.8.3.bb +++ b/packages/gtkmm/gtkmm_2.8.3.bb @@ -1,19 +1,8 @@ -LICENSE = "LGPL" -DESCRIPTION = "C++ bindings for the GTK+ toolkit." -HOMEPAGE = "http://www.gtkmm.org/" -SECTION = "libs" -PRIORITY = "optional" -DEPENDS = "glibmm" -PR = "r1" - -SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.8/gtkmm-${PV}.tar.bz2" +require gtkmm.inc -inherit autotools pkgconfig flow-lossage - -FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${libdir}/glibmm-2.4/include/" +PR = "r1" -LIBV = "2.4.0" +SRC_URI = "${GNOME_MIRROR}/gtkmm/2.8/gtkmm-${PV}.tar.bz2" do_stage () { autotools_stage_all -- cgit v1.2.3