mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
meson: Mark newly fdkaac/ogg/vorbis as allow fallback
This way when the dep is `auto` we will fallback if the system dependency is not available. And use https to get libvorbis Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1171>
This commit is contained in:
parent
d0c86365d2
commit
a75382eaff
4 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
fdkaac_dep = dependency('fdk-aac', required : get_option('fdkaac'))
|
||||
fdkaac_dep = dependency('fdk-aac', allow_fallback: true, required : get_option('fdkaac'))
|
||||
|
||||
if fdkaac_dep.found()
|
||||
fdkaac_defines = []
|
||||
|
|
|
@ -10,7 +10,7 @@ ogg_sources = [
|
|||
'vorbis_parse.c',
|
||||
]
|
||||
|
||||
ogg_dep = dependency('ogg', version : '>=1.0', required : get_option('ogg'))
|
||||
ogg_dep = dependency('ogg', allow_fallback: true, version : '>=1.0', required : get_option('ogg'))
|
||||
core_conf.set('HAVE_OGG', ogg_dep.found())
|
||||
|
||||
if ogg_dep.found()
|
||||
|
|
|
@ -17,9 +17,9 @@ vorbisidec_sources = [
|
|||
'gstvorbiscommon.c',
|
||||
]
|
||||
|
||||
vorbis_dep = dependency('vorbis', version : '>= 1.3.1', required : get_option('vorbis'))
|
||||
vorbisenc_dep = dependency('vorbisenc', version : '>= 1.3.1', required : get_option('vorbis'))
|
||||
vorbisidec_dep = dependency('vorbisidec', required : get_option('tremor'))
|
||||
vorbis_dep = dependency('vorbis', version : '>= 1.3.1', allow_fallback: true, required : get_option('vorbis'))
|
||||
vorbisenc_dep = dependency('vorbisenc', version : '>= 1.3.1', allow_fallback: true, required : get_option('vorbis'))
|
||||
vorbisidec_dep = dependency('vorbisidec', allow_fallback: true, required : get_option('tremor'))
|
||||
|
||||
if vorbis_dep.found()
|
||||
vorbis_deps = [vorbis_dep]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[wrap-file]
|
||||
directory = libvorbis-1.3.5
|
||||
source_url = http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz
|
||||
source_url = https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz
|
||||
source_filename = libvorbis-1.3.5.tar.xz
|
||||
source_hash = 54f94a9527ff0a88477be0a71c0bab09a4c3febe0ed878b24824906cd4b0e1d1
|
||||
patch_filename = vorbis_1.3.5-8_patch.zip
|
||||
|
|
Loading…
Reference in a new issue