summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Foremny <aforemny@posteo.de>2023-08-14 21:45:22 +0200
committerAlexander Foremny <aforemny@posteo.de>2023-08-14 23:05:57 +0200
commitacd3749ecf95bbd00f9ca583042377f6271ffc5e (patch)
tree6d1db4b2c397d544d9411c50a5cf00dbce5a3835
parent87c5a6a84fcb94fd52507c24bb31c3b844775190 (diff)
downloadnixpkgs-acd3749ecf95bbd00f9ca583042377f6271ffc5e.tar
nixpkgs-acd3749ecf95bbd00f9ca583042377f6271ffc5e.tar.gz
nixpkgs-acd3749ecf95bbd00f9ca583042377f6271ffc5e.tar.bz2
nixpkgs-acd3749ecf95bbd00f9ca583042377f6271ffc5e.tar.lz
nixpkgs-acd3749ecf95bbd00f9ca583042377f6271ffc5e.tar.xz
nixpkgs-acd3749ecf95bbd00f9ca583042377f6271ffc5e.tar.zst
nixpkgs-acd3749ecf95bbd00f9ca583042377f6271ffc5e.zip
mplayer: enable build on aarch64-linux
Without disabling vidix, mplayer does not build on aarch64-linux.
-rw-r--r--pkgs/applications/video/mplayer/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix
index e384c1f5c19..880ea831f18 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" ];
   };
 }