summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-01-21 16:14:00 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-01-23 22:51:55 +0530
commit717b6b7831ee8f6fa1ded904c5f186739c84d703 (patch)
tree2937c937d58d72b8d56afbd2cd8c63d2df943679
parentd9da1542ed0298edcd310ffe1c3ccda17505db45 (diff)
recipes: Enable MSVC support in more CMake recipes
And explicitly disable it in recipes that are known to be broken. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/781>
-rw-r--r--recipes/frei0r-plugins.recipe1
-rw-r--r--recipes/openjpeg.recipe1
-rw-r--r--recipes/srt.recipe1
3 files changed, 3 insertions, 0 deletions
diff --git a/recipes/frei0r-plugins.recipe b/recipes/frei0r-plugins.recipe
index 40bede28..51fbb20d 100644
--- a/recipes/frei0r-plugins.recipe
+++ b/recipes/frei0r-plugins.recipe
@@ -9,6 +9,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
btype = BuildType.CMAKE
cmake_generator = 'ninja'
+ can_msvc = False
url = 'https://files.dyne.org/frei0r/releases/%(name)s-%(version)s.tar.gz'
tarball_checksum = '1b1ff8f0f9bc23eed724e94e9a7c1d8f0244bfe33424bb4fe68e6460c088523a'
diff --git a/recipes/openjpeg.recipe b/recipes/openjpeg.recipe
index 39dabd67..be5302db 100644
--- a/recipes/openjpeg.recipe
+++ b/recipes/openjpeg.recipe
@@ -11,6 +11,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
btype = BuildType.CMAKE
cmake_generator = 'ninja'
+ can_msvc = True
url = 'https://github.com/uclouvain/openjpeg/archive/v%(version)s.tar.gz'
tarball_checksum = '63f5a4713ecafc86de51bfad89cc07bb788e9bba24ebbf0c4ca637621aadb6a9'
configure_options = ' -DBUILD_CODEC:bool=off -DBUILD_PKGCONFIG_FILES:bool=on '
diff --git a/recipes/srt.recipe b/recipes/srt.recipe
index f905fe36..d6072f15 100644
--- a/recipes/srt.recipe
+++ b/recipes/srt.recipe
@@ -12,6 +12,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
btype = BuildType.CMAKE
cmake_generator = 'ninja'
+ can_msvc = False
# CXX11 builds stuff we don't need, and causes a build failure on mingw
configure_options = '-DUSE_ENCLIB=openssl -DENABLE_CXX11=OFF'
# openssl on Linux