diff --git a/recipes/wip/codecs/x264/recipe.toml b/recipes/wip/codecs/x264/recipe.toml index 84f19bb0e..73e81d1cc 100644 --- a/recipes/wip/codecs/x264/recipe.toml +++ b/recipes/wip/codecs/x264/recipe.toml @@ -1,7 +1,17 @@ -#TODO the redox target is not supported on the configure script +#TODO: Not used anywhere [source] git = "https://code.videolan.org/videolan/x264" branch = "stable" shallow_clone = true +patches = [ + "redox.patch" +] +script = """ +GNU_CONFIG_GET config.sub +""" + [build] template = "configure" +configureflags = [ + "--disable-asm" +] diff --git a/recipes/wip/codecs/x264/redox.patch b/recipes/wip/codecs/x264/redox.patch new file mode 100644 index 000000000..77e88ee80 --- /dev/null +++ b/recipes/wip/codecs/x264/redox.patch @@ -0,0 +1,15 @@ +diff -ruwN source/configure source-new/configure +--- source/configure 2026-05-09 05:38:56.776310501 +0200 ++++ source-new/configure 2026-05-09 05:27:53.969854003 +0200 +@@ -721,6 +721,11 @@ + [ $compiler = GNU ] && RC="${RC-${cross_prefix}windres}" || RC="${RC-rc.exe}" + fi + ;; ++ redox*) ++ SYS="REDOX" ++ define HAVE_MALLOC_H ++ libm="" ++ ;; + sunos*|solaris*) + SYS="SunOS" + define HAVE_MALLOC_H diff --git a/recipes/wip/codecs/x265/recipe.toml b/recipes/wip/codecs/x265/recipe.toml index d2e8cd054..825322c62 100644 --- a/recipes/wip/codecs/x265/recipe.toml +++ b/recipes/wip/codecs/x265/recipe.toml @@ -1,7 +1,7 @@ -#TODO not compiled or tested +#TODO need named semaphore # 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_4.1.tar.gz" +tar = "https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.2.tar.gz" [build] template = "custom" script = """