lightburn-on-linux-git
LOW
maintainer jlucaso
0 votes
scanned 2026-09-07 09:14:05.297877
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: jlucaso <jlucaso at users dot noreply dot github dot com>
2
pkgname=lightburn-on-linux-git
3
pkgver=0.r5.g2424aab
4
pkgrel=1
5
pkgdesc="Unofficial Wine compatibility wrapper for LightBurn; install LightBurn separately"
6
arch=('x86_64')
7
url="https://github.com/jlucaso1/lightburn-on-linux"
8
license=('MIT')
9
depends=('bash' 'coreutils' 'wine')
10
makedepends=('git' 'mingw-w64-gcc')
11
checkdepends=('shellcheck' 'desktop-file-utils')
12
optdepends=('xorg-server-xvfb: headless setup with xvfb-run and its xorg-xauth dependency'
13
'xorg-xwayland: graphical launch on Wayland with DISPLAY')
14
provides=("lightburn-on-linux=${pkgver}")
15
conflicts=('lightburn-on-linux')
16
options=('!strip' '!debug')
17
source=("upstream::git+${url}.git#branch=main"
18
'lightburn-on-linux'
19
'lightburn-on-linux-setup'
20
'lightburn-on-linux-map-serial'
21
'lightburn-on-linux.desktop'
22
'check-wrappers.sh'
23
'mock-bash.sh'
24
'README.md')
25
sha256sums=('SKIP'
26
'9de0d748fe486876e09418fedce5a4a25aaafdf28928795d28f842b3c84b42ca'
27
'98cfce43faed522093313df81bcd7dad4beac52d82717dfcd5b034e73736e71f'
28
'86c1a450a2f18a73378f597b05087a5ea783e2df885583ff022c6f39a06c8029'
29
'31ea737b27595ead2c0975b1cba6cf2de53fb7cd24dc285c5d78b778cc541c87'
30
'ef953f3914551cb4149e6a63023f4737099536ed2edd43835188463905b000ad'
31
'c6db6763d055691a69a8940868fa7c9fd3f426e4183a9ba1a463c25155501664'
32
'b5403d7a11fb16e0b43ac4d5b6c89fd5311efd88f0f763508859e3ecf7bb7148')
33
34
pkgver() {
35
cd upstream
36
printf '0.r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
37
}
38
39
build() {
40
cd upstream
41
mkdir -p build
42
CC=x86_64-w64-mingw32-gcc bash shim/build.sh "$PWD/build/winrtcamstub.dll"
43
CC=x86_64-w64-mingw32-gcc bash scripts/build-launcher.sh "$PWD/build/start-lightburn.exe"
44
}
45
46
check() {
47
cd upstream
48
local script binary
49
for script in scripts/*.sh shim/*.sh tests/*.sh versions.env; do
50
bash -n "$script"
51
done
52
shellcheck --shell=bash --external-sources --source-path=SCRIPTDIR \
53
scripts/*.sh shim/*.sh tests/*.sh versions.env
54
bash tests/run.sh
55
x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -O2 \
56
-o build/helper-service.exe tests/helper-service.c -ladvapi32
57
x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -O2 \
58
-o build/start-lightburn-tests.exe tests/start-lightburn.c -ladvapi32
59
x86_64-w64-mingw32-gcc -Wall -Wextra -Werror -O2 \
60
-o build/shim-com.exe tests/shim-com.c -lwindowsapp -luser32 -lkernel32
61
for binary in winrtcamstub.dll start-lightburn.exe; do
62
x86_64-w64-mingw32-objdump -p "build/$binary" > "build/$binary.pe"
63
grep -q 'file format pei-x86-64' "build/$binary.pe"
64
done
65
awk '
66
/^\[Ordinal\/Name Pointer\]/ { exports = 1; next }
67
exports && NF == 0 { exports = 0 }
68
exports && $NF == "DllGetActivationFactory" { found = 1 }
69
END { exit !found }
70
' build/winrtcamstub.dll.pe
71
cd "$srcdir"
72
for script in lightburn-on-linux lightburn-on-linux-setup lightburn-on-linux-map-serial check-wrappers.sh mock-bash.sh; do
73
bash -n "$script"
74
shellcheck --shell=bash "$script"
75
done
76
bash check-wrappers.sh
77
desktop-file-validate lightburn-on-linux.desktop
78
}
79
80
package() {
81
local script
82
for script in lightburn-on-linux lightburn-on-linux-setup lightburn-on-linux-map-serial; do
83
install -Dm755 "$script" "$pkgdir/usr/bin/$script"
84
done
85
install -Dm644 lightburn-on-linux.desktop "$pkgdir/usr/share/applications/lightburn-on-linux.desktop"
86
install -Dm644 README.md "$pkgdir/usr/share/doc/lightburn-on-linux/README.arch.md"
87
cd upstream
88
for script in common.sh install.sh run.sh map-serial.sh; do
89
install -Dm644 "scripts/$script" "$pkgdir/usr/share/lightburn-on-linux/scripts/$script"
90
done
91
install -Dm644 versions.env "$pkgdir/usr/share/lightburn-on-linux/versions.env"
92
install -Dm644 build/winrtcamstub.dll "$pkgdir/usr/lib/lightburn-on-linux/winrtcamstub.dll"
93
install -Dm644 build/start-lightburn.exe "$pkgdir/usr/lib/lightburn-on-linux/start-lightburn.exe"
94
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
95
install -Dm644 /usr/share/licenses/mingw-w64-crt/COPYING.MinGW-w64-runtime.txt \
96
"$pkgdir/usr/share/licenses/$pkgname/COPYING.MinGW-w64-runtime.txt"
97
install -Dm644 /usr/share/licenses/gcc/RUNTIME.LIBRARY.EXCEPTION \
98
"$pkgdir/usr/share/licenses/$pkgname/RUNTIME.LIBRARY.EXCEPTION"
99
install -Dm644 /usr/share/licenses/spdx/GPL-3.0-or-later.txt "$pkgdir/usr/share/licenses/$pkgname/GPL3"
100
install -Dm644 README.md LEGAL.md COMPATIBILITY.md -t "$pkgdir/usr/share/doc/lightburn-on-linux/"
101
}
102
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-07 09:14:05 | Low | 1 |