summaryrefslogtreecommitdiff
path: root/repo/ffmpeg/ffmpeg.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/ffmpeg/ffmpeg.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/ffmpeg/ffmpeg.xibuild')
-rw-r--r--repo/ffmpeg/ffmpeg.xibuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/repo/ffmpeg/ffmpeg.xibuild b/repo/ffmpeg/ffmpeg.xibuild
new file mode 100644
index 0000000..6d7f960
--- /dev/null
+++ b/repo/ffmpeg/ffmpeg.xibuild
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+NAME="ffmpeg"
+DESC="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
+
+MAKEDEPS="make "
+DEPS="alsa-lib aom gnutls libass bzip2 dav1d libdrm pulseaudio librist libsrt libtheora libva libvorbis libvpx libwebp libx11 libxcb musl opus sdl2 v4l-utils vidstab x264 x265 xvidcore zlib lame soxr"
+
+PKG_VER=5.0.1
+SOURCE="https://ffmpeg.org/releases/ffmpeg-$PKG_VER.tar.xz"
+ADDITIONAL="
+0001-ffbuild-libversion.sh-add-shebang.patch
+0001-libavutil-clean-up-unused-FF_SYMVER-macro.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --enable-avfilter \
+ --enable-gnutls \
+ --enable-gpl \
+ --enable-libass \
+ --enable-libmp3lame \
+ --enable-libpulse \
+ --enable-libvorbis \
+ --enable-libvpx \
+ --enable-libxvid \
+ --enable-libx264 \
+ --enable-libx265 \
+ --enable-libtheora \
+ --enable-libv4l2 \
+ --enable-libdav1d \
+ --enable-lto \
+ --enable-postproc \
+ --enable-pic \
+ --enable-pthreads \
+ --enable-shared \
+ --enable-libxcb \
+ --enable-librist \
+ --enable-libsrt \
+ --enable-libvidstab \
+ --disable-stripping \
+ --disable-static \
+ --disable-librtmp \
+ --enable-libaom \
+ --enable-libopus \
+ --enable-libsoxr \
+ --enable-libwebp \
+ --enable-vaapi \
+ --enable-vdpau \
+ --enable-libdrm
+
+
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}