diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-01-21 16:13:33 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-01-23 22:51:55 +0530 |
commit | d9da1542ed0298edcd310ffe1c3ccda17505db45 (patch) | |
tree | 227f623212ab2e3a5290b98fdcfacdda4fe97b84 | |
parent | 4e6bc621820adc8deab34de903f8c3a81a837175 (diff) |
recipes: Build all cmake recipes with ninja
I've tested this on Windows, which is the platform with the most
weirdness.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/781>
-rw-r--r-- | recipes/frei0r-plugins.recipe | 1 | ||||
-rw-r--r-- | recipes/openjpeg.recipe | 1 | ||||
-rw-r--r-- | recipes/srt.recipe | 1 | ||||
-rw-r--r-- | recipes/taglib.recipe | 3 | ||||
-rw-r--r-- | recipes/wavpack.recipe | 1 |
5 files changed, 6 insertions, 1 deletions
diff --git a/recipes/frei0r-plugins.recipe b/recipes/frei0r-plugins.recipe index e6383aae..40bede28 100644 --- a/recipes/frei0r-plugins.recipe +++ b/recipes/frei0r-plugins.recipe @@ -8,6 +8,7 @@ class Recipe(recipe.Recipe): licenses = [License.GPLv2Plus] stype = SourceType.TARBALL btype = BuildType.CMAKE + cmake_generator = 'ninja' 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 ff882975..39dabd67 100644 --- a/recipes/openjpeg.recipe +++ b/recipes/openjpeg.recipe @@ -10,6 +10,7 @@ class Recipe(recipe.Recipe): licenses = [{License.BSD: ['LICENSE']}] stype = SourceType.TARBALL btype = BuildType.CMAKE + cmake_generator = 'ninja' 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 c359b613..f905fe36 100644 --- a/recipes/srt.recipe +++ b/recipes/srt.recipe @@ -11,6 +11,7 @@ class Recipe(recipe.Recipe): licenses = [License.MPLv2] stype = SourceType.TARBALL btype = BuildType.CMAKE + cmake_generator = 'ninja' # 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 diff --git a/recipes/taglib.recipe b/recipes/taglib.recipe index ad25ff02..cc1dcf4c 100644 --- a/recipes/taglib.recipe +++ b/recipes/taglib.recipe @@ -12,7 +12,7 @@ class Recipe(recipe.Recipe): url = 'https://github.com/taglib/taglib/releases/download/v1.11.1/taglib-%(version)s.tar.gz' tarball_checksum = 'b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b' # either LGPLv2.1 or MPLv1.1 - licenses = [License.LGPLv2_1Plus] + licenses = [License.LGPLv2_1Plus, License.MPLv1_1] btype = BuildType.CMAKE configure_options = '-DWITH_MP4=ON \ @@ -21,6 +21,7 @@ class Recipe(recipe.Recipe): -DBUILD_STATIC_LIBS=1 \ -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE' can_msvc = True + cmake_generator = 'ninja' patches = [ 'taglib/0001-Link-with-correct-STL-on-Android.patch', diff --git a/recipes/wavpack.recipe b/recipes/wavpack.recipe index f2d91b1e..158fb49e 100644 --- a/recipes/wavpack.recipe +++ b/recipes/wavpack.recipe @@ -20,6 +20,7 @@ class Recipe(recipe.Recipe): -DWAVPACK_BUILD_COOLEDIT_PLUGIN=OFF \ -DWAVPACK_BUILD_WINAMP_PLUGIN=OFF' can_msvc = True + cmake_generator = 'ninja' patches = [ name + '/0001-cmake-Don-t-name-MSVC-DLL-wavpackdll.dll.patch', |