summaryrefslogtreecommitdiffstats
path: root/make/configure.py
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-01-29 22:13:18 +0000
committerjstebbins <[email protected]>2011-01-29 22:13:18 +0000
commitc9c50d62e5ea118f68b9079b514b58bd5016e2c5 (patch)
tree2fab334bf5069cf5f86e44904fda94e375104b92 /make/configure.py
parente9b451617fe690327d361caf7e9d0976fda45910 (diff)
LinGui: refactor --enable-gst option
change to --disable-gst and make it work for both mingw and linux git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3774 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/configure.py')
-rw-r--r--make/configure.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py
index c069fc342..f9d5f2675 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1059,6 +1059,8 @@ def createCLI():
grp.add_option( '--disable-gtk-update-checks', default=False, action='store_true', help=h )
h = IfHost( 'enable GTK GUI (mingw)', '*-*-mingw*', none=optparse.SUPPRESS_HELP ).value
grp.add_option( '--enable-gtk-mingw', default=False, action='store_true', help=h )
+ h = IfHost( 'disable gstreamer (live preview)', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value
+ grp.add_option( '--disable-gst', default=False, action='store_true', help=h )
h = IfHost( 'enable use of ffmpeg mpeg2 decoding', '*-*-*', none=optparse.SUPPRESS_HELP ).value
grp.add_option( '--enable-ff-mpeg2', default=False, action='store_true', help=h )
@@ -1457,6 +1459,7 @@ int main ()
doc.add( 'FEATURE.gtk', int( not options.disable_gtk ))
doc.add( 'FEATURE.gtk.update.checks', int( not options.disable_gtk_update_checks ))
doc.add( 'FEATURE.gtk.mingw', int( options.enable_gtk_mingw ))
+ doc.add( 'FEATURE.gst', int( not options.disable_gst ))
doc.add( 'FEATURE.ff.mpeg2', int( options.enable_ff_mpeg2 ))
doc.add( 'FEATURE.xcode', int( not (Tools.xcodebuild.fail or options.disable_xcode or options.cross) ))