lightworks: 2023.2-146240 -> 2023.2-146752

This commit is contained in:
Austin Butler 2024-07-28 17:46:57 -07:00
parent 89b6c71cc4
commit 39fba22f3e

View File

@ -1,7 +1,30 @@
{ lib, stdenv, fetchurl, dpkg, makeWrapper, buildFHSEnv
, gtk3, gdk-pixbuf, cairo, libjpeg_original, glib, pango, libGLU
, libGL, nvidia_cg_toolkit, zlib, openssl, libuuid
, alsa-lib, udev, libjack2, freetype, libva, libvdpau
{
lib,
stdenv,
fetchurl,
dpkg,
makeWrapper,
buildFHSEnv,
gtk3,
gdk-pixbuf,
cairo,
libjpeg_original,
glib,
pango,
libGLU,
libGL,
nvidia_cg_toolkit,
zlib,
openssl,
libuuid,
alsa-lib,
udev,
libjack2,
freetype,
libva,
libvdpau,
twolame,
gmp,
}:
let
fullPath = lib.makeLibraryPath [
@ -24,20 +47,23 @@ let
freetype
libva
libvdpau
twolame
gmp
];
lightworks = stdenv.mkDerivation rec {
version = "2023.2";
rev = "146240";
rev = "146752";
pname = "lightworks";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://cdn.lwks.com/releases/${version}/lightworks_${version}_r${rev}.deb";
sha256 = "sha256-sVEDCZZsY5OwuWebrhatzZiws89/tEKIdgY54PN0Ddo=";
sha256 = "sha256-Xjcqdhe85YdPX8AHpKmo/K77AURg0JvtqIvilQOV2ek=";
}
else throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";
else
throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ dpkg ];
@ -76,13 +102,12 @@ let
dontPatchELF = true;
};
in
# Lightworks expects some files in /usr/share/lightworks
in buildFHSEnv {
name = lightworks.name;
buildFHSEnv {
inherit (lightworks) pname version;
targetPkgs = pkgs: [
lightworks
];
targetPkgs = pkgs: [ lightworks ];
runScript = "lightworks";
@ -91,7 +116,12 @@ in buildFHSEnv {
homepage = "https://www.lwks.com/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ antonxy vojta001 kashw2 ];
mainProgram = "lightworks";
maintainers = with lib.maintainers; [
antonxy
vojta001
kashw2
];
platforms = [ "x86_64-linux" ];
};
}