diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2010-03-16 08:16:31 +0100 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2010-03-16 08:16:31 +0100 |
commit | 778845163c7978a4b912ca8f8be647f12f7a451e (patch) | |
tree | 784ca370fb6b06757fa1aa8adba562d3e57fb592 /recipes/fbv/fbv_1.0b.bb | |
parent | 9f06d76aaebf119e56973a0a2eecfa17689e3b0c (diff) | |
download | openembedded-778845163c7978a4b912ca8f8be647f12f7a451e.tar.gz |
fbv-1.0: Build fbv with support for jpeg and bmp
fbv today only supports png files.
This patch will enable jpeg and bmp support in fbv
Signed-off-by: Ulf Samuelsson <ulf.samuelsson@atmel.com>
Diffstat (limited to 'recipes/fbv/fbv_1.0b.bb')
-rw-r--r-- | recipes/fbv/fbv_1.0b.bb | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/recipes/fbv/fbv_1.0b.bb b/recipes/fbv/fbv_1.0b.bb index 04c70661d6..6016e0a709 100644 --- a/recipes/fbv/fbv_1.0b.bb +++ b/recipes/fbv/fbv_1.0b.bb @@ -1,25 +1,28 @@ DESCRIPTION = "Frame Buffer Viewer" LICENSE = "GPL" -DEPENDS = "libpng" -PR = "r1" +DEPENDS = "libpng jpeg" +PR = "r2" SRC_URI = "http://s-tech.elsat.net.pl/fbv/fbv-1.0b.tar.gz \ - file://cross_compile.patch;patch=1" + file://cross_compile.patch;patch=1 \ + file://fbv-1.0b.patch;patch=1 \ + " do_configure() { - CC="${CC}" ./configure --without-libungif --without-bmp \ - --without-libjpeg + CC="${CC}" ./configure --without-libungif } do_compile() { - oe_runmake CFLAGS="-O2 -Wall -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES" \ - CC="${CC}" + oe_runmake CC="${CC}" \ + CFLAGS="-O2 -Wall -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES" } + do_install() { install -d ${D}${bindir} - install -m 0755 fbv ${D}${bindir} + install -m 0755 fbv ${D}${bindir} - # man - install -d ${D}${mandir}/man1/ - install -m 0644 fbv.1 ${D}${mandir}/man1/fbv.1 +# man + install -d ${D}${mandir}/man1/ + install -m 0644 fbv.1 ${D}${mandir}/man1/fbv.1 } + |