mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
flac: Add wrap file and add fallback for it to the flac plugin
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6553>
This commit is contained in:
parent
1c9fe19b23
commit
ee566b8960
2 changed files with 15 additions and 1 deletions
13
subprojects/flac.wrap
Normal file
13
subprojects/flac.wrap
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[wrap-file]
|
||||||
|
directory = flac-1.4.3
|
||||||
|
source_url = https://github.com/xiph/flac/releases/download/1.4.3/flac-1.4.3.tar.xz
|
||||||
|
source_filename = flac-1.4.3.tar.xz
|
||||||
|
source_hash = 6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70
|
||||||
|
patch_filename = flac_1.4.3-2_patch.zip
|
||||||
|
patch_url = https://wrapdb.mesonbuild.com/v2/flac_1.4.3-2/get_patch
|
||||||
|
patch_hash = 3eace1bd0769d3e0d4ff099960160766a5185d391c8f583293b087a1f96c2a9c
|
||||||
|
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/flac_1.4.3-2/flac-1.4.3.tar.xz
|
||||||
|
wrapdb_version = 1.4.3-2
|
||||||
|
|
||||||
|
[provide]
|
||||||
|
flac = flac_dep
|
|
@ -6,7 +6,8 @@ flac_sources = [
|
||||||
'gstflactag.c',
|
'gstflactag.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
flac_dep = dependency('flac', version : '>=1.1.4', required : get_option('flac'))
|
flac_dep = dependency('flac', version : '>=1.1.4', required : get_option('flac'),
|
||||||
|
allow_fallback: true)
|
||||||
|
|
||||||
if flac_dep.found()
|
if flac_dep.found()
|
||||||
gstflac = library('gstflac',
|
gstflac = library('gstflac',
|
||||||
|
|
Loading…
Reference in a new issue