Unverified Commit e56a7dbb authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

mfaomp: init at 0.4.2 (#414760)

parents f846d374 6c0dee3d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -18048,6 +18048,12 @@
    githubId = 42888162;
    keys = [ { fingerprint = "A0B9 48C5 A263 55C2 035F  8567 FBB7 2A94 52D9 1A72"; } ];
  };
  neurofibromin = {
    name = "Neurofibromin";
    github = "Neurofibromin";
    githubId = 125222560;
    keys = [ { fingerprint = "9F9B FE94 618A D266 67BD 2821 4F67 1AFA D8D4 428B"; } ];
  };
  neverbehave = {
    email = "i@never.pet";
    github = "NeverBehave";
+51 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
  pkg-config,
  qt6,
  libvlc,
  libvlcpp,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "mfaomp";
  version = "0.4.3";

  src = fetchFromGitHub {
    owner = "Neurofibromin";
    repo = "mfaomp";
    tag = "v${finalAttrs.version}";
    hash = "sha256-b8eIG5UC1i4yfHSStNwhgIttTS+g511RmFJ5OYxeYvM=";
  };

  nativeBuildInputs = [
    cmake
    pkg-config
    qt6.wrapQtAppsHook
  ];

  buildInputs = [
    qt6.qtbase
    qt6.qtmultimedia
    qt6.qtwebengine
    qt6.qtsvg
    libvlc
    libvlcpp
  ];

  cmakeFlags = [
    (lib.cmakeBool "USE_SYSTEM_PROVIDED_LIBVLCPP" true)
    (lib.cmakeBool "USE_FETCHED_LIBVLCPP" false)
  ];

  meta = {
    description = "Multiple Files At Once Media Player";
    homepage = "https://github.com/Neurofibromin/mfaomp";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ neurofibromin ];
    platforms = lib.platforms.linux;
    mainProgram = "mfaomp";
  };
})