summaryrefslogtreecommitdiff
path: root/pc
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-09-01 15:08:49 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-23 23:59:40 -0200
commita3db1dddd3ba67c81118f7f2c0bc753dc8aac551 (patch)
tree233ee1be7bfa299bff560207135d20940c4e411f /pc
parent1a3cb45f1cc7fdf8d481879e6bd7349d9cb0b3fa (diff)
efl-js: JavaScript Eolian binding
To configure efl sources with bindings to use in nodejs add ––with-js=nodejs in configure flags to generate node files $ configure --with-js=nodejs and compile normally with: $ make $ make install To use, you have to require efl: efl = require('efl') The bindings is divided in two parts: generated and manually written. The generation uses the Eolian library for parsing Eo files and generate C++ code that is compiled against V8 interpreter library to create a efl.node file that can be required in a node.js instance. @feature
Diffstat (limited to 'pc')
-rw-r--r--pc/.gitignore3
-rw-r--r--pc/efl-js.pc.in15
-rw-r--r--pc/eina-js.pc.in14
-rw-r--r--pc/eo-js.pc.in15
-rw-r--r--pc/eolian-js.pc.in14
-rw-r--r--pc/evas.pc.in2
6 files changed, 62 insertions, 1 deletions
diff --git a/pc/.gitignore b/pc/.gitignore
index c6b8eb4447..1858516cab 100644
--- a/pc/.gitignore
+++ b/pc/.gitignore
@@ -28,6 +28,7 @@
28/efreet.pc 28/efreet.pc
29/eina.pc 29/eina.pc
30/eina-cxx.pc 30/eina-cxx.pc
31/eina-js.pc
31/eet-cxx.pc 32/eet-cxx.pc
32/eio.pc 33/eio.pc
33/eio-cxx.pc 34/eio-cxx.pc
@@ -36,6 +37,7 @@
36/embryo.pc 37/embryo.pc
37/emotion.pc 38/emotion.pc
38/eo.pc 39/eo.pc
40/eo-js.pc
39/ephysics.pc 41/ephysics.pc
40/escape.pc 42/escape.pc
41/ethumb.pc 43/ethumb.pc
@@ -57,6 +59,7 @@
57/evil.pc 59/evil.pc
58/eolian.pc 60/eolian.pc
59/eolian-cxx.pc 61/eolian-cxx.pc
62/eolian-js.pc
60/eo-cxx.pc 63/eo-cxx.pc
61/evas-cxx.pc 64/evas-cxx.pc
62/ecore-cxx.pc 65/ecore-cxx.pc
diff --git a/pc/efl-js.pc.in b/pc/efl-js.pc.in
new file mode 100644
index 0000000000..0c1e00c00c
--- /dev/null
+++ b/pc/efl-js.pc.in
@@ -0,0 +1,15 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3libdir=@libdir@
4includedir=@includedir@
5datarootdir=@datarootdir@
6datadir=@datadir@
7want_js=@want_js@
8
9Name: EFL JavaScript
10Description: JavaScript C++ helpers for data structures
11Version: @PACKAGE_VERSION@
12Requires.private: @requirements_pc_eina@
13Libs.private: @requirements_libs_eina@
14Libs: -L${libdir} -lefl_js
15Cflags: -I${includedir}/efl-js-@VMAJ@ @EFLJS_CXXFLAGS@
diff --git a/pc/eina-js.pc.in b/pc/eina-js.pc.in
new file mode 100644
index 0000000000..6aab608ceb
--- /dev/null
+++ b/pc/eina-js.pc.in
@@ -0,0 +1,14 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3libdir=@libdir@
4includedir=@includedir@
5datarootdir=@datarootdir@
6datadir=@datadir@
7want_js=@want_js@
8
9Name: Eina JavaScript
10Description: JavaScript C++ helpers for data structures
11Version: @PACKAGE_VERSION@
12Requires.private: @requirements_pc_eina@
13Libs.private: @requirements_libs_eina@
14Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/eina-@VMAJ@ -I${includedir}/eina-js-@VMAJ@ \ No newline at end of file
diff --git a/pc/eo-js.pc.in b/pc/eo-js.pc.in
new file mode 100644
index 0000000000..3dedf5c265
--- /dev/null
+++ b/pc/eo-js.pc.in
@@ -0,0 +1,15 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3libdir=@libdir@
4includedir=@includedir@
5datarootdir=@datarootdir@
6datadir=@datadir@
7eoincludedir=@datadir@/eolian/include
8eolian_flags=-I${eoincludedir}/eo-@VMAJ@
9
10Name: Eo JavaScript
11Description: JavaScript C++ helpers for bindings for EFL's generic object system.
12Version: @PACKAGE_VERSION@
13Requires.private: @requirements_pc_eo@
14Libs.private: @requirements_libs_eo@
15Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/eo-@VMAJ@ -I${includedir}/eo-js-@VMAJ@ \ No newline at end of file
diff --git a/pc/eolian-js.pc.in b/pc/eolian-js.pc.in
new file mode 100644
index 0000000000..2dbc1cac73
--- /dev/null
+++ b/pc/eolian-js.pc.in
@@ -0,0 +1,14 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3libdir=@libdir@
4includedir=@includedir@
5datarootdir=@datarootdir@
6datadir=@datadir@
7
8Name: Eolian-JS
9Description: EFL's JavaScript bindings generator.
10Version: @VERSION@
11Require.private: @requirements_pc_eolian@
12Libs: -L${libdir}
13Libs.private: @requirements_libs_eolian@
14Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/eolian-js-@VMAJ@
diff --git a/pc/evas.pc.in b/pc/evas.pc.in
index 4fd66b99d3..c49c058635 100644
--- a/pc/evas.pc.in
+++ b/pc/evas.pc.in
@@ -13,4 +13,4 @@ Requires.private: @requirements_pc_evas@
13Version: @VERSION@ 13Version: @VERSION@
14Libs: -L${libdir} -levas 14Libs: -L${libdir} -levas
15Libs.private: @requirements_libs_evas@ 15Libs.private: @requirements_libs_evas@
16Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/evas-@VMAJ@ 16Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/evas-@VMAJ@ -I${includedir}/evas-@VMAJ@/canvas