This commit is contained in:
Daniel Løvbrøtte Olsen 2020-05-12 08:44:02 +02:00 committed by Daniel Olsen
parent 8f0ab5bb2e
commit 0abe4937dd
4 changed files with 57 additions and 2 deletions

2
bin/prepend Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
while read line; do echo "${1}${line}"; done;

View File

@ -72,7 +72,7 @@
home.packages = [ home.packages = [
pkgs.nerdfonts pkgs.nerdfonts
pkgs.ntfy #pkgs.ntfy
]; ];
} }

View File

@ -19,7 +19,7 @@
nixops nixops
ldns ldns
danstable.mangohud # danstable.mangohud
unstable.steam unstable.steam
dolphinEmuMaster dolphinEmuMaster

53
overlays/ffmpeg.nix Normal file
View File

@ -0,0 +1,53 @@
self: super:
{
ffmpeggit = super.ffmpeg-full.overrideAttrs (old: rec {
version = "4.2.2";
src = super.fetchurl {
url = "http://www.ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2";
sha256 = "1lj7spgmv2kqiz25dpy2gzbciqdsm7j3q1s1j4csnal5jyq6a28m";
};
configureFlags = [
"--enable-gpl"
"--enable-version3"
"--enable-static"
"--disable-debug"
"--disable-ffplay"
"--disable-indev=sndio"
"--disable-outdev=sndio"
"--cc=gcc"
"--enable-fontconfig"
"--enable-frei0r"
"--enable-gnutls"
"--enable-gmp"
"--enable-libgme"
"--enable-gray"
"--enable-libaom"
"--enable-libfribidi"
"--enable-libass"
"--enable-libvmaf"
"--enable-libfreetype"
"--enable-libmp3lame"
"--enable-libopencore-amrnb"
"--enable-libopencore-amrwb"
"--enable-libopenjpeg"
"--enable-libsoxr"
"--enable-libspeex"
"--enable-libvorbis"
"--enable-libopus"
"--enable-libtheora"
"--enable-libvidstab"
"--enable-libvo-amrwbenc"
"--enable-libvpx"
"--enable-libwebp"
"--enable-libx264"
"--enable-libx265"
"--enable-libdav1d"
"--enable-libxvid"
];
patches = [];
});
myffmpeg = self.ffmpeggit.override (OldAttr: {
libaom = self.mylibaom;
});
}