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-27 00:05:17 +02:00
sha256 = "14pjy4w7a9g5dn5mssd5lzfl6pz5g8wgqz9fd4cb26dbrfb97i1b";
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;
});
}