nixpkgs/pkgs/applications/networking/instant-messengers/alfaview/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

83 lines
1.9 KiB
Nix
Raw Normal View History

2022-05-06 06:51:18 +00:00
{ stdenv, lib, fetchurl, dpkg, autoPatchelfHook, makeWrapper, wrapGAppsHook
2021-11-30 01:59:54 +00:00
, alsa-lib, dbus, fontconfig, freetype, glib, gst_all_1, libGL
, libinput, libpulseaudio, libsecret, libtiff, libxkbcommon
, mesa, openssl, systemd, xorg }:
stdenv.mkDerivation rec {
pname = "alfaview";
2024-03-12 02:47:05 +00:00
version = "9.9.1";
2021-11-30 01:59:54 +00:00
src = fetchurl {
2023-05-28 18:12:08 +00:00
url = "https://assets.alfaview.com/stable/linux/deb/${pname}_${version}.deb";
2024-03-12 02:47:05 +00:00
hash = "sha256-GZLIVpXQ22W4JykdLJ7pTogOFhDaiukgsLa2E7giiaU=";
2021-11-30 01:59:54 +00:00
};
nativeBuildInputs = [
dpkg
makeWrapper
autoPatchelfHook
2022-05-06 06:51:18 +00:00
wrapGAppsHook
2021-11-30 01:59:54 +00:00
];
buildInputs = [
alsa-lib
dbus
fontconfig
freetype
glib
gst_all_1.gst-plugins-bad
2022-05-06 06:51:18 +00:00
gst_all_1.gst-plugins-good
2021-11-30 01:59:54 +00:00
gst_all_1.gst-plugins-base
libGL
libinput
libpulseaudio
libsecret
libtiff
libxkbcommon
mesa
openssl
stdenv.cc.cc
systemd
xorg.libX11
xorg.xcbutilwm
xorg.xcbutilimage
xorg.xcbutilkeysyms
xorg.xcbutilrenderutil
];
libPath = lib.makeLibraryPath buildInputs;
dontBuild = true;
dontConfigure = true;
unpackPhase = ''
dpkg-deb -x ${src} ./
'';
installPhase = ''
runHook preInstall
mv usr $out
mv opt $out
substituteInPlace $out/share/applications/alfaview.desktop \
--replace "/opt/alfaview" "$out/bin" \
--replace "/usr/share/pixmaps/alfaview_production.png" alfaview_production
makeWrapper $out/opt/alfaview/alfaview $out/bin/alfaview \
--prefix LD_LIBRARY_PATH : ${libPath}
runHook postInstall
'';
meta = with lib; {
description = "Video-conferencing application, specialized in virtual online meetings, seminars, training sessions and conferences";
homepage = "https://alfaview.com";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
2021-11-30 01:59:54 +00:00
license = licenses.unfree;
2022-05-06 06:51:18 +00:00
maintainers = with maintainers; [ wolfangaukang hexchen ];
2023-11-09 20:20:29 +00:00
mainProgram = "alfaview";
2021-11-30 01:59:54 +00:00
platforms = [ "x86_64-linux" ];
};
}