dotfiles/overlays/ffmpeg.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

2020-05-12 08:44:02 +02:00
self: super:
{
ffmpeggit = super.ffmpeg-full.overrideAttrs (old: rec {
2020-05-13 20:33:08 +02:00
version = "4.2.2-04pkq2y2";
2020-05-12 08:44:02 +02:00
src = super.fetchurl {
url = "http://www.ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2";
2020-05-13 20:33:08 +02:00
sha256 = "04pkq2y245l09kyd1hb9b4qb9l2liq8k4q6yr613wy6b1bj8pb81";
2020-05-12 08:44:02 +02:00
};
configureFlags = [
"--enable-gpl"
"--enable-version3"
"--disable-debug"
2020-05-13 20:33:08 +02:00
"--enable-static"
2020-05-12 08:44:02 +02:00
"--disable-ffplay"
"--disable-indev=sndio"
"--disable-outdev=sndio"
"--cc=gcc"
"--enable-fontconfig"
"--enable-gnutls"
"--enable-gmp"
"--enable-libgme"
"--enable-gray"
"--enable-libaom"
"--enable-libfribidi"
"--enable-libass"
"--enable-libfreetype"
"--enable-libopencore-amrnb"
"--enable-libopencore-amrwb"
"--enable-libsoxr"
"--enable-libopus"
"--enable-libtheora"
"--enable-libvo-amrwbenc"
"--enable-libwebp"
"--enable-libx264"
"--enable-libdav1d"
];
patches = [];
});
myffmpeg = self.ffmpeggit.override (OldAttr: {
libaom = self.mylibaom;
});
}