diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-08-02 00:05:37 +0200 |
|---|---|---|
| committer | cah <cah@ableton.com> | 2021-09-11 09:19:26 +0200 |
| commit | bfa2e272af07c320db6963302aeabc4770756235 (patch) | |
| tree | 8d0ccd2a8d85f8f3b56ec5af927b50582d2e827e | |
| parent | 1ca454a5eab23d521e6317ae8d7c8da51629fb6e (diff) | |
Support building of cli-only .deb packages.
| -rw-r--r-- | cscript | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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: |
