mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
Disable nvidia encoder APIs which are only available on x86* and therefore limit package availability.
11 lines
471 B
Diff
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 )
|