From ec51f9939b668a07462bc6ab35d2f81007b54820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Mon, 20 Apr 2020 08:28:26 +0200 Subject: [PATCH] Add libaom overlay --- overlays/libaom.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 overlays/libaom.nix diff --git a/overlays/libaom.nix b/overlays/libaom.nix new file mode 100644 index 0000000..f37deef --- /dev/null +++ b/overlays/libaom.nix @@ -0,0 +1,19 @@ +self: super: +{ + mylibaom = super.libaom.overrideAttrs (old: rec { + version = "1.0.0-g33e9b7fb1"; + src = super.fetchgit { + url = "https://aomedia.googlesource.com/aom"; + rev = "33e9b7fb1c5f14657142b8a54e5166f5240821d7"; + sha256 = "10viwhjh0qm600ych8652q2a04351qy6fj26qzm4nszncflj4g7w"; + }; + + + cmakeFlags = [ + "-DCMAKE_INSTALL_LIBDIR=lib" + "-DCMAKE_INSTALL_BINDIR=bin" + "-DCMAKE_INSTALL_INCLUDEDIR=include" + ]; + }); + +}