wrap: libopenjp2: use patch version 7

Add support for win32 build
Disable the binary to avoid the thirdparty
dependency to be checked.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1229>
This commit is contained in:
Stéphane Cerveau 2021-10-22 18:13:46 +02:00 committed by GStreamer Marge Bot
parent d4762346f5
commit 22f502d864
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,8 @@ openjpeg_cargs = []
openjpeg_dep = dependency('libopenjp2', version : '>=2.2', openjpeg_dep = dependency('libopenjp2', version : '>=2.2',
fallback : ['libopenjp2', 'libopenjp2_dep'], fallback : ['libopenjp2', 'libopenjp2_dep'],
required : get_option('openjpeg')) required : get_option('openjpeg'),
default_options: ['build_codec=false'])
if openjpeg_dep.found() if openjpeg_dep.found()
gstopenjpeg = library('gstopenjpeg', gstopenjpeg = library('gstopenjpeg',

View file

@ -3,10 +3,9 @@ directory = openjpeg-2.3.1
source_url = https://github.com/uclouvain/openjpeg/archive/v2.3.1.tar.gz source_url = https://github.com/uclouvain/openjpeg/archive/v2.3.1.tar.gz
source_filename = openjpeg-2.3.1.tar.gz source_filename = openjpeg-2.3.1.tar.gz
source_hash = 63f5a4713ecafc86de51bfad89cc07bb788e9bba24ebbf0c4ca637621aadb6a9 source_hash = 63f5a4713ecafc86de51bfad89cc07bb788e9bba24ebbf0c4ca637621aadb6a9
patch_filename = libopenjp2_2.3.1-6_patch.zip patch_filename = libopenjp2_2.3.1-7_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libopenjp2_2.3.1-6/get_patch patch_url = https://wrapdb.mesonbuild.com/v2/libopenjp2_2.3.1-7/get_patch
patch_hash = 153e4b6a0addb20ceceac9f1562588c7f4b03c91282ac55d3b63df8743f6e873 patch_hash = 3da9db76ca3591842f33e732fd7112e05c0fe8e97313fdcf11f1d3ea147f1933
[provide] [provide]
libopenjp2 = libopenjp2_dep libopenjp2 = libopenjp2_dep