specify deb control file when building headless to restrict dependencies

This commit is contained in:
Craig Raw 2024-09-04 15:11:51 +02:00
parent 49573d1075
commit eabc0da6d5
2 changed files with 10 additions and 1 deletions

View file

@ -275,7 +275,7 @@ jlink {
} }
if(os.linux) { if(os.linux) {
if(headless) { if(headless) {
installerOptions = ['--license-file', 'LICENSE'] installerOptions = ['--resource-dir', 'src/main/deploy/package/linux-headless/']
} else { } else {
installerOptions += ['--resource-dir', 'src/main/deploy/package/linux/', '--linux-shortcut', '--linux-menu-group', 'Sparrow'] installerOptions += ['--resource-dir', 'src/main/deploy/package/linux/', '--linux-shortcut', '--linux-menu-group', 'Sparrow']
} }

View file

@ -0,0 +1,9 @@
Package: sparrow
Version: 1.9.2-1
Section: utils
Maintainer: Craig Raw <mail@sparrowwallet.com>
Priority: optional
Architecture: amd64
Provides: sparrow
Description: Sparrow
Depends: libc6, zlib1g