From 983892a656743cf2db89e6f824a9afb25c71b075 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Wed, 13 Dec 2017 20:13:54 +0200 Subject: build: general cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit does the following: * Canonicalize the style: * Use two-space indentations. * Un-Autotools-ify option names. * Don’t align arguments, simply increase indentation. * Don’t add a space before opening parenthesis in calls. * Remove unused variables. * Remove unused dependencies. * Remove config.h.meson. * Optimize dependencies. * Use disabler functionality for libselinux dependency, to save lines. --- eel/meson.build | 96 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 56 insertions(+), 40 deletions(-) (limited to 'eel') diff --git a/eel/meson.build b/eel/meson.build index ac2edeabc..c8e76cede 100644 --- a/eel/meson.build +++ b/eel/meson.build @@ -1,47 +1,63 @@ libeel_2_sources = [ - 'eel-accessibility.h', - 'eel-accessibility.c', - 'eel-art-extensions.h', - 'eel-art-extensions.c', - 'eel-canvas.h', - 'eel-canvas.c', - 'eel-debug.h', - 'eel-debug.c', - 'eel-gdk-extensions.h', - 'eel-gdk-extensions.c', - 'eel-glib-extensions.h', - 'eel-glib-extensions.c', - 'eel-gnome-extensions.h', - 'eel-gnome-extensions.c', - 'eel-graphic-effects.h', - 'eel-graphic-effects.c', - 'eel-gtk-extensions.h', - 'eel-self-checks.h', - 'eel-self-checks.c', - 'eel-stock-dialogs.h', - 'eel-stock-dialogs.c', - 'eel-string.h', - 'eel-string.c', - 'eel-vfs-extensions.h', - 'eel-vfs-extensions.c', - 'eel.h', - 'eel-gtk-extensions.c', - 'eel-lib-self-check-functions.h', - 'eel-lib-self-check-functions.c', + 'eel-accessibility.h', + 'eel-accessibility.c', + 'eel-art-extensions.h', + 'eel-art-extensions.c', + 'eel-canvas.h', + 'eel-canvas.c', + 'eel-debug.h', + 'eel-debug.c', + 'eel-gdk-extensions.h', + 'eel-gdk-extensions.c', + 'eel-glib-extensions.h', + 'eel-glib-extensions.c', + 'eel-gnome-extensions.h', + 'eel-gnome-extensions.c', + 'eel-graphic-effects.h', + 'eel-graphic-effects.c', + 'eel-gtk-extensions.h', + 'eel-self-checks.h', + 'eel-self-checks.c', + 'eel-stock-dialogs.h', + 'eel-stock-dialogs.c', + 'eel-string.h', + 'eel-string.c', + 'eel-vfs-extensions.h', + 'eel-vfs-extensions.c', + 'eel.h', + 'eel-gtk-extensions.c', + 'eel-lib-self-check-functions.h', + 'eel-lib-self-check-functions.c', ] -libeel_2_deps = [glib, gtk, gail, libm, x11] +libeel_2_deps = [ + gail, + glib, + gtk, + libm, + x11 +] -libeel_2 = static_library ('eel-2', libeel_2_sources, - dependencies: libeel_2_deps, - include_directories: nautilus_include_dirs) +libeel_2 = static_library( + 'eel-2', + libeel_2_sources, + dependencies: libeel_2_deps, + include_directories: nautilus_include_dirs +) -eel_2 = declare_dependency (link_with: libeel_2, - include_directories: nautilus_include_dirs, - dependencies: libeel_2_deps) +eel_2 = declare_dependency( + link_with: libeel_2, + include_directories: nautilus_include_dirs, + dependencies: libeel_2_deps +) -check_eel = executable ('check-eel', - 'check-program.c', - dependencies: [eel_2, xml]) +check_eel = executable( + 'check-eel', + 'check-program.c', + dependencies: [ + eel_2, + xml + ] +) -test ('check-eel', check_eel) +test('check-eel', check_eel) -- cgit v1.2.1