diff options
-rw-r--r-- | data/ffmpeg/_metadata/description | 1 | ||||
l--------- | data/ffmpeg/_metadata/gnutls.dep | 1 | ||||
-rw-r--r-- | data/ffmpeg/_metadata/in.1443.00 | 0 | ||||
l--------- | data/ffmpeg/_metadata/lame.dep | 1 | ||||
l--------- | data/ffmpeg/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/ffmpeg/_metadata/name | 1 | ||||
l--------- | data/ffmpeg/_metadata/opus.dep | 1 | ||||
-rw-r--r-- | data/ffmpeg/_metadata/priority | 1 | ||||
-rw-r--r-- | data/ffmpeg/_metadata/role | 1 | ||||
-rw-r--r-- | data/ffmpeg/_metadata/section | 1 | ||||
-rw-r--r-- | data/ffmpeg/_metadata/tags | 1 | ||||
l--------- | data/ffmpeg/_metadata/theora.dep | 1 | ||||
-rw-r--r-- | data/ffmpeg/_metadata/version | 1 | ||||
l--------- | data/ffmpeg/_metadata/vorbis.dep | 1 | ||||
l--------- | data/ffmpeg/_metadata/vpx.dep | 1 | ||||
l--------- | data/ffmpeg/_metadata/x264.dep | 1 | ||||
l--------- | data/ffmpeg/_metadata/x265.dep | 1 | ||||
l--------- | data/ffmpeg/_metadata/xz.dep | 1 | ||||
-rw-r--r-- | data/ffmpeg/ffmpeg-4.1.3.tar.xz | bin | 0 -> 8895988 bytes | |||
-rw-r--r-- | data/ffmpeg/make.sh | 23 |
20 files changed, 40 insertions, 0 deletions
diff --git a/data/ffmpeg/_metadata/description b/data/ffmpeg/_metadata/description new file mode 100644 index 000000000..5e5462f65 --- /dev/null +++ b/data/ffmpeg/_metadata/description @@ -0,0 +1 @@ +Play, record, convert, and stream audio and video diff --git a/data/ffmpeg/_metadata/gnutls.dep b/data/ffmpeg/_metadata/gnutls.dep new file mode 120000 index 000000000..2dbb733a2 --- /dev/null +++ b/data/ffmpeg/_metadata/gnutls.dep @@ -0,0 +1 @@ +../../gnutls
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/in.1443.00 b/data/ffmpeg/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/data/ffmpeg/_metadata/in.1443.00 diff --git a/data/ffmpeg/_metadata/lame.dep b/data/ffmpeg/_metadata/lame.dep new file mode 120000 index 000000000..ddc2ccf8c --- /dev/null +++ b/data/ffmpeg/_metadata/lame.dep @@ -0,0 +1 @@ +../../lame
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/maintainer b/data/ffmpeg/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/ffmpeg/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/name b/data/ffmpeg/_metadata/name new file mode 100644 index 000000000..41840c50c --- /dev/null +++ b/data/ffmpeg/_metadata/name @@ -0,0 +1 @@ +FFmpeg diff --git a/data/ffmpeg/_metadata/opus.dep b/data/ffmpeg/_metadata/opus.dep new file mode 120000 index 000000000..abcd2e0de --- /dev/null +++ b/data/ffmpeg/_metadata/opus.dep @@ -0,0 +1 @@ +../../opus
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/priority b/data/ffmpeg/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/ffmpeg/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/ffmpeg/_metadata/role b/data/ffmpeg/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/ffmpeg/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/ffmpeg/_metadata/section b/data/ffmpeg/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/ffmpeg/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/ffmpeg/_metadata/tags b/data/ffmpeg/_metadata/tags new file mode 100644 index 000000000..ad5d50831 --- /dev/null +++ b/data/ffmpeg/_metadata/tags @@ -0,0 +1 @@ +purpose::console diff --git a/data/ffmpeg/_metadata/theora.dep b/data/ffmpeg/_metadata/theora.dep new file mode 120000 index 000000000..394f8a81d --- /dev/null +++ b/data/ffmpeg/_metadata/theora.dep @@ -0,0 +1 @@ +../../theora
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/version b/data/ffmpeg/_metadata/version new file mode 100644 index 000000000..de197cc33 --- /dev/null +++ b/data/ffmpeg/_metadata/version @@ -0,0 +1 @@ +4.1.3 diff --git a/data/ffmpeg/_metadata/vorbis.dep b/data/ffmpeg/_metadata/vorbis.dep new file mode 120000 index 000000000..aafc6d771 --- /dev/null +++ b/data/ffmpeg/_metadata/vorbis.dep @@ -0,0 +1 @@ +../../vorbis
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/vpx.dep b/data/ffmpeg/_metadata/vpx.dep new file mode 120000 index 000000000..81e8ab038 --- /dev/null +++ b/data/ffmpeg/_metadata/vpx.dep @@ -0,0 +1 @@ +../../vpx
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/x264.dep b/data/ffmpeg/_metadata/x264.dep new file mode 120000 index 000000000..e87b337ed --- /dev/null +++ b/data/ffmpeg/_metadata/x264.dep @@ -0,0 +1 @@ +../../x264
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/x265.dep b/data/ffmpeg/_metadata/x265.dep new file mode 120000 index 000000000..de37d9151 --- /dev/null +++ b/data/ffmpeg/_metadata/x265.dep @@ -0,0 +1 @@ +../../x265
\ No newline at end of file diff --git a/data/ffmpeg/_metadata/xz.dep b/data/ffmpeg/_metadata/xz.dep new file mode 120000 index 000000000..d5eb7ae54 --- /dev/null +++ b/data/ffmpeg/_metadata/xz.dep @@ -0,0 +1 @@ +../../xz
\ No newline at end of file diff --git a/data/ffmpeg/ffmpeg-4.1.3.tar.xz b/data/ffmpeg/ffmpeg-4.1.3.tar.xz Binary files differnew file mode 100644 index 000000000..91336f1a0 --- /dev/null +++ b/data/ffmpeg/ffmpeg-4.1.3.tar.xz diff --git a/data/ffmpeg/make.sh b/data/ffmpeg/make.sh new file mode 100644 index 000000000..7b3acf690 --- /dev/null +++ b/data/ffmpeg/make.sh @@ -0,0 +1,23 @@ +pkg:setup +ARCH=$(echo ${PKG_TARG} | sed -e s/'-.*'//) + +_args='--enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gnutls ' +_args+='--enable-gpl --enable-libmp3lame --enable-libopus --enable-libtheora ' +_args+='--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 ' +_args+='--enable-libxvid --enable-lzma' + +# Arguments taken from: +# https://github.com/Homebrew/homebrew-core/blob/master/Formula/ffmpeg.rb + +# Xz and gnutls included since they are default dependencies. + +# WARNING: --enable-gpl and --enable-nonfree can make ffmpeg not legally redistributable. +# --enable-gpl includes code with the gpl license. + + +./configure --arch=${ARCH} --pkg-config="$(realpath "${PKG_BASE}/util/pkg-config.sh")" \ + --prefix=/usr --enable-cross-compile --cross-prefix=${PKG_TARG}- --target-os=darwin \ + --disable-static --enable-shared --disable-debug --disable-stripping \ + ${_args} # --enable-nonfree +make +pkg:install |