[oe-commits] Matthieu CRAPET : fbida: update to 2.10
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 7 11:11:18 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: 2ef1da8eeeb0b70875c7159069f21396b1f1e12f
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=2ef1da8eeeb0b70875c7159069f21396b1f1e12f
Author: Matthieu CRAPET <Matthieu.CRAPET at ingenico.com>
Date: Wed Apr 1 11:24:50 2015 +0200
fbida: update to 2.10
This release fixes QA Issue [file-rdeps]
Changes:
- fix HAVE_LIBUNGIF => HAVE_LIBGIF
- add "curl" and "webp" to PACKAGECONFIG
Signed-off-by: Matthieu Crapet <Matthieu.Crapet at ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../fbida/{fbida_git.bb => fbida_2.10.bb} | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/meta-oe/recipes-graphics/fbida/fbida_git.bb b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
similarity index 66%
rename from meta-oe/recipes-graphics/fbida/fbida_git.bb
rename to meta-oe/recipes-graphics/fbida/fbida_2.10.bb
index 41c14b8..c7195fc 100644
--- a/meta-oe/recipes-graphics/fbida/fbida_git.bb
+++ b/meta-oe/recipes-graphics/fbida/fbida_2.10.bb
@@ -8,20 +8,21 @@ SECTION = "utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
-DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif curl"
+DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif"
-SRC_URI = "git://git.kraxel.org/fbida"
-SRCREV = "6aa5563cb3c8864ad15cf83eb6fca3b773da1099"
-PV = "2.09+git${SRCPV}"
-S = "${WORKDIR}/git"
+SRC_URI = "https://www.kraxel.org/releases/fbida/fbida-${PV}.tar.gz"
+SRC_URI[md5sum] = "09460b964b58c2e39b665498eca29018"
+SRC_URI[sha256sum] = "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6"
EXTRA_OEMAKE = "STRIP="
-PACKAGECONFIG ??= "gif png"
+PACKAGECONFIG ??= "gif png curl"
+PACKAGECONFIG[curl] = ",,curl"
PACKAGECONFIG[gif] = ",,giflib"
PACKAGECONFIG[png] = ",,libpng"
PACKAGECONFIG[tiff] = ",,tiff"
PACKAGECONFIG[motif] = ",,libx11 libxext libxpm libxt openmotif"
+PACKAGECONFIG[webp] = ",,libwebp"
do_compile() {
sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk
@@ -29,8 +30,11 @@ do_compile() {
# Be sure to respect preferences (force to "no")
# Also avoid issues when ${BUILD_ARCH} == ${HOST_ARCH}
+ if [ -z "${@base_contains('PACKAGECONFIG', 'curl', 'curl', '', d)}" ]; then
+ sed -i -e '/^HAVE_LIBCURL/s/:=.*$/:= no/' ${S}/GNUmakefile
+ fi
if [ -z "${@base_contains('PACKAGECONFIG', 'gif', 'gif', '', d)}" ]; then
- sed -i -e '/^HAVE_LIBUNGIF/s/:=.*$/:= no/' ${S}/GNUmakefile
+ sed -i -e '/^HAVE_LIBGIF/s/:=.*$/:= no/' ${S}/GNUmakefile
fi
if [ -z "${@base_contains('PACKAGECONFIG', 'png', 'png', '', d)}" ]; then
sed -i -e '/^HAVE_LIBPNG/s/:=.*$/:= no/' ${S}/GNUmakefile
@@ -41,6 +45,9 @@ do_compile() {
if [ -z "${@base_contains('PACKAGECONFIG', 'motif', 'motif', '', d)}" ]; then
sed -i -e '/^HAVE_MOTIF/s/:=.*$/:= no/' ${S}/GNUmakefile
fi
+ if [ -z "${@base_contains('PACKAGECONFIG', 'webp', 'webp', '', d)}" ]; then
+ sed -i -e '/^HAVE_LIBWEBP/s/:=.*$/:= no/' ${S}/GNUmakefile
+ fi
oe_runmake
}
More information about the Openembedded-commits
mailing list