python3-kivy: Set KIVY_NO_ARGS=1

This fails to compile with latest setuptools3

[ERROR  ] [Core        ] option --verbose not recognized
Kivy Usage: setup.py [KIVY OPTION...] [-- PROGRAM OPTIONS]::

    Options placed after a '-- ' separator, will not be touched by kivy,
    and instead passed to your program.

    Set KIVY_NO_ARGS=1 in your environment or before you import Kivy to
    disable Kivy's argument parser.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2025-08-01 14:24:14 -07:00
parent 2e4fd45157
commit 825ee9e7ae

View File

@@ -39,6 +39,9 @@ export KIVY_GRAPHICS
KIVY_CROSS_SYSROOT = "${RECIPE_SYSROOT}"
export KIVY_CROSS_SYSROOT
KIVY_NO_ARGS = "1"
export KIVY_NO_ARGS
REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data"
ANY_OF_DISTRO_FEATURES = "x11 wayland"