From: Martin Jansa Date: Sun, 13 Feb 2011 06:52:41 +0000 (+0100) Subject: spojegui: fix build without ipkg-build and fix QA issues X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ea894c6fdc1ec26f596243a4f4c2a567726a756;p=openembedded.git spojegui: fix build without ipkg-build and fix QA issues Signed-off-by: Martin Jansa --- diff --git a/recipes/openmoko-3rdparty/spojegui_svn.bb b/recipes/openmoko-3rdparty/spojegui_svn.bb index a0700e0112..8e94d7b042 100644 --- a/recipes/openmoko-3rdparty/spojegui_svn.bb +++ b/recipes/openmoko-3rdparty/spojegui_svn.bb @@ -8,7 +8,7 @@ RDEPENDS_${PN} = "python-core python-elementary python-sqlite3 python-netclient" SRCREV = "64" PV = "0.4.2+svnr${SRCPV}" -PR = "r1" +PR = "r2" S = "${WORKDIR}/build" @@ -16,6 +16,12 @@ PACKAGE_ARCH = "all" SRC_URI = "svn://xeres.cz/spoje;module=build" +# override base_do_compile with own as included Makefile calls ipkg-build and it's not usefull to us at all +do_compile() { + # fix QA issue + sed -i '/^Encoding/d;/^Version/d;s/Categories=Application;/Categories=Utility;/g' ${S}/data/spoje.desktop +} + do_install() { install -d "${D}/${bindir}" install -m 0755 "${S}/src/spoje.py" "${D}/${bindir}"