aboutsummaryrefslogtreecommitdiffstats
path: root/src/edje_external
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-12 15:26:29 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-02 17:22:50 +0200
commit46d464e5bfc10398461a33a2256c1c58d509dd1a (patch)
tree8c1a9272c05f14033a4430bc122632461bd73608 /src/edje_external
parentecore_cocoa: stop leaking init counts (diff)
downloadefl-46d464e5bfc10398461a33a2256c1c58d509dd1a.tar.gz
here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on https://phab.enlightenment.org/D7011
Diffstat (limited to 'src/edje_external')
-rw-r--r--src/edje_external/elementary/meson.build50
-rw-r--r--src/edje_external/emotion/meson.build8
-rw-r--r--src/edje_external/meson.build12
3 files changed, 70 insertions, 0 deletions
diff --git a/src/edje_external/elementary/meson.build b/src/edje_external/elementary/meson.build
new file mode 100644
index 0000000000..383ab77d8b
--- /dev/null
+++ b/src/edje_external/elementary/meson.build
@@ -0,0 +1,50 @@
+edje_external_elementary = [
+ 'private.h',
+ 'elm.c',
+ 'elm_actionslider.c',
+ 'elm_bg.c',
+ 'elm_bubble.c',
+ 'elm_button.c',
+ 'elm_calendar.c',
+ 'elm_check.c',
+ 'elm_clock.c',
+ 'elm_combobox.c',
+ 'elm_entry.c',
+ 'elm_fileselector.c',
+ 'elm_fileselector_button.c',
+ 'elm_fileselector_entry.c',
+ 'elm_frame.c',
+ 'elm_gengrid.c',
+ 'elm_genlist.c',
+ 'elm_hoversel.c',
+ 'elm_icon.c',
+ 'elm_index.c',
+ 'elm_label.c',
+ 'elm_list.c',
+ 'elm_map.c',
+ 'elm_multibuttonentry.c',
+ 'elm_naviframe.c',
+ 'elm_notify.c',
+ 'elm_panes.c',
+ 'elm_photocam.c',
+ 'elm_progressbar.c',
+ 'elm_radio.c',
+ 'elm_scroller.c',
+ 'elm_segment_control.c',
+ 'elm_slider.c',
+ 'elm_slideshow.c',
+ 'elm_spinner.c',
+ 'elm_thumb.c',
+ 'elm_toolbar.c',
+ 'elm_video.c',
+ 'elm_web.c'
+]
+
+ecore_systemd_mod = shared_module('elementary',
+ edje_external_elementary,
+ dependencies: [edje, elementary, elementary_deps],
+ install: true,
+ install_dir: mod_install_dir,
+ c_args : elm_package_c_args,
+)
+module_files += join_paths(mod_install_dir, 'libelementary.' + sys_mod_extension)
diff --git a/src/edje_external/emotion/meson.build b/src/edje_external/emotion/meson.build
new file mode 100644
index 0000000000..63e6ff82a0
--- /dev/null
+++ b/src/edje_external/emotion/meson.build
@@ -0,0 +1,8 @@
+ecore_systemd_mod = shared_module('emotion',
+ 'emotion.c',
+ dependencies: [edje, emotion],
+ install: true,
+ install_dir: mod_install_dir,
+ c_args : emotion_package_c_args
+)
+module_files += join_paths(mod_install_dir, 'libemotion.' + sys_mod_extension)
diff --git a/src/edje_external/meson.build b/src/edje_external/meson.build
new file mode 100644
index 0000000000..73af952374
--- /dev/null
+++ b/src/edje_external/meson.build
@@ -0,0 +1,12 @@
+edje_externals = ['emotion', 'elementary']
+
+foreach edje_external : edje_externals
+ #!?%$ยง#! custom nane for edje externals
+ if (edje_external == 'elementary')
+ mod_install_dir = join_paths(dir_lib, 'edje', 'modules', 'elm', version_name)
+ else
+ mod_install_dir = join_paths(dir_lib, 'edje', 'modules', edje_external, version_name)
+ endif
+ subdir(edje_external)
+endforeach
+