libnut: init at unstable-2020-11-06
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{ stdenv, lib, fetchgit }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libnut";
|
||||
version = "unstable-2020-11-06";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.ffmpeg.org/nut.git";
|
||||
rev = "12f6a7af3e0f34fd957cf078b66f072d3dc695b3";
|
||||
sha256 = "1wgl2mb9482c1j3yac0v2ilfjs7gb9mhw9kjnrmlj9kp0whm4l1j";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/src/trunk";
|
||||
patches = [ ./prefix.patch ];
|
||||
dontConfigure = true;
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
installTargets = "install-libnut";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library to read/write the NUT video container format";
|
||||
homepage = "https://git.ffmpeg.org/gitweb/nut.git";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ quag ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
diff --git a/config.mak b/config.mak
|
||||
index 7d88c34..65aa7b1 100644
|
||||
--- a/config.mak
|
||||
+++ b/config.mak
|
||||
@@ -1,5 +1,3 @@
|
||||
-PREFIX = /usr/local
|
||||
-prefix = $(DESTDIR)$(PREFIX)
|
||||
|
||||
#CFLAGS += -DDEBUG
|
||||
|
||||
@@ -20097,6 +20097,8 @@ with pkgs;
|
||||
|
||||
libmkv = callPackage ../development/libraries/libmkv { };
|
||||
|
||||
libnut = callPackage ../development/libraries/libnut { };
|
||||
|
||||
libmms = callPackage ../development/libraries/libmms { };
|
||||
|
||||
libmowgli = callPackage ../development/libraries/libmowgli { };
|
||||
|
||||
Reference in New Issue
Block a user