mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
smplayer: add flag -Wunused-but-set-variable=0 (#569019)
This commit is contained in:
@@ -26,10 +26,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [ qtscript ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
dontUseQmakeConfigure = true;
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
# https://github.com/smplayer-dev/smplayer/issues/1318
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-but-set-variable";
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.smplayer.info";
|
||||
description = "Complete front-end for MPlayer";
|
||||
@@ -53,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
changelog = "https://github.com/smplayer-dev/smplayer/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ ];
|
||||
maintainers = [ lib.maintainers.skohtv ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user