File tree Expand file tree Collapse file tree 2 files changed +25
-14
lines changed
applications/graphics/lightburn Expand file tree Collapse file tree 2 files changed +25
-14
lines changed Original file line number Diff line number Diff line change 66 nss ,
77 nspr ,
88 libusb1 ,
9- qtbase ,
10- qtmultimedia ,
11- qtserialport ,
129 cups ,
1310 autoPatchelfHook ,
1411 libgpg-error ,
1512 e2fsprogs ,
1613 makeDesktopItem ,
1714 copyDesktopItems ,
15+ xorg ,
16+ libGL ,
17+ alsa-lib ,
18+ freetype ,
19+ fontconfig ,
20+ makeWrapper ,
1821} :
1922
2023stdenv . mkDerivation rec {
2124 pname = "lightburn" ;
22- version = "1.7.04 " ;
25+ version = "1.7.06 " ;
2326
2427 src = fetchurl {
2528 url = "https://release.lightburnsoftware.com/LightBurn/Release/LightBurn-v${ version } /LightBurn-Linux64-v${ version } .7z" ;
26- hash = "sha256-zO6lQTlBARHmYIdq/xHwFg+6FLbkAIAWAG30Tpw8Z4c =" ;
29+ hash = "sha256-vvei+hfTfWAoLWjf7joMjaW7aL2RZg134M4XT6iW2tY =" ;
2730 } ;
2831
2932 nativeBuildInputs = [
3033 p7zip
3134 autoPatchelfHook
3235 copyDesktopItems
36+ makeWrapper
3337 ] ;
3438
3539 buildInputs = [
3640 nss
3741 nspr
3842 libusb1
39- qtbase
40- qtmultimedia
41- qtserialport
4243 cups
4344 libgpg-error
4445 e2fsprogs
46+ xorg . libX11
47+ xorg . libxcb
48+ libGL
49+ alsa-lib
50+ freetype
51+ fontconfig
4552 ] ;
4653
4754 unpackPhase = ''
@@ -61,15 +68,19 @@ stdenv.mkDerivation rec {
6168 installPhase = ''
6269 runHook preInstall
6370
64- mkdir -p $out/bin $out/app
65- cp -ar LightBurn $out/app/lightburn
66- ln -s $out/app/lightburn/AppRun $out/bin/lightburn
67- install -Dm644 $out/app/lightburn/LightBurn.png $out/share/pixmaps/lightburn.png
71+ mkdir -p $out/opt
72+ cp -ar LightBurn $out/opt/lightburn
73+ install -Dm644 $out/opt/lightburn/LightBurn.png $out/share/pixmaps/lightburn.png
6874
6975 runHook postInstall
7076 '' ;
7177
72- dontWrapQtApps = true ;
78+ postFixup = ''
79+ mkdir $out/bin
80+ makeWrapper $out/opt/lightburn/AppRun $out/bin/lightburn \
81+ --unset QT_PLUGIN_PATH \
82+ --unset QML2_IMPORT_PATH
83+ '' ;
7384
7485 meta = {
7586 description = "Layout, editing, and control software for your laser cutter" ;
Original file line number Diff line number Diff line change @@ -14132,7 +14132,7 @@ with pkgs;
1413214132
1413314133 ledger-web = callPackage ../applications/office/ledger-web { };
1413414134
14135- lightburn = libsForQt5. callPackage ../applications/graphics/lightburn { };
14135+ lightburn = callPackage ../applications/graphics/lightburn { };
1413614136
1413714137 lighthouse-steamvr = callPackage ../tools/misc/lighthouse-steamvr {
1413814138 inherit (darwin.apple_sdk.frameworks) AppKit;
You can’t perform that action at this time.
0 commit comments