summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-04-29 17:44:34 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-03 11:43:51 +0100
commitdaf5113a819f970b207da7eb31f9d25f7e146897 (patch)
tree5863234103c28699be891b7dcdf3ba1eb22e4f0e /meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
parent29abd1fcfc03f923ad7141133c9bb1571db1e5ea (diff)
downloadpoky-daf5113a819f970b207da7eb31f9d25f7e146897.tar.gz
libart_lgpl: Allow art_config.h to be generated at compile time
* Remove patch that prevents the Makefile from generating the art_config.h file * Remove pre-generated art_config.h for various architecture * Add a do_compile prepend to remove the art_config.h that is provided in the source so that the compilation will regenerate the file (From OE-Core rev: 91f3255ad700736bbf5d1b35b48db1708676a469) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb')
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb b/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
index 4966ea4c7a..138461684c 100644
--- a/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
+++ b/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
@@ -4,12 +4,8 @@ LICENSE = "LGPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" 4LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
5PR = "r2" 5PR = "r2"
6 6
7ART_CONFIG = "${HOST_ARCH}/art_config.h"
8
9# can't use gnome.oeclass due to _ in filename 7# can't use gnome.oeclass due to _ in filename
10SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \ 8SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2"
11 file://${ART_CONFIG} \
12 file://Makefile.am.patch"
13 9
14SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302" 10SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302"
15SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa" 11SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa"
@@ -23,6 +19,8 @@ FILES_${PN}-dev += "${bindir}/libart2-config"
23 19
24S = "${WORKDIR}/libart_lgpl-${PV}" 20S = "${WORKDIR}/libart_lgpl-${PV}"
25 21
26do_configure_prepend() { 22do_compile_prepend() {
27 cp ${WORKDIR}/${ART_CONFIG} ${S}/art_config.h 23 # enforce regeneration of art_config.h
24 rm ${S}/art_config.h
28} 25}
26