aboutsummaryrefslogtreecommitdiff
path: root/extra/ffmpeg
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/ffmpeg
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/ffmpeg')
-rwxr-xr-xextra/ffmpeg/build25
-rw-r--r--extra/ffmpeg/checksums1
-rw-r--r--extra/ffmpeg/depends15
-rw-r--r--extra/ffmpeg/sources1
-rw-r--r--extra/ffmpeg/version1
5 files changed, 43 insertions, 0 deletions
diff --git a/extra/ffmpeg/build b/extra/ffmpeg/build
new file mode 100755
index 00000000..db997201
--- /dev/null
+++ b/extra/ffmpeg/build
@@ -0,0 +1,25 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --enable-shared \
+ --enable-gpl \
+ --enable-version3 \
+ --enable-libass \
+ --enable-libmp3lame \
+ --enable-libopus \
+ --enable-libvorbis \
+ --enable-libtheora \
+ --enable-libvpx \
+ --enable-libx264 \
+ --enable-libx265 \
+ --enable-libxvid \
+ --enable-libwebp \
+ --enable-libdrm \
+ --disable-debug
+
+make CC="${CC:-gcc}"
+make DESTDIR="$1" install
+
+# Remove examples.
+rm -rf "$1/usr/share/ffmpeg/examples"
diff --git a/extra/ffmpeg/checksums b/extra/ffmpeg/checksums
new file mode 100644
index 00000000..4344f014
--- /dev/null
+++ b/extra/ffmpeg/checksums
@@ -0,0 +1 @@
+cec7c87e9b60d174509e263ac4011b522385fd0775292e1670ecc1180c9bb6d4 ffmpeg-4.2.1.tar.xz
diff --git a/extra/ffmpeg/depends b/extra/ffmpeg/depends
new file mode 100644
index 00000000..529204d8
--- /dev/null
+++ b/extra/ffmpeg/depends
@@ -0,0 +1,15 @@
+pkgconf make
+perl make
+yasm make
+alsa-lib
+lame
+libass
+libogg
+libtheora
+libvorbis
+libwebp
+libvpx
+opus
+x264
+x265
+xvidcore
diff --git a/extra/ffmpeg/sources b/extra/ffmpeg/sources
new file mode 100644
index 00000000..44e660ce
--- /dev/null
+++ b/extra/ffmpeg/sources
@@ -0,0 +1 @@
+https://www.ffmpeg.org/releases/ffmpeg-4.2.1.tar.xz
diff --git a/extra/ffmpeg/version b/extra/ffmpeg/version
new file mode 100644
index 00000000..fa7b9c86
--- /dev/null
+++ b/extra/ffmpeg/version
@@ -0,0 +1 @@
+4.2.1 2