summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-08-11 13:57:42 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-08-11 22:56:33 +0200
commit11085f91c24dd895dfd1e9d02a71f1a3346e3c00 (patch)
tree8e56a2f455e0a1335c912674759e8bf0c3ec7b6a /gdbus
parent4ef809a42f55adec9d32210867028aa502639a88 (diff)
downloaddconf-11085f91c24dd895dfd1e9d02a71f1a3346e3c00.tar.gz
build: Do not make heavy use of project_name
The current meson build files make heavy use of meson's `project_name` function. However this makes difficult for any developer to find for given program/library/file names. The project name is also never going to change. Due to this reason these calls have been changed for `dconf` itself.
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/meson.build14
1 files changed, 5 insertions, 9 deletions
diff --git a/gdbus/meson.build b/gdbus/meson.build
index 1aef9fb..666824f 100644
--- a/gdbus/meson.build
+++ b/gdbus/meson.build
@@ -1,10 +1,8 @@
-name = meson.project_name() + '-gdbus-thread'
-
-cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())
+cflags = '-DG_LOG_DOMAIN="dconf"'
libdconf_gdbus_thread = static_library(
- name,
- sources: name + '.c',
+ 'dconf-gdbus-thread',
+ sources: 'dconf-gdbus-thread.c',
include_directories: top_inc,
dependencies: libdconf_engine_dep,
c_args: cflags,
@@ -16,11 +14,9 @@ libdconf_gdbus_thread_dep = declare_dependency(
link_with: libdconf_gdbus_thread
)
-name = meson.project_name() + '-gdbus-filter'
-
libdconf_gdbus_filter = static_library(
- name,
- sources: name + '.c',
+ 'dconf-gdbus-filter',
+ sources: 'dconf-gdbus-filter.c',
include_directories: top_inc,
dependencies: libdconf_engine_dep,
c_args: cflags,