Skip to content

Commit

Permalink
flatpak: fix "Invalid option"
Browse files Browse the repository at this point in the history
  • Loading branch information
jstebbins committed Jun 20, 2024
1 parent 275ad70 commit b11889f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/create_flatpak_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ def __init__(self, source_list, runtime, qsv, vcn, nvenc, dovi, template=None):
self.extensions += ['org.freedesktop.Sdk.Extension.llvm16'];
self.build_path += ['/usr/lib/sdk/llvm16/bin'];
self.ld_path += ['/usr/lib/sdk/llvm16/lib'];

if vcn:
self.hbconfig.append("--enable-vce");

if dovi:
self.hbconfig.append("--enable-libdovi");
self.extensions += ['org.freedesktop.Sdk.Extension.rust-stable'];
Expand Down Expand Up @@ -151,7 +151,7 @@ def usage():

if __name__ == "__main__":
try:
opts, args = getopt.getopt(sys.argv[1:], "a:c:s:b:t:r:qedph",
opts, args = getopt.getopt(sys.argv[1:], "a:c:s:b:t:r:qvedph",
["archive=", "contrib=", "sha256=", "basename=",
"template=", "runtime=", "qsv", "vcn", "nvenc", "dovi", "plugin", "help"])
except getopt.GetoptError:
Expand Down

0 comments on commit b11889f

Please sign in to comment.