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')
l---------data/ffmpeg/_metadata/_ffmpeg.dep1
l---------data/ffmpeg/_metadata/lame.dep1
l---------data/ffmpeg/_metadata/libavcodec58.dep1
l---------data/ffmpeg/_metadata/libavdevice58.dep1
l---------data/ffmpeg/_metadata/libavfilter7.dep1
l---------data/ffmpeg/_metadata/libavformat58.dep1
l---------data/ffmpeg/_metadata/libavtil56.dep1
l---------data/ffmpeg/_metadata/libavutil56.dep1
l---------data/ffmpeg/_metadata/libmp3lame0.dep1
l---------data/ffmpeg/_metadata/libogg0.dep1
l---------data/ffmpeg/_metadata/libopus.dep1
l---------data/ffmpeg/_metadata/libopus0.dep1
l---------data/ffmpeg/_metadata/libpostproc55.dep1
l---------data/ffmpeg/_metadata/libswresample3.dep1
l---------data/ffmpeg/_metadata/libswscale5.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/libx264-157.dep1
l---------data/ffmpeg/_metadata/libx265-169.dep1
l---------data/ffmpeg/_metadata/x264.dep1
l---------data/ffmpeg/_metadata/x265.dep1
-rw-r--r--data/ffmpeg/ffmpeg-4.1.3.tar.xzbin8895988 -> 0 bytes
-rw-r--r--data/ffmpeg/make.sh24
27 files changed, 20 insertions, 29 deletions
diff --git a/data/ffmpeg/_metadata/_ffmpeg.dep b/data/ffmpeg/_metadata/_ffmpeg.dep
new file mode 120000
index 000000000..fbdeb149b
--- /dev/null
+++ b/data/ffmpeg/_metadata/_ffmpeg.dep
@@ -0,0 +1 @@
+../../_ffmpeg \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/lame.dep b/data/ffmpeg/_metadata/lame.dep
deleted file mode 120000
index ddc2ccf8c..000000000
--- a/data/ffmpeg/_metadata/lame.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../lame \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libavcodec58.dep b/data/ffmpeg/_metadata/libavcodec58.dep
new file mode 120000
index 000000000..28121412e
--- /dev/null
+++ b/data/ffmpeg/_metadata/libavcodec58.dep
@@ -0,0 +1 @@
+../../libavcodec58 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libavdevice58.dep b/data/ffmpeg/_metadata/libavdevice58.dep
new file mode 120000
index 000000000..d128c271f
--- /dev/null
+++ b/data/ffmpeg/_metadata/libavdevice58.dep
@@ -0,0 +1 @@
+../../libavdevice58 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libavfilter7.dep b/data/ffmpeg/_metadata/libavfilter7.dep
new file mode 120000
index 000000000..0bfb49e16
--- /dev/null
+++ b/data/ffmpeg/_metadata/libavfilter7.dep
@@ -0,0 +1 @@
+../../libavfilter7 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libavformat58.dep b/data/ffmpeg/_metadata/libavformat58.dep
new file mode 120000
index 000000000..cdcf9037e
--- /dev/null
+++ b/data/ffmpeg/_metadata/libavformat58.dep
@@ -0,0 +1 @@
+../../libavformat58 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libavtil56.dep b/data/ffmpeg/_metadata/libavtil56.dep
new file mode 120000
index 000000000..6c5139121
--- /dev/null
+++ b/data/ffmpeg/_metadata/libavtil56.dep
@@ -0,0 +1 @@
+../../libavtil56 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libavutil56.dep b/data/ffmpeg/_metadata/libavutil56.dep
new file mode 120000
index 000000000..30743e443
--- /dev/null
+++ b/data/ffmpeg/_metadata/libavutil56.dep
@@ -0,0 +1 @@
+../../libavutil56 \ 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/libogg0.dep b/data/ffmpeg/_metadata/libogg0.dep
new file mode 120000
index 000000000..d6039533a
--- /dev/null
+++ b/data/ffmpeg/_metadata/libogg0.dep
@@ -0,0 +1 @@
+../../libogg0 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libopus.dep b/data/ffmpeg/_metadata/libopus.dep
deleted file mode 120000
index 25443dffc..000000000
--- a/data/ffmpeg/_metadata/libopus.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../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/libpostproc55.dep b/data/ffmpeg/_metadata/libpostproc55.dep
new file mode 120000
index 000000000..2c2b1f69d
--- /dev/null
+++ b/data/ffmpeg/_metadata/libpostproc55.dep
@@ -0,0 +1 @@
+../../libpostproc55 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libswresample3.dep b/data/ffmpeg/_metadata/libswresample3.dep
new file mode 120000
index 000000000..449f4c2cd
--- /dev/null
+++ b/data/ffmpeg/_metadata/libswresample3.dep
@@ -0,0 +1 @@
+../../libswresample3 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libswscale5.dep b/data/ffmpeg/_metadata/libswscale5.dep
new file mode 120000
index 000000000..55eb2de35
--- /dev/null
+++ b/data/ffmpeg/_metadata/libswscale5.dep
@@ -0,0 +1 @@
+../../libswscale5 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libtheora.dep b/data/ffmpeg/_metadata/libtheora.dep
deleted file mode 120000
index fd6f21fcc..000000000
--- a/data/ffmpeg/_metadata/libtheora.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../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
deleted file mode 120000
index 2196d93e3..000000000
--- a/data/ffmpeg/_metadata/libvorbis.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../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
deleted file mode 120000
index 549f94c3c..000000000
--- a/data/ffmpeg/_metadata/libvpx.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../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/libx264-157.dep b/data/ffmpeg/_metadata/libx264-157.dep
new file mode 120000
index 000000000..22e08a533
--- /dev/null
+++ b/data/ffmpeg/_metadata/libx264-157.dep
@@ -0,0 +1 @@
+../../libx264-157 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/libx265-169.dep b/data/ffmpeg/_metadata/libx265-169.dep
new file mode 120000
index 000000000..f4b3b0a5c
--- /dev/null
+++ b/data/ffmpeg/_metadata/libx265-169.dep
@@ -0,0 +1 @@
+../../libx265-169 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/x264.dep b/data/ffmpeg/_metadata/x264.dep
deleted file mode 120000
index e87b337ed..000000000
--- a/data/ffmpeg/_metadata/x264.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../x264 \ No newline at end of file
diff --git a/data/ffmpeg/_metadata/x265.dep b/data/ffmpeg/_metadata/x265.dep
deleted file mode 120000
index de37d9151..000000000
--- a/data/ffmpeg/_metadata/x265.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../x265 \ 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
deleted file mode 100644
index 91336f1a0..000000000
--- a/data/ffmpeg/ffmpeg-4.1.3.tar.xz
+++ /dev/null
Binary files differ
diff --git a/data/ffmpeg/make.sh b/data/ffmpeg/make.sh
index a61fdbefd..c9c892170 100644
--- a/data/ffmpeg/make.sh
+++ b/data/ffmpeg/make.sh
@@ -1,22 +1,2 @@
-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
+pkg: mkdir -p /usr/bin
+cp -a "$(PKG_DEST_ _lame)"/usr/bin/* "${PKG_DEST}"/usr/bin