summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2017-12-13 20:13:54 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-01-02 12:51:32 +0200
commit983892a656743cf2db89e6f824a9afb25c71b075 (patch)
tree80e657d23d6ce20fdbe62269149672eb5114fa59 /eel
parent2ad72d3997a6f433716cb027be963c0748379095 (diff)
downloadnautilus-983892a656743cf2db89e6f824a9afb25c71b075.tar.gz
build: general cleanups
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.
Diffstat (limited to 'eel')
-rw-r--r--eel/meson.build96
1 files changed, 56 insertions, 40 deletions
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)