diff options
| author | 2024-10-22 18:11:37 -0400 | |
|---|---|---|
| committer | 2024-10-22 18:11:37 -0400 | |
| commit | 626f299dd3512d44df4bcf95fc7a21b9417c06b0 (patch) | |
| tree | cff4be789f6125a82a362fbf29c8c1cfa0cc4160 /src/cache | |
| parent | 60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2 (diff) | |
| download | camu-626f299dd3512d44df4bcf95fc7a21b9417c06b0.tar.gz camu-626f299dd3512d44df4bcf95fc7a21b9417c06b0.tar.bz2 camu-626f299dd3512d44df4bcf95fc7a21b9417c06b0.zip | |
Various fixes, doc cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/cache')
| -rw-r--r-- | src/cache/meson.build | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/cache/meson.build b/src/cache/meson.build index 8684ccd..5fb47ae 100644 --- a/src/cache/meson.build +++ b/src/cache/meson.build @@ -3,9 +3,24 @@ cache_src = [ 'handle.c', 'threaded_waits.c', 'handlers/file.c', - 'handlers/cdio.c', 'backings/memory.c' ] +cache_deps = [] + +cache_have_cdio = false +libcdio_paranoia = dependency('libcdio_paranoia', required: false, allow_fallback: true) +libcdio_cdda = dependency('libcdio_cdda', required: false, allow_fallback: true) +if libcdio_paranoia.found() and libcdio_cdda.found() + cache_src += ['handlers/cdio.c'] + cache_deps += [libcdio_paranoia, libcdio_cdda] + cache_have_cdio = true +endif + +#libdvdcss = dependency('libdvdcss', required: false, allow_fallback: true) +#libdvdread = dependency('libdvdread', required: false, allow_fallback: true) +#libdvdnav = dependency('libdvdnav', required: false, allow_fallback: true) +#if libdvdcss.found() and libdvdread.found() and libdvdnav.found() +#endif if akiyo_has_mmap cache_src += ['backings/file_mapped.c'] @@ -17,4 +32,4 @@ if akiyo_has_curl cache_src += ['handlers/http.c'] endif -cache = declare_dependency(sources: cache_src) +cache = declare_dependency(sources: cache_src, dependencies: cache_deps) |