]> granicus.if.org Git - handbrake/commitdiff
build: move --flatpak option into configure "Build Options"
authorJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 7 Jun 2018 15:29:04 +0000 (08:29 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 14 Jun 2018 20:51:31 +0000 (13:51 -0700)
(cherry picked from commit f33dc20059d69915570b235385497eddc6be37e7)

make/configure.py

index 99c9a5f499b974ec7a9624755f468fd4c537cc02..44283cdf5163711e4a5c90245c8f93f0caf33e28 100644 (file)
@@ -1349,12 +1349,8 @@ def createCLI():
     grp.add_option( '--enable-local-cmake', default=False, action='store_true', help=h )
     h = IfHost( 'Build and use local pkg-config', '*-*-darwin*', none=optparse.SUPPRESS_HELP ).value
     grp.add_option( '--enable-local-pkgconfig', default=False, action='store_true', help=h )
-
-    h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value
-    grp.add_option( '--flatpak', default=False, action='store_true', help=h )
     cli.add_option_group( grp )
 
-
     ## add Xcode options
     if host.match( '*-*-darwin*' ):
         grp = OptionGroup( cli, 'Xcode Options' )
@@ -1383,6 +1379,9 @@ def createCLI():
     grp = OptionGroup( cli, 'Build Options' )
     grp.add_option( '--snapshot', default=False, action='store_true',
                     help='Force a snapshot build' )
+
+    h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value
+    grp.add_option( '--flatpak', default=False, action='store_true', help=h )
     cli.add_option_group( grp )
 
     return cli