diff options
Diffstat (limited to 'recipes/openjpeg.recipe')
| -rw-r--r-- | recipes/openjpeg.recipe | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/recipes/openjpeg.recipe b/recipes/openjpeg.recipe index a7c451bf..d565f7e5 100644 --- a/recipes/openjpeg.recipe +++ b/recipes/openjpeg.recipe @@ -4,26 +4,29 @@ from cerbero.enums import Symbolication from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): - version = '2.5.3' + version = '2.5.4' name = 'openjpeg' licenses = [{License.BSD_2_Clause: ['LICENSE']}] stype = SourceType.TARBALL btype = BuildType.CMAKE can_msvc = True url = 'https://github.com/uclouvain/openjpeg/archive/refs/tags/v%(version)s.tar.gz' - tarball_checksum = '368fe0468228e767433c9ebdea82ad9d801a3ad1e4234421f352c8b06e7aa707' + tarball_checksum = 'a695fbe19c0165f295a8531b1e4e855cd94d0875d2f88ec4b61080677e27188a' configure_options = [ '-DBUILD_CODEC:bool=off' ] + patches = [ + f'{name}/0001-Add-static-Win32-build.patch', + f'{name}/0002-Fix-pkgconfig-deps-generation.patch', + f'{name}/0003-Handle-lpthread.patch', + ] + files_libs = ['libopenjp2'] files_devel = ['include/openjpeg-2.5/', '%(libdir)s/pkgconfig/libopenjp2.pc'] def prepare(self): - if self.config.target_platform in [Platform.WINDOWS]: - self.library_type = LibraryType.SHARED - if self.config.variants.visualstudio: self.symbolication_patterns = { Symbolication.SKIP: [], |
