diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2009-09-11 03:23:54 +0200 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2009-09-11 03:33:25 +0200 |
commit | a74a29fb4084d201f664aa00d7d5f0891d6d4822 (patch) | |
tree | 90aa0eaed812beec215ff5aab7fc9e9088c8b1ce /recipes/disko/disko.inc | |
parent | bcc5de7935874cb2e5673526398ddf3a08e9812f (diff) |
disko: update to newer git rev
* stole some input form the disko-oe-git, but rework some stuff
Diffstat (limited to 'recipes/disko/disko.inc')
-rw-r--r-- | recipes/disko/disko.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/disko/disko.inc b/recipes/disko/disko.inc new file mode 100644 index 0000000000..8f531c5a5a --- /dev/null +++ b/recipes/disko/disko.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "Disko is an application framework, that can be used to develop GUI applications for embedded devices." +LICENSE = "GPL" + +DEPENDS = "sqlite3 libpng jpeg curl alsa-lib freetype libxml2 libsigc++-2.0 openssl" + +inherit scons pkgconfig + +ARM_INSTRUCTION_SET = "arm" +LD = ${CXX} + +#workaround for disko which creates .pc inside install +do_install_append () { + +for i in `find ${S}/ ${D}/${libdir}/pkgconfig -name "*.pc" -type f` ; do \ + sed -i -e 's:${D}::g' $i + done +} + +scons_do_stage_append () { + STAGE_PKG_SEARCHPATH="${S}/ ${@['','${WORKDIR}/staging-pkg/'][bb.data.inherits_class('packaged-staging',d)]}" + for i in `find ${STAGE_PKG_SEARCHPATH} -name "*.pc" -type f` ; do \ + sed -i -e 's:${STAGING_DIR_HOST}::g' $i + done +} |