Skip to content

Commit

Permalink
Enable building the docker-based builds with gtk2 (for those that sup…
Browse files Browse the repository at this point in the history
…port it.)
  • Loading branch information
RobinD42 committed Nov 25, 2020
1 parent 7118a36 commit 63b8099
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1729,6 +1729,21 @@ def cmd_build_docker(options, args):
cmd.append('-i')
cmd.append(img)

# Do just the gtk2 builds?
if options.gtk2:
cmd.extend(['--port', 'gtk2'])

# TODO: Instead of the simple options.gtk2 test above, do something like the
# following to select both. But currently if gtk2 is selected then
# options.gtk3 is explicity set to False... That needs to be made a little
# smarter.
# if options.gtk2 and options.gtk3:
# cmd.extend(['--port', 'all'])
# elif options.gtk2:
# cmd.extend(['--port', 'gtk2'])
# else:
# cmd.extend(['--port', 'gtk3'])

# 'none' can be used to skip building and go straight to uploading
if options.docker_img != 'none':
pwd = pushDir('docker')
Expand Down

0 comments on commit 63b8099

Please sign in to comment.