From bfa2e272af07c320db6963302aeabc4770756235 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 2 Aug 2021 00:05:37 +0200 Subject: Support building of cli-only .deb packages. --- cscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cscript b/cscript index db676c335..8dd51f0b6 100644 --- a/cscript +++ b/cscript @@ -266,7 +266,8 @@ def make_control(debian_version, bits, filename, debug, gui): print('Standards-Version: 3.9.3', file=f) print('Homepage: https://dcpomatic.com/', file=f) print('', file=f) - print('Package: dcpomatic', file=f) + suffix = '' if gui else '-cli' + print(f'Package: dcpomatic{suffix}', file=f) if bits == 32: print('Architecture: i386', file=f) else: @@ -282,10 +283,12 @@ def make_control(debian_version, bits, filename, debug, gui): print(' DCP-o-matic generates Digital Cinema Packages (DCPs) from videos, images,', file=f) print(' sound and subtitle files. You can use it to make content for playback on DCI-compliant', file=f) print(' cinema projectors.', file=f) + if not gui: + print(' This package contains the command-line tools only.', file=f) if debug: print('', file=f) - print('Package: dcpomatic-dbg', file=f) + print(f'Package: dcpomatic{suffix}-dbg', file=f) if bits == 32: print('Architecture: i386', file=f) else: -- cgit v1.2.3