[yocto] Help with building app recipe
Neuer User
auslands-kv at gmx.de
Fri May 16 04:23:45 PDT 2014
Hello
I am trying to build a simple recipe for a package called "pyotherside".
It currently looks like this:
------------------------------------------------------------------------
SUMMARY = "Python3 bindings for Qt5"
DESCRIPTION = "New framework for including pyhton interpreter into Qt5 apps"
HOMEPAGE = "http://thp.io/2011/pyotherside/"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR\}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
PV = "1.2+git${SRCPV}"
SRCREV = "87e5eaf4707261dfcb37d7daadef018266c83d5a"
SRC_URI = "git://github.com/thp/pyotherside.git;branch=master;protocol=git \
"
S = "${WORKDIR}/git/"
DEPENDS = "qtdeclarative python3 python3-native"
RDEPENDS_${PN} = "qtdeclarative-qmlplugins"
require recipes-qt/qt5/qt5.inc
------------------------------------------------------------------------
It is WIP, so e.g. the license is stil wrong.
The package depends on Qt5 and Python3.
I am currently experiencing two (rather small) problems:
1.) the configure step does not find "python3-config". It is located in
tmp/sysroots/i686-linux/usr/bin/python3-native
If I do a devshell and edit run.do_configure, I can add this path to the
PATH env variable, and then everything works.
How can I modify my recipe, so that this path is automatically added?
2.) The "python3-config" script just uses "#!/usr/bin/env python" to
define its interpreter, so the system starts the script with python2. If
I change the script manually, it works.
What would be the correct way to change my receipt to make it work? Or
would I need to change the python3 recipe to patch this file?
Thanks for your help!
Michael
P.S.: Seems, pyotherside is working nicely...
More information about the yocto
mailing list