From 8807f29193842064972f71065641c5ba68c4bfce Mon Sep 17 00:00:00 2001 From: Andrei Radulescu Date: Wed, 17 Jan 2024 09:48:54 +0200 Subject: [PATCH] Fixes for compiling ffmpeg --- userspace/compile-ffmpeg.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/userspace/compile-ffmpeg.sh b/userspace/compile-ffmpeg.sh index 3c04814..3b21a85 100755 --- a/userspace/compile-ffmpeg.sh +++ b/userspace/compile-ffmpeg.sh @@ -6,7 +6,12 @@ wget https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.bz2 tar xvf ffmpeg-4.2.2.tar.bz2 cd ffmpeg-4.2.2 -./configure --enable-shared --disable-static +# avoid makeinfo: error parsing ./doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24. +# with --disable-htmlpages +# --disable-doc works too, disables building documentation completely +# https://gist.github.com/omegdadi/6904512c0a948225c81114b1c5acb875 +# https://github.com/7Ji/archrepo/issues/10 +./configure --enable-shared --disable-static --disable-htmlpages make -j$(nproc) checkinstall -yD --install=no --pkgname=ffmpeg