diff --git a/Tools/ffmpeg/build b/Tools/ffmpeg/build new file mode 100755 index 0000000..269e479 --- /dev/null +++ b/Tools/ffmpeg/build @@ -0,0 +1,12 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "http://ffmpeg.org/releases/ffmpeg-${V_PKG}.tar.xz" + +eval $(modulecmd bash use Libraries) + +pbuild::pre_configure() { + pbuild::add_configure_args '--enable-libx264' '--enable-gpl' '--enable-pic' +} + +pbuild::add_to_group 'Tools' + diff --git a/Tools/ffmpeg/files/variants.rhel6 b/Tools/ffmpeg/files/variants.rhel6 new file mode 100644 index 0000000..cf98146 --- /dev/null +++ b/Tools/ffmpeg/files/variants.rhel6 @@ -0,0 +1 @@ +ffmpeg/4.4 stable b:gcc/10.3.0 b:binutils/2.29 b:nasm/2.15.05 b:x264/2021.06 diff --git a/Tools/ffmpeg/files/variants.rhel7 b/Tools/ffmpeg/files/variants.rhel7 new file mode 100644 index 0000000..cf98146 --- /dev/null +++ b/Tools/ffmpeg/files/variants.rhel7 @@ -0,0 +1 @@ +ffmpeg/4.4 stable b:gcc/10.3.0 b:binutils/2.29 b:nasm/2.15.05 b:x264/2021.06 diff --git a/Tools/ffmpeg/modulefile b/Tools/ffmpeg/modulefile new file mode 100644 index 0000000..9b21947 --- /dev/null +++ b/Tools/ffmpeg/modulefile @@ -0,0 +1,19 @@ +#%Module1.0 + +module-whatis "record, convert and stream audio and video." +module-url "http://ffmpeg.org" +module-license "GNU LGPL v2.1" +module-maintainer "Achim Gsell " + +module-help " +FFmpeg is the leading multimedia framework, able to decode, encode, +transcode, mux, demux, stream, filter and play pretty much anything +that humans and machines have created. It supports the most obscure +ancient formats up to the cutting edge. No matter if they were +designed by some standards committee, the community or a corporation. +It is also highly portable: FFmpeg compiles, runs, and passes our +testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, +the BSDs, Solaris, etc. under a wide variety of build environments, +machine architectures, and configurations. +" +