From 7b67e3fe35410e3768aa52ed764af3ed40b59625 Mon Sep 17 00:00:00 2001 From: James Cook Date: Sun, 8 Mar 2015 23:58:48 -0700 Subject: [PATCH] Enable aalib support in mplayer. --- pkgs/applications/video/mplayer/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix index dec3a5fc28d..86e5d9cb9eb 100644 --- a/pkgs/applications/video/mplayer/default.nix +++ b/pkgs/applications/video/mplayer/default.nix @@ -1,4 +1,5 @@ { stdenv, fetchurl, pkgconfig, freetype, yasm +, aalibSupport ? true, aalib ? null , fontconfigSupport ? true, fontconfig ? null, freefont_ttf ? null , fribidiSupport ? true, fribidi ? null , x11Support ? true, libX11 ? null, libXext ? null, mesa ? null @@ -103,6 +104,7 @@ stdenv.mkDerivation rec { buildInputs = with stdenv.lib; [ pkgconfig freetype ] + ++ optional aalibSupport aalib ++ optional fontconfigSupport fontconfig ++ optional fribidiSupport fribidi ++ optionals x11Support [ libX11 libXext mesa ]