mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
ed5652c89a
Since it’s 2017 already, Nautilus should use a build system that doesn’t take longer to set up the build than it takes to actually build. An observed build time using Ninja of roughly one-fifth of what it took Autotools is more than reason enough to add support for Meson. Along with that, this commit adds a convenience script to generate a tarball for releases, since we use libgd as a submodule and Meson does not handle source distributions. https://bugzilla.gnome.org/show_bug.cgi?id=778167
47 lines
1.3 KiB
Meson
47 lines
1.3 KiB
Meson
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',
|
|
]
|
|
|
|
libeel_2_deps = [glib, gtk, gail, libm, x11]
|
|
|
|
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)
|
|
|
|
check_eel = executable ('check-eel',
|
|
'check-program.c',
|
|
dependencies: [eel_2, xml])
|
|
|
|
test ('check-eel', check_eel)
|