From acb624b6d77d14b11567e458c73976e066014543 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 29 Jan 2026 11:43:04 -0300 Subject: [PATCH] Improve more recipes --- recipes/wip/bench/suite/pts/recipe.toml | 2 ++ recipes/wip/codecs/dav1d/recipe.toml | 7 +++++-- recipes/wip/codecs/faad2/recipe.toml | 2 +- recipes/wip/codecs/rav1e/recipe.toml | 1 + recipes/wip/codecs/svt-av1/recipe.toml | 8 +++++--- recipes/wip/codecs/svt-hevc/recipe.toml | 2 +- recipes/wip/codecs/svt-vp9/recipe.toml | 2 ++ recipes/wip/codecs/uvg266/recipe.toml | 6 +++++- recipes/wip/codecs/vvenc/recipe.toml | 3 ++- recipes/wip/codecs/wavpack/recipe.toml | 4 ++-- recipes/wip/codecs/x264/recipe.toml | 2 ++ recipes/wip/codecs/x265/recipe.toml | 9 +++++++-- 12 files changed, 35 insertions(+), 13 deletions(-) diff --git a/recipes/wip/bench/suite/pts/recipe.toml b/recipes/wip/bench/suite/pts/recipe.toml index caa72ed1f..854a2e92b 100644 --- a/recipes/wip/bench/suite/pts/recipe.toml +++ b/recipes/wip/bench/suite/pts/recipe.toml @@ -8,3 +8,5 @@ script = """ mkdir -pv "${COOKBOOK_STAGE}/home/user/pts" cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/pts" """ +[package] +dependencies = ["php84"] diff --git a/recipes/wip/codecs/dav1d/recipe.toml b/recipes/wip/codecs/dav1d/recipe.toml index 2384fba7b..0d8cdf87c 100644 --- a/recipes/wip/codecs/dav1d/recipe.toml +++ b/recipes/wip/codecs/dav1d/recipe.toml @@ -1,7 +1,10 @@ #TODO not compiled or tested # build instructions: https://code.videolan.org/videolan/dav1d#compile [source] -git = "https://code.videolan.org/videolan/dav1d" -rev = "48035599cdd4e4415732e408c407e0c1cd1c7444" +tar = "https://downloads.videolan.org/videolan/dav1d/1.5.3/dav1d-1.5.3.tar.xz" +shallow_clone = true [build] template = "meson" +mesonflags = [ + "-Denable_tests=false", +] \ No newline at end of file diff --git a/recipes/wip/codecs/faad2/recipe.toml b/recipes/wip/codecs/faad2/recipe.toml index 1fcb64152..c0f485d96 100644 --- a/recipes/wip/codecs/faad2/recipe.toml +++ b/recipes/wip/codecs/faad2/recipe.toml @@ -1,7 +1,7 @@ #TODO not compiled or tested -# lacking build instructions [source] git = "https://github.com/knik0/faad2" rev = "2.11.2" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/codecs/rav1e/recipe.toml b/recipes/wip/codecs/rav1e/recipe.toml index 3ee7f5376..54b874985 100644 --- a/recipes/wip/codecs/rav1e/recipe.toml +++ b/recipes/wip/codecs/rav1e/recipe.toml @@ -1,5 +1,6 @@ #TODO "malloc(): invalid size (unsorted)" error [source] git = "https://github.com/xiph/rav1e" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/codecs/svt-av1/recipe.toml b/recipes/wip/codecs/svt-av1/recipe.toml index 8d0875f99..feef47d06 100644 --- a/recipes/wip/codecs/svt-av1/recipe.toml +++ b/recipes/wip/codecs/svt-av1/recipe.toml @@ -1,6 +1,8 @@ -#TODO missing script for building, see https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Build-Guide.md#linux-operating-systems-64-bit +#TODO not compiled or tested +# build instructions: https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Build-Guide.md#linux-operating-systems-64-bit [source] git = "https://gitlab.com/AOMediaCodec/SVT-AV1" -rev = "59645eea34e2815b627b8293aa3af254eddd0d69" +rev = "v4.0.1" +shallow_clone = true [build] -template = "custom" +template = "cmake" diff --git a/recipes/wip/codecs/svt-hevc/recipe.toml b/recipes/wip/codecs/svt-hevc/recipe.toml index 78c54ef7c..ab3b0118e 100644 --- a/recipes/wip/codecs/svt-hevc/recipe.toml +++ b/recipes/wip/codecs/svt-hevc/recipe.toml @@ -2,6 +2,6 @@ # build instructions: https://github.com/OpenVisualCloud/SVT-HEVC#linux-operating-systems-64-bit [source] git = "https://github.com/OpenVisualCloud/SVT-HEVC" -rev = "b65eba07e6dee37407631cc441561960838b0333" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/codecs/svt-vp9/recipe.toml b/recipes/wip/codecs/svt-vp9/recipe.toml index 47574a5fd..cb9a98d43 100644 --- a/recipes/wip/codecs/svt-vp9/recipe.toml +++ b/recipes/wip/codecs/svt-vp9/recipe.toml @@ -2,5 +2,7 @@ # build instructions: https://github.com/OpenVisualCloud/SVT-VP9#linux-operating-systems-64-bit [source] git = "https://github.com/OpenVisualCloud/SVT-VP9" +rev = "v0.3.1" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/codecs/uvg266/recipe.toml b/recipes/wip/codecs/uvg266/recipe.toml index 4005e380b..13ff22f0a 100644 --- a/recipes/wip/codecs/uvg266/recipe.toml +++ b/recipes/wip/codecs/uvg266/recipe.toml @@ -2,6 +2,10 @@ # build instructions: https://github.com/ultravideo/uvg266#compiling-uvg266 [source] git = "https://github.com/ultravideo/uvg266" -rev = "9add13b7053a6ba3f6b22bf82728e01fc437a447" +rev = "v0.8.1" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DBUILD_TESTS=OFF" +] \ No newline at end of file diff --git a/recipes/wip/codecs/vvenc/recipe.toml b/recipes/wip/codecs/vvenc/recipe.toml index 0a2eb4172..4543bbd96 100644 --- a/recipes/wip/codecs/vvenc/recipe.toml +++ b/recipes/wip/codecs/vvenc/recipe.toml @@ -2,6 +2,7 @@ # build instructions: https://github.com/fraunhoferhhi/vvenc/wiki/Build#build-using-plain-cmake [source] git = "https://github.com/fraunhoferhhi/vvenc" -rev = "eea6fce28c8e822a0ece7a343a10fd5d6dd0e7bb" +rev = "v1.14.0" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/codecs/wavpack/recipe.toml b/recipes/wip/codecs/wavpack/recipe.toml index 3f4a28a84..865767897 100644 --- a/recipes/wip/codecs/wavpack/recipe.toml +++ b/recipes/wip/codecs/wavpack/recipe.toml @@ -1,6 +1,6 @@ -#TODO compilation error - missing header +#TODO compilation error: missing header [source] -tar = "https://github.com/dbry/WavPack/releases/download/5.7.0/wavpack-5.7.0.tar.xz" +tar = "https://github.com/dbry/WavPack/releases/download/5.9.0/wavpack-5.9.0.tar.xz" [build] template = "configure" dependencies = [ diff --git a/recipes/wip/codecs/x264/recipe.toml b/recipes/wip/codecs/x264/recipe.toml index 2bf5be8b0..84f19bb0e 100644 --- a/recipes/wip/codecs/x264/recipe.toml +++ b/recipes/wip/codecs/x264/recipe.toml @@ -1,5 +1,7 @@ #TODO the redox target is not supported on the configure script [source] git = "https://code.videolan.org/videolan/x264" +branch = "stable" +shallow_clone = true [build] template = "configure" diff --git a/recipes/wip/codecs/x265/recipe.toml b/recipes/wip/codecs/x265/recipe.toml index ce61981df..d2e8cd054 100644 --- a/recipes/wip/codecs/x265/recipe.toml +++ b/recipes/wip/codecs/x265/recipe.toml @@ -1,6 +1,11 @@ #TODO not compiled or tested # build instructions: https://bitbucket.org/multicoreware/x265_git/src/master/build/README.txt#lines-68 [source] -tar = "https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz" +tar = "https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.1.tar.gz" [build] -template = "cmake" +template = "custom" +script = """ +COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/source" +DYNAMIC_INIT +cookbook_cmake +"""