summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/draw/CMakeLists.txt17
-rw-r--r--src/static_libs/draw/draw.h3
-rw-r--r--src/static_libs/draw/draw_main.c1
-rw-r--r--src/static_libs/draw/draw_main_sse2.c1
-rw-r--r--src/static_libs/freetype/CMakeLists.txt5
-rw-r--r--src/static_libs/lz4/CMakeLists.txt6
-rw-r--r--src/static_libs/rg_etc/CMakeLists.txt10
-rw-r--r--src/static_libs/triangulator/CMakeLists.txt18
-rw-r--r--src/static_libs/triangulator/triangulator_simple.h6
-rw-r--r--src/static_libs/triangulator/triangulator_stroker.h4
10 files changed, 65 insertions, 6 deletions
diff --git a/src/static_libs/draw/CMakeLists.txt b/src/static_libs/draw/CMakeLists.txt
new file mode 100644
index 0000000000..b2ad0041dc
--- /dev/null
+++ b/src/static_libs/draw/CMakeLists.txt
@@ -0,0 +1,17 @@
1set(LIBRARIES
2 eina
3)
4
5set(SOURCES
6 draw_main.c
7 draw_main_neon.c
8 draw_main_sse2.c
9)
10
11set(INCLUDE_DIRECTORIES
12 ${CMAKE_BINARY_DIR}/src/lib
13)
14
15set(DEPENDENCIES
16 efl-eo
17)
diff --git a/src/static_libs/draw/draw.h b/src/static_libs/draw/draw.h
index b63b73d2e0..9f4089aba0 100644
--- a/src/static_libs/draw/draw.h
+++ b/src/static_libs/draw/draw.h
@@ -5,7 +5,8 @@
5# include <config.h> 5# include <config.h>
6#endif 6#endif
7 7
8#include <Efl.h> 8#include <Eina.h>
9#include "efl/interfaces/efl_gfx_types.eot.h"
9 10
10/* FIXME: naming convention */ 11/* FIXME: naming convention */
11typedef void (*RGBA_Comp_Func) (uint32_t *dest, const uint32_t *src, int length, uint32_t mul_col, uint32_t const_alpha); 12typedef void (*RGBA_Comp_Func) (uint32_t *dest, const uint32_t *src, int length, uint32_t mul_col, uint32_t const_alpha);
diff --git a/src/static_libs/draw/draw_main.c b/src/static_libs/draw/draw_main.c
index 40b32e99da..8577beacce 100644
--- a/src/static_libs/draw/draw_main.c
+++ b/src/static_libs/draw/draw_main.c
@@ -2,7 +2,6 @@
2#include "config.h" 2#include "config.h"
3#endif 3#endif
4 4
5#include <Ector.h>
6#include "draw_private.h" 5#include "draw_private.h"
7 6
8int _draw_log_dom = -1; 7int _draw_log_dom = -1;
diff --git a/src/static_libs/draw/draw_main_sse2.c b/src/static_libs/draw/draw_main_sse2.c
index e8f934055b..58ed7a3c12 100644
--- a/src/static_libs/draw/draw_main_sse2.c
+++ b/src/static_libs/draw/draw_main_sse2.c
@@ -2,7 +2,6 @@
2#include "config.h" 2#include "config.h"
3#endif 3#endif
4 4
5#include <Ector.h>
6#include "draw_private.h" 5#include "draw_private.h"
7 6
8#ifdef BUILD_SSE3 7#ifdef BUILD_SSE3
diff --git a/src/static_libs/freetype/CMakeLists.txt b/src/static_libs/freetype/CMakeLists.txt
new file mode 100644
index 0000000000..5f669df285
--- /dev/null
+++ b/src/static_libs/freetype/CMakeLists.txt
@@ -0,0 +1,5 @@
1set(SOURCES
2 sw_ft_math.c
3 sw_ft_raster.c
4 sw_ft_stroker.c
5)
diff --git a/src/static_libs/lz4/CMakeLists.txt b/src/static_libs/lz4/CMakeLists.txt
new file mode 100644
index 0000000000..29bdb2032f
--- /dev/null
+++ b/src/static_libs/lz4/CMakeLists.txt
@@ -0,0 +1,6 @@
1set(SOURCES
2 lz4.c
3 lz4.h
4 lz4hc.c
5 lz4hc.h
6)
diff --git a/src/static_libs/rg_etc/CMakeLists.txt b/src/static_libs/rg_etc/CMakeLists.txt
new file mode 100644
index 0000000000..2511bc1837
--- /dev/null
+++ b/src/static_libs/rg_etc/CMakeLists.txt
@@ -0,0 +1,10 @@
1set(LIBRARIES
2 eina
3)
4
5set(SOURCES
6 etc2_encoder.c
7 rg_etc1.c
8 rg_etc1.h
9 rg_etc2.c
10)
diff --git a/src/static_libs/triangulator/CMakeLists.txt b/src/static_libs/triangulator/CMakeLists.txt
new file mode 100644
index 0000000000..78185589df
--- /dev/null
+++ b/src/static_libs/triangulator/CMakeLists.txt
@@ -0,0 +1,18 @@
1set(LIBRARIES
2 eina
3)
4
5set(SOURCES
6 triangulator_simple.c
7 triangulator_simple.h
8 triangulator_stroker.c
9 triangulator_stroker.h
10)
11
12set(INCLUDE_DIRECTORIES
13 ${CMAKE_BINARY_DIR}/src/lib
14)
15
16set(DEPENDENCIES
17 efl-eo
18)
diff --git a/src/static_libs/triangulator/triangulator_simple.h b/src/static_libs/triangulator/triangulator_simple.h
index e87acc6e40..e0c41f6255 100644
--- a/src/static_libs/triangulator/triangulator_simple.h
+++ b/src/static_libs/triangulator/triangulator_simple.h
@@ -1,7 +1,9 @@
1#ifndef TRIANGULATOR_SIMPLE_H_ 1#ifndef TRIANGULATOR_SIMPLE_H_
2#define TRIANGULATOR_SIMPLE_H_ 2#define TRIANGULATOR_SIMPLE_H_
3 3
4#include <Efl.h> 4#include <Eina.h>
5#include "efl/interfaces/efl_gfx_types.eot.h"
6typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
5 7
6typedef struct _Triangulator_Simple Triangulator_Simple; 8typedef struct _Triangulator_Simple Triangulator_Simple;
7struct _Triangulator_Simple 9struct _Triangulator_Simple
@@ -40,4 +42,4 @@ void triangulator_simple_free(Triangulator_Simple *st);
40 */ 42 */
41void triangulator_simple_process(Triangulator_Simple *st, const Efl_Gfx_Path_Command *cmds, const double *pts, Eina_Bool convex); 43void triangulator_simple_process(Triangulator_Simple *st, const Efl_Gfx_Path_Command *cmds, const double *pts, Eina_Bool convex);
42 44
43#endif // #endif // TRIANGULATOR_SIMPLE_H_ \ No newline at end of file 45#endif // #endif // TRIANGULATOR_SIMPLE_H_
diff --git a/src/static_libs/triangulator/triangulator_stroker.h b/src/static_libs/triangulator/triangulator_stroker.h
index 5cc7805638..2dee4290e4 100644
--- a/src/static_libs/triangulator/triangulator_stroker.h
+++ b/src/static_libs/triangulator/triangulator_stroker.h
@@ -1,7 +1,9 @@
1#ifndef TRIANGULATOR_STROKER_H_ 1#ifndef TRIANGULATOR_STROKER_H_
2#define TRIANGULATOR_STROKER_H_ 2#define TRIANGULATOR_STROKER_H_
3 3
4#include <Efl.h> 4#include <Eina.h>
5#include "efl/interfaces/efl_gfx_types.eot.h"
6typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
5 7
6typedef struct _Triangulator_Stroker Triangulator_Stroker; 8typedef struct _Triangulator_Stroker Triangulator_Stroker;
7struct _Triangulator_Stroker 9struct _Triangulator_Stroker