aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-12-05 18:32:23 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-11 01:54:24 +0100
commitf36e2e2ea4edcd4a0e65ed1c213bce388231214c (patch)
treeea9d7ebb5e001b586460b168ca75c04132725cb4
parent64e891e02f58ace1fac85b7f5edd61303c938a35 (diff)
downloadmeta-openembedded-contrib-f36e2e2ea4edcd4a0e65ed1c213bce388231214c.tar.gz
gcalctool: upgrade to 5.32.0
* 5.8.17 required scrollkeeper which we don't provide as scrollkeeper-native * inherit gsettings to package glib-2.0/shemas and compile them on target * add LICENSE version and LIC_FILES_CHKSUM * use SHRT_VER * replace local patch with sed (other chunk is already resolved upstream) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-gnome/recipes-gnome/gcalctool/gcalctool_5.32.0.bb18
-rw-r--r--meta-gnome/recipes-gnome/gcalctool/gcalctool_5.8.17.bb15
2 files changed, 18 insertions, 15 deletions
diff --git a/meta-gnome/recipes-gnome/gcalctool/gcalctool_5.32.0.bb b/meta-gnome/recipes-gnome/gcalctool/gcalctool_5.32.0.bb
new file mode 100644
index 0000000000..88cf1d6cae
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gcalctool/gcalctool_5.32.0.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "gcalctool is a powerful calculator"
+SECTION = "x11"
+DEPENDS = "gtk+ gnome-doc-utils"
+
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
+SRC_URI = "http://download.gnome.org/sources/${PN}/${SHRT_VER}/${PN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "48db927c6e7ee1d5395f953a8c184c98"
+SRC_URI[sha256sum] = "346f645c0fdef900642f6e9a2c18e7ba9a7ca9bc62fe2b08eb418f065a425c89"
+
+inherit autotools pkgconfig gsettings
+
+do_configure_prepend() {
+ sed -i -e "s: help: :g" ${S}/Makefile.am
+}
diff --git a/meta-gnome/recipes-gnome/gcalctool/gcalctool_5.8.17.bb b/meta-gnome/recipes-gnome/gcalctool/gcalctool_5.8.17.bb
deleted file mode 100644
index 61b28e4ae3..0000000000
--- a/meta-gnome/recipes-gnome/gcalctool/gcalctool_5.8.17.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-LICENSE = "GPL"
-SECTION = "x11"
-DEPENDS = "gtk+ gnome-doc-utils"
-DESCRIPTION = "gcalctool is a powerful calculator"
-PR = "r0"
-
-SRC_URI = "http://download.gnome.org/sources/${PN}/5.8/${PN}-${PV}.tar.gz \
- file://fix-includedir.patch"
-
-SRC_URI[md5sum] = "dd9d4f326d7d925a5ad9fbb1c5b32142"
-SRC_URI[sha256sum] = "8806e7696eeee62f2df21135fc488ba99f7d55dfd2a40bb9615e2edd95391589"
-
-inherit autotools pkgconfig
-
-EXTRA_OECONF = "--disable-gnome"