Skip to content
Snippets Groups Projects
Commit 5afa8538 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #80 from xTibor/ffmpeg

Add ffmpeg recipe
parents 0fb76a8e 6392c2f5
No related branches found
No related tags found
No related merge requests found
diff --git a/configure b/configure
index 7201941..e3b2875 100755
--- a/configure
+++ b/configure
@@ -5055,6 +5055,8 @@ case $target_os in
;;
minix)
;;
+ redox)
+ ;;
none)
;;
*)
diff --git a/ffmpeg.c b/ffmpeg.c
index 888d19a..aeeb0e5 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -91,7 +91,7 @@
#if HAVE_TERMIOS_H
#include <fcntl.h>
-#include <sys/ioctl.h>
+//#include <sys/ioctl.h>
#include <sys/time.h>
#include <termios.h>
#elif HAVE_KBHIT
GIT=https://github.com/FFmpeg/FFmpeg
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./configure \
--enable-cross-compile \
--target-os=redox \
--arch=x86_64 \
--cross_prefix=x86_64-unknown-redox- \
--prefix=/ \
--disable-doc \
--disable-network \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
rm -rf "$1"/{include,lib,share}
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment