libevas: Add new package
PATCH 6/14 libevas: Add new package
--- package/efl/Config.in | 1 + package/efl/libevas/Config.in | 238 ++++++++++++++++++++++++++++++++++++++++ package/efl/libevas/libevas.mk | 187 +++++++++++++++++++++++++++++++ 3 files changed, 426 insertions(+), 0 deletions(-) create mode 100644 package/efl/libevas/Config.in create mode 100644 package/efl/libevas/libevas.mk
package/efl/Config.in +1 -0
@@ -10,6 +10,7 @@ if BR2_PACKAGE_EFL source "package/efl/libeina/Config.in" source "package/efl/libeet/Config.in" +source "package/efl/libevas/Config.in" endif # BR2_PACKAGE_EFL
package/efl/libevas/Config.in new file +124 -0
124 lines not on this page · raw message
|| BR2_PACKAGE_LIBEVAS_XCB_GLX
+ default BR2_PACKAGE_LIBEVAS_GL
+
+config BR2_PACKAGE_LIBEVAS_GL
+ bool "generic OpenGL"
+
+config BR2_PACKAGE_LIBEVAS_GLES_SGX
+ bool "OpenGL-ES SGX"
+
+config BR2_PACKAGE_LIBEVAS_GLES_S3C6410
+ bool "OpenGL-ES S3C6410"
+endchoice
+
+
+comment "libevas code tuning"
+
+config BR2_PACKAGE_LIBEVAS_DISABLE_C
+ bool "libevas disable C code"
+ depends on BR2_PACKAGE_LIBEVAS_MMX || BR2_PACKAGE_LIBEVAS_SSE ||BR2_PACKAGE_LIBEVAS_SSE3
+ help
+ This disables the generic C fallback code which is not required
+ if MMX or SSE is used instead.
+
+config BR2_PACKAGE_LIBEVAS_MMX
+ bool "libevas MMX routines"
+ depends on BR2_i386 || BR2_x86_64
+ help
+ This enables the MMX optimized routines. this works for + Pentium, Pentium 2, Pentium 3, Pentium 4, Athlon and Duron + processors.
+
+config BR2_PACKAGE_LIBEVAS_SSE
+ bool "libevas SSE routines"
+ depends on BR2_i386 || BR2_x86_64
+ help
+ This enables SSE optimizations available in the Pentium 3 and
+ 4 cpus (not Athlon and Duron or Pentium 2 or Pentium cpus).
+
+config BR2_PACKAGE_LIBEVAS_SSE3
+ bool "libevas SSE3 routines"
+ depends on BR2_i386 || BR2_x86_64
+ help
+ This enables SSE3 optimizations available in the Pentium 4 and
+ above cpus.
+
+config BR2_PACKAGE_LIBEVAS_ALTIVEC
+ bool "libevas altivec routines"
+ depends on BR2_powerpc
+ help
+ This enables AltiVec optimizations available in soem PowerPC cpus.
+
+config BR2_PACKAGE_LIBEVAS_NEON
+ bool "libevas neon routines"
+ depends on BR2_arm
+ help
+ This enables NEON optimizations available in some ARM cpus.
+
+
+comment "libevas loaders"
+
+config BR2_PACKAGE_LIBEVAS_PNG
+ bool "libevas png loader"
+ select BR2_PACKAGE_LIBPNG
+ help
+ This enables the loader code that loads png files using
+ libpng.
+
+config BR2_PACKAGE_LIBEVAS_JPEG
+ bool "libevas jpeg loader"
+ select BR2_PACKAGE_JPEG
+ help
+ This enables the loader code that loads jpeg files using
+ libjpeg.
+
+config BR2_PACKAGE_LIBEVAS_GIF
+ bool "libevas gif loader"
+ select BR2_PACKAGE_LIBUNGIF
+ help
+ This enables the loader code that loads gif files using
+ libungif.
+
+config BR2_PACKAGE_LIBEVAS_PMAPS
+ bool "libevas pmaps loader"
+ help
+ This enables the loader code that loads pmaps files.
+
+config BR2_PACKAGE_LIBEVAS_TIFF
+ bool "libevas tiff loader"
+ select BR2_PACKAGE_TIFF
+ help
+ This enables the loader code that loads tiff files.
+
+config BR2_PACKAGE_LIBEVAS_SVG
+ bool "libevas svg loader"
+ help
+ This enables the loader code that loads svg files.
+
+config BR2_PACKAGE_LIBEVAS_XPM
+ bool "libevas xpm loader"
+ help
+ This enables the loader code that loads xpm files.
+
+config BR2_PACKAGE_LIBEVAS_EET
+ bool "libevas eet image loader"
+ select BR2_PACKAGE_LIBEET
+ help
+ This enables the loader code that loads images using libeet.
+
+config BR2_PACKAGE_LIBEVAS_EET_FONT
+ bool "libevas eet font loader"
+ select BR2_PACKAGE_LIBEET
+ help
+ This enables the loader code that loads fonts using libeet.
+
+endif # BR2_PACKAGE_LIBEVAS
package/efl/libevas/libevas.mk new file +187 -0
187 lines not on this page · raw message
Signature · 2 lines
1.7.1 -------------- next part --------------
PATCH 6/14 libevas: Add new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Will" == Will Newton <[email protected]> writes:
Will> Signed-off-by: Will Newton <[email protected]> Will> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Thanks, committed with minor tweaks.
Will> +comment "libevas backends"
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_BUFFER
Will> + bool "libevas buffer backend"
Will> + depends on BR2_PACKAGE_XORG7
Will> + help
Will> + This enables the software buffer rendering engine. There is
Will> + no hardware assist here.
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_DIRECTFB
Will> + bool "libevas DirectFB backend"
Will> + depends on BR2_PACKAGE_DIRECTFB
It makes sense to enable this if directfb is enabled, so I added
default y
Will> + help
Will> + This is the DirectFB engine that uses the DirectFB library Will> + (http://www.directfb.org) on Linux to access the framebuffer Will> + with (or maybe without) acceleration. Will> + Will> +config BR2_PACKAGE_LIBEVAS_FB Will> + bool "libevas frame buffer backend" Will> + help Will> + This is the software framebuffer driving engine. this uses Will> + the linux framebuffer device (/dev/fb<x>) and will currently Will> + just inherit the current framebuffer settings on the fb Will> + device and use them to run in. Will> + Will> +config BR2_PACKAGE_LIBEVAS_SDL Will> + bool "libevas SDL backend" Will> + select BR2_PACKAGE_SDL Will> + help Will> + This is the software SDL engine that uses SDL library Will> + (http://www.libsdl.org). This library should work on many Will> + operating systems.
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_SDL_GL
Will> + bool "libevas SDL OpenGL backend"
Will> + select BR2_PACKAGE_SDL
This seems to only be supported by the X11 SDL backend, so I made it depend on BR2_PACKAGE_SDL_X11
Will> +comment "libevas code tuning"
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_DISABLE_C
Will> + bool "libevas disable C code"
Will> + depends on BR2_PACKAGE_LIBEVAS_MMX || BR2_PACKAGE_LIBEVAS_SSE ||
Will> BR2_PACKAGE_LIBEVAS_SSE3
Will> + help
Will> + This disables the generic C fallback code which is not required
Will> + if MMX or SSE is used instead.
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_MMX
Will> + bool "libevas MMX routines"
Will> + depends on BR2_i386 || BR2_x86_64
Will> + help
Will> + This enables the MMX optimized routines. this works for Will> + Pentium, Pentium 2, Pentium 3, Pentium 4, Athlon and Duron Will> + processors.
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_SSE
Will> + bool "libevas SSE routines"
Will> + depends on BR2_i386 || BR2_x86_64
Will> + help
Will> + This enables SSE optimizations available in the Pentium 3 and
Will> + 4 cpus (not Athlon and Duron or Pentium 2 or Pentium cpus).
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_SSE3
Will> + bool "libevas SSE3 routines"
Will> + depends on BR2_i386 || BR2_x86_64
Will> + help
Will> + This enables SSE3 optimizations available in the Pentium 4 and
Will> + above cpus.
Will> +
Will> +config BR2_PACKAGE_LIBEVAS_ALTIVEC
Will> + bool "libevas altivec routines"
Will> + depends on BR2_powerpc
Will> + help
Will> + This enables AltiVec optimizations available in soem PowerPC cpus.
s/soem/some/
All of this is bound to give problems with randconfig builds, so I prefer autoselect these options depending on the CPU variant selected in BR, similar to how we do it for ffmpeg.
Signature · 1 line
Bye, Peter Korsgaard