diff options
Diffstat (limited to 'recipes/disko/disko_git.bb')
-rw-r--r-- | recipes/disko/disko_git.bb | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/recipes/disko/disko_git.bb b/recipes/disko/disko_git.bb index 657fb40cec..a48ec15d39 100644 --- a/recipes/disko/disko_git.bb +++ b/recipes/disko/disko_git.bb @@ -7,10 +7,11 @@ DEPENDS = "sqlite3 libpng jpeg curl alsa-lib taglib directfb libxml2 virtual/lib libxv libxxf86vm" SRC_URI = "git://www.diskohq.org/disko.git;protocol=git \ - file://header.patch;patch=1 \ - file://pkgconfig.patch;patch=1 \ + file://linkpath.patch;patch=1 \ + file://pkgconfig.patch;patch=1 \ " -SRCREV = "bf29da8c0060a2b4f0f9593524ca71aa1adfbc0c" + +SRCREV = "ed1d2905be5ae4fff37c498847c298fa501bbde1" S = "${WORKDIR}/git" @@ -20,3 +21,18 @@ do_compile() { ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} graphics=all PREFIX=${prefix} prefix=${prefix} || \ oefatal "scons build execution failed." } + +#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 +} |