aports/testing/handbrake/disable-nvenc.patch
prspkt 0cd73d9ce1
testing/handbrake: disable nvenc
Disable nvidia encoder APIs which are only available on x86* and
therefore limit package availability.
2019-02-27 20:32:43 +02:00

11 lines
471 B
Diff

--- a/make/configure.py
+++ b/make/configure.py
@@ -1321,6 +1321,7 @@ def createCLI():
h = IfHost( 'enable Nvidia NVEnc video encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value
grp.add_option( '--enable-nvenc', dest="enable_nvenc", default=not (host.match( '*-*-darwin*' ) or host.match( '*-*-freebsd*' )), action='store_true', help=h )
+ grp.add_option( '--disable-nvenc', dest="enable_nvenc", action='store_false' )
cli.add_option_group( grp )