mplayer: enable strictDeps and structuredAttrs

This commit is contained in:
Stefan Frijters
2026-05-31 15:46:24 +02:00
parent 97950d6fec
commit 35685c55e8
@@ -137,6 +137,9 @@ stdenv.mkDerivation {
nativeBuildInputs = [
pkg-config
yasm
]
++ lib.optionals cacaSupport [
libcaca # caca-config
];
buildInputs = [
freetype
@@ -176,6 +179,8 @@ stdenv.mkDerivation {
++ lib.optional bs2bSupport libbs2b
++ lib.optional v4lSupport libv4l;
strictDeps = true;
configurePlatforms = [ ];
configureFlags = [
(lib.enableFeature true "freetype")
@@ -278,6 +283,8 @@ stdenv.mkDerivation {
fi
'';
__structuredAttrs = true;
meta = {
description = "Movie player that supports many video formats";
homepage = "http://mplayerhq.hu";