diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2017-08-11 11:45:48 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2017-10-31 18:20:11 +0100 |
commit | 899e2a934553b5d97f04d2268421eae3cf8a0197 (patch) | |
tree | 57fbcdaf28c79ebeb203232b28783f6786845654 /daemon/trashlib | |
parent | 5db165178a2528802edbe2eaf34ea2a63a78cc02 (diff) | |
download | gvfs-899e2a934553b5d97f04d2268421eae3cf8a0197.tar.gz |
build: Port to meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.
https://bugzilla.gnome.org/show_bug.cgi?id=786149
Diffstat (limited to 'daemon/trashlib')
-rw-r--r-- | daemon/trashlib/Makefile.am | 2 | ||||
-rw-r--r-- | daemon/trashlib/meson.build | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/daemon/trashlib/Makefile.am b/daemon/trashlib/Makefile.am index 323c9425..e92a3214 100644 --- a/daemon/trashlib/Makefile.am +++ b/daemon/trashlib/Makefile.am @@ -13,3 +13,5 @@ libtrash_a_SOURCES = \ trashwatcher.c \ trashexpunge.h \ trashexpunge.c + +EXTRA_DIST = meson.build diff --git a/daemon/trashlib/meson.build b/daemon/trashlib/meson.build new file mode 100644 index 00000000..610bb629 --- /dev/null +++ b/daemon/trashlib/meson.build @@ -0,0 +1,19 @@ +sources = files( + 'dirwatch.c', + 'trashdir.c', + 'trashitem.c', + 'trashwatcher.c', + 'trashexpunge.c' +) + +libtrash = static_library( + 'trash', + sources: sources, + include_directories: top_inc, + dependencies: glib_deps +) + +libtrash_dep = declare_dependency( + link_with: libtrash, + include_directories: include_directories('.') +) |