File: meson.build

package info (click to toggle)
rhythmbox 3.4.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,376 kB
  • sloc: ansic: 114,861; python: 4,941; xml: 730; javascript: 350; perl: 307; sh: 84; makefile: 43
file content (52 lines) | stat: -rw-r--r-- 1,265 bytes parent folder | download | duplicates (3)
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
rhythmdb_headers = files(
  'rb-refstring.h',
  'rhythmdb.h',
  'rhythmdb-entry.h',
  'rhythmdb-entry-type.h',
  'rhythmdb-import-job.h',
  'rhythmdb-property-model.h',
  'rhythmdb-query-model.h',
  'rhythmdb-query-result-list.h',
  'rhythmdb-query-results.h',
)

install_headers(rhythmdb_headers, subdir: 'rhythmbox/rhythmdb')

rhythmdb_sources = files(
  'rb-refstring.c',
  'rhythmdb.c',
  'rhythmdb-dbus.c',
  'rhythmdb-entry-type.c',
  'rhythmdb-import-job.c',
  'rhythmdb-metadata-cache.c',
  'rhythmdb-monitor.c',
  'rhythmdb-property-model.c',
  'rhythmdb-query-model.c',
  'rhythmdb-query-result-list.c',
  'rhythmdb-query-results.c',
  'rhythmdb-query.c',
  'rhythmdb-song-entry-types.c',
  'rhythmdb-tree.c',
)

c_args = [
  '-DGNOMELOCALEDIR="' + datadir + '/locale"',
  '-DG_LOG_DOMAIN="RhythmDB"',
  '-DSHARE_DIR="' + pkgdatadir + '"',
  '-DDATADIR="' + datadir + '"'
]

if use_no_strict_aliasing
  c_args += ['-fno-strict-aliasing']
endif

librhythmdb = static_library('rhythmdb', rhythmdb_sources,
  c_args: c_args,
  dependencies: [common_deps, librb_dep],
  include_directories: [podcastinc, widgetsinc])

rhythmdb_dep = declare_dependency(
  link_with: librhythmdb,
  include_directories: include_directories('.'),
  dependencies: common_deps,
)