summaryrefslogtreecommitdiff
path: root/data/_ffmpeg
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-04-03 23:49:15 -1000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:40 -1000
commitbc22a1677d844ed517d781da667190f97b100ab7 (patch)
tree7305b50c2820444e7efa542e92808529709fc6cb /data/_ffmpeg
parent9ca3323a117b3d3e694665d32a3fecfd63dfd1fb (diff)
Begin standardizing lib packages used by ffmpeg
Diffstat (limited to 'data/_ffmpeg')
-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/libmp3lame0.dep1
l---------data/_ffmpeg/_metadata/libopus.dep1
l---------data/_ffmpeg/_metadata/libopus0.dep1
l---------data/_ffmpeg/_metadata/libtheora.dep1
l---------data/_ffmpeg/_metadata/libtheora0.dep1
l---------data/_ffmpeg/_metadata/libvorbis.dep1
l---------data/_ffmpeg/_metadata/libvorbis0.dep1
l---------data/_ffmpeg/_metadata/libvpx.dep1
l---------data/_ffmpeg/_metadata/libvpx6.dep1
l---------data/_ffmpeg/_metadata/libxvidcore4.dep1
l---------data/_ffmpeg/_metadata/maintainer1
-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
-rw-r--r--data/_ffmpeg/_metadata/version1
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.sh22
25 files changed, 44 insertions, 0 deletions
diff --git a/data/_ffmpeg/_metadata/description b/data/_ffmpeg/_metadata/description
new file mode 100644
index 000000000..027cde4da
--- /dev/null
+++ b/data/_ffmpeg/_metadata/description
@@ -0,0 +1 @@
+Tools for transcoding, streaming and playing of multimedia files
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/libmp3lame0.dep b/data/_ffmpeg/_metadata/libmp3lame0.dep
new file mode 120000
index 000000000..6699d2958
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libmp3lame0.dep
@@ -0,0 +1 @@
+../../libmp3lame0 \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libopus.dep b/data/_ffmpeg/_metadata/libopus.dep
new file mode 120000
index 000000000..25443dffc
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libopus.dep
@@ -0,0 +1 @@
+../../libopus \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libopus0.dep b/data/_ffmpeg/_metadata/libopus0.dep
new file mode 120000
index 000000000..3af5f2a4e
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libopus0.dep
@@ -0,0 +1 @@
+../../libopus0 \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libtheora.dep b/data/_ffmpeg/_metadata/libtheora.dep
new file mode 120000
index 000000000..fd6f21fcc
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libtheora.dep
@@ -0,0 +1 @@
+../../libtheora \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libtheora0.dep b/data/_ffmpeg/_metadata/libtheora0.dep
new file mode 120000
index 000000000..02eb1ef4e
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libtheora0.dep
@@ -0,0 +1 @@
+../../libtheora0 \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libvorbis.dep b/data/_ffmpeg/_metadata/libvorbis.dep
new file mode 120000
index 000000000..2196d93e3
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libvorbis.dep
@@ -0,0 +1 @@
+../../libvorbis \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libvorbis0.dep b/data/_ffmpeg/_metadata/libvorbis0.dep
new file mode 120000
index 000000000..f85279696
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libvorbis0.dep
@@ -0,0 +1 @@
+../../libvorbis0 \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libvpx.dep b/data/_ffmpeg/_metadata/libvpx.dep
new file mode 120000
index 000000000..549f94c3c
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libvpx.dep
@@ -0,0 +1 @@
+../../libvpx \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libvpx6.dep b/data/_ffmpeg/_metadata/libvpx6.dep
new file mode 120000
index 000000000..2f5ef034d
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libvpx6.dep
@@ -0,0 +1 @@
+../../libvpx6 \ No newline at end of file
diff --git a/data/_ffmpeg/_metadata/libxvidcore4.dep b/data/_ffmpeg/_metadata/libxvidcore4.dep
new file mode 120000
index 000000000..ae684bdef
--- /dev/null
+++ b/data/_ffmpeg/_metadata/libxvidcore4.dep
@@ -0,0 +1 @@
+../../libxvidcore4 \ 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/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/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/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..a61fdbefd
--- /dev/null
+++ b/data/_ffmpeg/make.sh
@@ -0,0 +1,22 @@
+pkg:setup
+ARCH=$(echo ${PKG_TARG} | sed -e s/'-.*'//)
+
+# 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="$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix")" --enable-cross-compile \
+ --cross-prefix="${PKG_TARG}-" --target-os=darwin \
+ --disable-static --enable-shared --disable-debug --disable-stripping \
+ --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gnutls \
+ --enable-gpl --enable-libmp3lame --enable-libopus --enable-libtheora \
+ --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \
+ --enable-libxvid --enable-lzma # --enable-nonfree
+make -j16
+pkg:install