summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-02 00:05:37 +0200
committercah <cah@ableton.com>2021-09-11 09:19:26 +0200
commitbfa2e272af07c320db6963302aeabc4770756235 (patch)
tree8d0ccd2a8d85f8f3b56ec5af927b50582d2e827e
parent1ca454a5eab23d521e6317ae8d7c8da51629fb6e (diff)
Support building of cli-only .deb packages.
-rw-r--r--cscript7
1 files 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: