summaryrefslogtreecommitdiffstats
path: root/make/configure.py
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-07-31 16:34:07 -0700
committerJohn Stebbins <[email protected]>2019-07-31 16:34:07 -0700
commite666459482b2583eb0d6aa6cd886e4e7ba35012b (patch)
tree6e83c7845da29d049c0be41d725ec3ee43f6e023 /make/configure.py
parentea718684d3b054bfe2b28aae977e6bb057c12938 (diff)
LinGui: make selection of gtk3/gtk4 configure-able
Diffstat (limited to 'make/configure.py')
-rw-r--r--make/configure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py
index eeb97a71e..9e1c70d09 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1328,6 +1328,9 @@ def createCLI( cross = None ):
h = 'enable GTK GUI for Windows' if (cross is not None and 'mingw' in cross) else argparse.SUPPRESS
grp.add_argument( '--enable-gtk-mingw', default=False, action='store_true', help=h )
+ h = IfHost( 'Build GUI with GTK4', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
+ grp.add_argument( '--enable-gtk4', default=False, action='store_true', help=h )
+
h = IfHost( 'disable GStreamer (live preview)', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--disable-gst', default=False, action='store_true', help=h )
@@ -1412,6 +1415,7 @@ def createCLI( cross = None ):
h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--flatpak', default=False, action='store_true', help=h )
+
cli.add_argument_group( grp )
return cli
@@ -1947,6 +1951,7 @@ int main()
doc.add( 'FEATURE.fdk_aac', int( options.enable_fdk_aac ))
doc.add( 'FEATURE.ffmpeg_aac', int( options.enable_ffmpeg_aac ))
doc.add( 'FEATURE.flatpak', int( options.flatpak ))
+ doc.add( 'FEATURE.gtk4', int( options.enable_gtk4 ))
doc.add( 'FEATURE.gtk', int( not options.disable_gtk ))
doc.add( 'FEATURE.gtk.mingw', int( options.enable_gtk_mingw ))
doc.add( 'FEATURE.gtk.update.checks', int( not options.disable_gtk_update_checks ))