summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-03 04:55:57 +0000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:34 -1000
commitd45ac09ba213985705f64b3043d81e17b30d60ca (patch)
treee08685c58575dd70f3428ff4fe276bbc6fc10180 /data
parent785794570aa7eb714f9a0349dff56fdffdbf276a (diff)
ffmpeg
Diffstat (limited to 'data')
-rw-r--r--data/ffmpeg/_metadata/description1
l---------data/ffmpeg/_metadata/gnutls.dep1
-rw-r--r--data/ffmpeg/_metadata/in.1443.000
l---------data/ffmpeg/_metadata/lame.dep1
l---------data/ffmpeg/_metadata/maintainer1
-rw-r--r--data/ffmpeg/_metadata/name1
l---------data/ffmpeg/_metadata/opus.dep1
-rw-r--r--data/ffmpeg/_metadata/priority1
-rw-r--r--data/ffmpeg/_metadata/role1
-rw-r--r--data/ffmpeg/_metadata/section1
-rw-r--r--data/ffmpeg/_metadata/tags1
l---------data/ffmpeg/_metadata/theora.dep1
-rw-r--r--data/ffmpeg/_metadata/version1
l---------data/ffmpeg/_metadata/vorbis.dep1
l---------data/ffmpeg/_metadata/vpx.dep1
l---------data/ffmpeg/_metadata/x264.dep1
l---------data/ffmpeg/_metadata/x265.dep1
l---------data/ffmpeg/_metadata/xz.dep1
-rw-r--r--data/ffmpeg/ffmpeg-4.1.3.tar.xzbin0 -> 8895988 bytes
-rw-r--r--data/ffmpeg/make.sh23
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
new file mode 100644
index 000000000..91336f1a0
--- /dev/null
+++ b/data/ffmpeg/ffmpeg-4.1.3.tar.xz
Binary files differ
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