mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-29 16:18:44 +08:00
Patch x264
This commit is contained in:
parent
0801c2cc82
commit
7c43688ea2
@ -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"
|
||||
]
|
||||
|
||||
15
recipes/wip/codecs/x264/redox.patch
Normal file
15
recipes/wip/codecs/x264/redox.patch
Normal file
@ -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
|
||||
@ -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 = """
|
||||
|
||||
Loading…
Reference in New Issue
Block a user