diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-graphics/fim | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-graphics/fim')
-rw-r--r-- | meta-oe/recipes-graphics/fim/files/cross_cc.patch | 29 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb | 52 |
2 files changed, 81 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/fim/files/cross_cc.patch b/meta-oe/recipes-graphics/fim/files/cross_cc.patch new file mode 100644 index 000000000..85ab1ef4a --- /dev/null +++ b/meta-oe/recipes-graphics/fim/files/cross_cc.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 9b0b322d86c7b2d2cddaa62f7dab4aa669739a48 Mon Sep 17 00:00:00 2001 | ||
2 | From: Matthieu Crapet <Matthieu.Crapet@ingenico.com> | ||
3 | Date: Wed, 19 Mar 2014 13:18:21 +0100 | ||
4 | Subject: [PATCH] Upstream-Status: Pending | ||
5 | |||
6 | b2ba should be built by BUILD_CC in cross environment | ||
7 | This is only used when configured with --enable-hardcoded-font | ||
8 | |||
9 | Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> | ||
10 | --- | ||
11 | src/Makefile.am | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
15 | index a1d4330..a8150b9 100644 | ||
16 | --- a/src/Makefile.am | ||
17 | +++ b/src/Makefile.am | ||
18 | @@ -63,7 +63,7 @@ help-acm.cpp: fim.h | ||
19 | $(ECHO) '//#endif' >> $@ | ||
20 | |||
21 | b2ba: | ||
22 | - $(CC) -o b2ba b2ba.c | ||
23 | + $(BUILD_CC) -o b2ba b2ba.c | ||
24 | |||
25 | if FIM_WANT_CUSTOM_HARDCODED_CONSOLEFONT | ||
26 | default_font_byte_array.h: $(FIM_CUSTOM_HARDCODED_CONSOLEFONT) b2ba | ||
27 | -- | ||
28 | 1.8.5.4 | ||
29 | |||
diff --git a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb new file mode 100644 index 000000000..90ac70216 --- /dev/null +++ b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Framebuffer (scriptable) image viewer" | ||
2 | DESCRIPTION = "FIM (Fbi IMproved) aims to be a highly customizable and scriptable \ | ||
3 | image viewer targeted at users who are comfortable with software \ | ||
4 | like the Vim text editor or the Mutt mail user agent." | ||
5 | SECTION = "utils" | ||
6 | HOMEPAGE = "http://www.autistici.org/dezperado/fim/" | ||
7 | |||
8 | LICENSE = "GPLv2" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=fa01bff138cc98a62b8840a157951c88" | ||
10 | |||
11 | PNBLACKLIST[fim] ?= "BROKEN: doesn't build with B!=S (flex: can't open lex.lex)" | ||
12 | |||
13 | # flex with provide /usr/include/FlexLexer.h | ||
14 | DEPENDS = "flex-native bison-native flex" | ||
15 | |||
16 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/fbi-improved/${BPN}-${PV}.tar.gz \ | ||
17 | file://cross_cc.patch" | ||
18 | SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046" | ||
19 | SRC_URI[sha256sum] = "3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686" | ||
20 | |||
21 | PARALLEL_MAKE = "" | ||
22 | |||
23 | inherit autotools pkgconfig | ||
24 | |||
25 | # Don't use provided regex.c | ||
26 | EXTRA_OECONF = "fim_cv_regex=no fim_cv_regex_broken=no \ | ||
27 | --enable-framebuffer \ | ||
28 | --disable-djvu \ | ||
29 | --disable-ps \ | ||
30 | --disable-xcftopnm \ | ||
31 | --disable-convert \ | ||
32 | --disable-inkscape \ | ||
33 | --disable-xfig \ | ||
34 | --disable-dia \ | ||
35 | --disable-aa \ | ||
36 | --disable-sdl \ | ||
37 | --enable-read-dirs \ | ||
38 | --enable-recursive-dirs \ | ||
39 | --enable-custom-status-bar \ | ||
40 | " | ||
41 | |||
42 | # Note: imlib2 is located in meta-efl layer. | ||
43 | PACKAGECONFIG ?= "jpeg rl hf" | ||
44 | PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng" | ||
45 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" | ||
46 | PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" | ||
47 | PACKAGECONFIG[gif] = "--enable-gif,--disable-gif,giflib" | ||
48 | PACKAGECONFIG[pdf] = "--enable-poppler,--disable-poppler,poppler" | ||
49 | PACKAGECONFIG[magick] = "--enable-graphicsmagick,--disable-graphicsmagick,imagemagick" | ||
50 | PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2" | ||
51 | PACKAGECONFIG[rl] = "--enable-readline,--disable-readline,readline" | ||
52 | PACKAGECONFIG[hf] = "--enable-hardcoded-font,--disable-hardcoded-font" | ||