From acd3749ecf95bbd00f9ca583042377f6271ffc5e Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Mon, 14 Aug 2023 21:45:22 +0200 Subject: [PATCH] mplayer: enable build on aarch64-linux Without disabling vidix, mplayer does not build on aarch64-linux. --- pkgs/applications/video/mplayer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix index e384c1f5c194..880ea831f186 100644 --- a/pkgs/applications/video/mplayer/default.nix +++ b/pkgs/applications/video/mplayer/default.nix @@ -152,7 +152,7 @@ stdenv.mkDerivation rec { (stdenv.hostPlatform.isx86 && !crossBuild) "--enable-runtime-cpudetection" ++ optional fribidiSupport "--enable-fribidi" - ++ optional stdenv.isLinux "--enable-vidix" + ++ optional (stdenv.isLinux && !stdenv.isAarch64) "--enable-vidix" ++ optional stdenv.isLinux "--enable-fbdev" ++ optionals (crossBuild) [ "--enable-cross-compile" @@ -203,6 +203,6 @@ stdenv.mkDerivation rec { homepage = "http://mplayerhq.hu"; license = licenses.gpl2Only; maintainers = with maintainers; [ eelco ]; - platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; + platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ]; }; }