summaryrefslogtreecommitdiff
path: root/ext/mpg123/meson.build
blob: a575449bdf5cb5039d0cc3dbe22bd0b718ee6296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mpg123_sources = [
  'gstmpg123audiodec.c',
]

mpg123_dep = dependency('libmpg123', version : '>= 1.3', required : false)

if mpg123_dep.found()
  gstmpg123 = library('gstmpg123',
    mpg123_sources,
    c_args : ugly_args,
    include_directories : [configinc],
    dependencies : [gstaudio_dep, mpg123_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
endif