1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
lib_headers = files(
'rb-async-copy.h',
'rb-builder-helpers.h',
'rb-chunk-loader.h',
'rb-debug.h',
'rb-file-helpers.h',
'rb-gst-media-types.h',
'rb-list-model.h',
'rb-stock-icons.h',
'rb-string-value-map.h',
'rb-task-progress.h',
'rb-task-progress-simple.h',
'rb-util.h',
)
install_headers(lib_headers, subdir: 'rhythmbox/lib')
lib_sources = files(
'rb-async-copy.c',
'rb-async-queue-watch.c',
'rb-builder-helpers.c',
'rb-chunk-loader.c',
'rb-cut-and-paste-code.c',
'rb-debug.c',
'rb-file-helpers.c',
'rb-gst-media-types.c',
'rb-list-model.c',
'rb-missing-plugins.c',
'rb-stock-icons.c',
'rb-string-value-map.c',
'rb-task-progress-simple.c',
'rb-task-progress.c',
'rb-text-helpers.c',
'rb-tree-dnd.c',
'rb-util.c',
)
lib_c_args = [
'-DG_LOG_DOMAIN="Rhythmbox"',
'-DGNOMELOCALEDIR="' + datadir + '/locale"',
'-DSHARE_DIR="' + pkgdatadir + '"',
'-DDATADIR="' + datadir + '"'
]
librb = static_library('rb', lib_sources,
c_args: lib_c_args,
include_directories: [configinc],
dependencies: common_deps,
install: false,
)
librb_dep = declare_dependency(
link_with: librb,
dependencies: common_deps,
include_directories: [configinc, include_directories('.')],
)
|