first commit

This commit is contained in:
Adrian Siekierka
2023-05-15 16:17:16 +02:00
commit aad1340bf4
11 changed files with 2021 additions and 0 deletions

24
meson.build Normal file
View File

@@ -0,0 +1,24 @@
project('psxavenc', 'c', default_options: ['c_std=c11'])
ffmpeg = [
dependency('libavformat'),
dependency('libavcodec'),
dependency('libavutil'),
dependency('libswresample'),
dependency('libswscale')
]
libpsxav = static_library('psxav', [
'libpsxav/adpcm.c',
'libpsxav/cdrom.c',
'libpsxav/libpsxav.h'
])
libpsxav_dep = declare_dependency(include_directories: include_directories('libpsxav'), link_with: libpsxav)
executable('psxavenc', [
'psxavenc/cdrom.c',
'psxavenc/decoding.c',
'psxavenc/filefmt.c',
'psxavenc/mdec.c',
'psxavenc/psxavenc.c'
], dependencies: [ffmpeg, libpsxav_dep], install: true)