Unverified Commit 4731605e authored by Tobi Oloke's avatar Tobi Oloke Committed by GitHub
Browse files

mediasynclite: init at 0.4.2 (#294716)



Co-authored-by: default avatarSandro <sandro.jaeckel@gmail.com>
parent 3f3c5246
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20714,6 +20714,12 @@
    githubId = 858790;
    name = "Tobias Mayer";
  };
  tobz619 = {
    email = "toloke@yahoo.co.uk";
    github = "tobz619";
    githubId = 93312805;
    name = "Tobi Oloke";
  };
  tochiaha = {
    email = "tochiahan@proton.me";
    github = "Tochiaha";
+54 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, gtk3
, glib
, gsettings-desktop-schemas
, pkg-config
, curl
, openssl
, jansson
, wrapGAppsHook3
}:

stdenv.mkDerivation rec {
  pname = "mediasynclite";
  version = "0.4.2";

  src = fetchFromGitHub {
    owner = "iBroadcastMediaServices";
    repo = "MediaSyncLiteLinux";
    rev = version;
    hash = "sha256-ToSkR6tPJMBCcj1NUBAywKjCAPlpmh+ngIopFrT2PIA=";
  };

  buildInputs = [
    curl
    glib
    gtk3
    openssl
    jansson
  ];

  strictDeps = true;

  nativeBuildInputs = [
    gsettings-desktop-schemas
    pkg-config
    wrapGAppsHook3
  ];

  makeFlags = [ "PREFIX=$(out)" ];

  postPatch = ''
    substitute ./src/ibmsl.c ./src/ibmsl.c --subst-var out
  '';

  meta = with lib; {
    description = "A Linux-native graphical uploader for iBroadcast";
    downloadPage = "https://github.com/tobz619/MediaSyncLiteLinuxNix";
    homepage = "https://github.com/iBroadcastMediaServices/MediaSyncLiteLinux";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ tobz619 ];
  };
}