[refactor] change name app name to teleport

This commit is contained in:
Julian Sparber
2017-10-02 14:38:17 +02:00
parent 56835864e6
commit cfe4793b0a
10 changed files with 62 additions and 64 deletions

View File

@@ -29,9 +29,9 @@ sources = files(
sources += gnome.compile_resources(
'gtd-resources',
join_paths(data_dir, 'teleportapp.gresource.xml'),
join_paths(data_dir, 'teleport.gresource.xml'),
source_dir: [ data_dir, join_paths(meson.build_root(), 'plugins') ],
c_name: 'teleportapp',
c_name: 'teleport',
# dependencies: plugins_confs,
export: true
)
@@ -57,11 +57,11 @@ incs = [
]
cflags = [
'-DPACKAGE_DATA_DIR="@0@"'.format(teleportapp_pkgdatadir),
'-DPACKAGE_LIB_DIR="@0@"'.format(teleportapp_pkglibdir),
'-DPACKAGE_LOCALE_DIR="@0@"'.format(teleportapp_localedir),
'-DPACKAGE_DATA_DIR="@0@"'.format(teleport_pkgdatadir),
'-DPACKAGE_LIB_DIR="@0@"'.format(teleport_pkglibdir),
'-DPACKAGE_LOCALE_DIR="@0@"'.format(teleport_localedir),
'-DPACKAGE_SRC_DIR="@0@"'.format(meson.current_source_dir()),
'-DUI_DATA_DIR="@0@"'.format(join_paths(teleportapp_pkgdatadir, 'style'))
'-DUI_DATA_DIR="@0@"'.format(join_paths(teleport_pkgdatadir, 'style'))
]
ldflags = [ '-Wl,--export-dynamic' ]
@@ -76,19 +76,19 @@ ldflags = [ '-Wl,--export-dynamic' ]
###############
# teleportapp #
# teleport #
###############
teleportapp = executable(
teleport = executable(
meson.project_name(),
sources,
include_directories: incs,
dependencies: teleportapp_deps,
dependencies: teleport_deps,
c_args: cflags,
#link_with: plugins_libs,
link_args: ldflags,
install: true,
install_dir: teleportapp_bindir
install_dir: teleport_bindir
)
@@ -102,13 +102,13 @@ libgtd = shared_library(
version: libversion,
soversion: soversion,
include_directories: incs,
dependencies: teleportapp_deps,
dependencies: teleport_deps,
c_args: cflags
)
libgtd_dep = declare_dependency(
link_with: libgtd,
include_directories: src_inc,
dependencies: teleportapp_deps
dependencies: teleport_deps
)