Unverified Commit d4d006a3 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

gtuber: init at 0-unstable-2024-10-11 (#350471)

parents c51479a2 b2e53587
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@
, vala
, cmake
, libmicrodns
, gtuber
, glib-networking
}:

stdenv.mkDerivation (finalAttrs: {
@@ -49,6 +51,8 @@ stdenv.mkDerivation (finalAttrs: {
    gst_all_1.gst-plugins-good
    gst_all_1.gst-plugins-bad
    gst_all_1.gst-plugins-ugly
    gtuber
    glib-networking # for TLS support
    gtk4
    libGL
    libadwaita
+56 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  meson,
  ninja,
  pkg-config,
  gobject-introspection,
  vala,
  glib,
  libsoup_3,
  json-glib,
  libxml2,
  gst_all_1,
  unstableGitUpdater,
}:

stdenv.mkDerivation {
  pname = "gtuber";
  version = "0-unstable-2024-10-11";

  src = fetchFromGitHub {
    owner = "Rafostar";
    repo = "gtuber";
    rev = "468bf02a8adcf69b1bd6dd7b5dbcdcc0bfdb6922";
    hash = "sha256-pEiHqcxkrxZRD9xW/R9DNDdp5foxaHK2SAuzmPNegaY=";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
    gobject-introspection # For g-ir-scanner
    vala # For vapigen
  ];
  buildInputs = [
    glib
    libsoup_3
    json-glib
    libxml2
    gst_all_1.gstreamer
    gst_all_1.gst-plugins-base
  ];

  passthru = {
    updateScript = unstableGitUpdater { };
  };

  meta = {
    description = "GStreamer plugin for streaming videos from websites";
    homepage = "https://rafostar.github.io/gtuber/";
    license = lib.licenses.lgpl21Plus;
    maintainers = with lib.maintainers; [ chuangzhu ];
    platforms = lib.platforms.unix;
  };
}