From 07fc484a9295f07a92876484295904b9d77a8a6b Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Tue, 14 Oct 2008 14:01:38 +0000 Subject: [PATCH] added faad2 and faac (deps of cinelerra) svn path=/nixpkgs/trunk/; revision=13067 --- pkgs/development/libraries/faac/default.nix | 19 +++++++++++++++++++ pkgs/development/libraries/faad2/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 8 ++++++++ 3 files changed, 46 insertions(+) create mode 100644 pkgs/development/libraries/faac/default.nix create mode 100644 pkgs/development/libraries/faad2/default.nix diff --git a/pkgs/development/libraries/faac/default.nix b/pkgs/development/libraries/faac/default.nix new file mode 100644 index 000000000000..d1c0a825dea3 --- /dev/null +++ b/pkgs/development/libraries/faac/default.nix @@ -0,0 +1,19 @@ +args: +args.stdenv.mkDerivation { + name = "faac-1.26"; + + src = args.fetchurl { + url = http://downloads.sourceforge.net/faac/faac-1.26.tar.gz; + sha256 = "0ld9d8mn3yp90japzkqkicmjcggi7d8y9gn7cl1jdsb74bif4j2b"; + }; + + preConfigure = "./bootstrap"; + + buildInputs =(with args; [autoconf automake libtool]); + + meta = { + description="open source MPEG-4 and MPEG-2 AAC encoder"; + homepage = http://www.audiocoding.com/faac.html; + license = "LGPL"; + }; +} diff --git a/pkgs/development/libraries/faad2/default.nix b/pkgs/development/libraries/faad2/default.nix new file mode 100644 index 000000000000..23566428529f --- /dev/null +++ b/pkgs/development/libraries/faad2/default.nix @@ -0,0 +1,19 @@ +args: +args.stdenv.mkDerivation { + name = "faad2-2.6.1"; + + src = args.fetchurl { + url = http://downloads.sourceforge.net/faac/faad2-2.6.1.tar.gz; + sha256 = "0p1870qfpaadphdfphbcfalf6d25r30k3y1f7sa7ly4vq3hc5lla"; + }; + + preConfigure = "./bootstrap"; + + buildInputs =(with args; [autoconf automake libtool]); + + meta = { + description="AAC audio decoding library"; + homepage = http://www.audiocoding.com/faad2.html; + license = "GPLv2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5b1310734f84..6caeecc58885 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2700,6 +2700,14 @@ let ocaml = builtins.getAttr "3.10.0" ocaml_alts; }; + faac = import ../development/libraries/faac { + inherit fetchurl stdenv autoconf automake libtool; + }; + + faad2 = import ../development/libraries/faad2 { + inherit fetchurl stdenv autoconf automake libtool; + }; + fcgi = import ../development/libraries/fcgi { inherit fetchurl stdenv; };