diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-kivy/0001-add-support-for-glesv2.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-kivy/0001-add-support-for-glesv2.patch | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python3-kivy/0001-add-support-for-glesv2.patch b/meta-python/recipes-devtools/python/python3-kivy/0001-add-support-for-glesv2.patch index 0abc6c5c7e..e38b31d34d 100644 --- a/meta-python/recipes-devtools/python/python3-kivy/0001-add-support-for-glesv2.patch +++ b/meta-python/recipes-devtools/python/python3-kivy/0001-add-support-for-glesv2.patch | |||
| @@ -1,8 +1,19 @@ | |||
| 1 | From 98224fec48d6e0f32b28d81220bf1ee1637ce045 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: William Huang <whuang8933@gmail.com> | ||
| 3 | Date: Thu, 2 Sep 2021 07:25:07 -0400 | ||
| 4 | Subject: [PATCH] recipes-devtools: python: add support for Kivy | ||
| 5 | |||
| 1 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
| 2 | 7 | ||
| 8 | --- | ||
| 9 | setup.py | 16 +++++++++++++--- | ||
| 10 | 1 file changed, 13 insertions(+), 3 deletions(-) | ||
| 11 | |||
| 12 | diff --git a/setup.py b/setup.py | ||
| 13 | index 35e34afdd..0ba3aca72 100644 | ||
| 3 | --- a/setup.py | 14 | --- a/setup.py |
| 4 | +++ b/setup.py | 15 | +++ b/setup.py |
| 5 | @@ -695,7 +695,18 @@ def determine_gl_flags(): | 16 | @@ -730,7 +730,18 @@ def determine_gl_flags(): |
| 6 | c_options['use_x11'] = True | 17 | c_options['use_x11'] = True |
| 7 | c_options['use_egl'] = True | 18 | c_options['use_egl'] = True |
| 8 | else: | 19 | else: |
| @@ -22,7 +33,7 @@ Upstream-Status: Pending | |||
| 22 | return flags, base_flags | 33 | return flags, base_flags |
| 23 | 34 | ||
| 24 | 35 | ||
| 25 | @@ -723,14 +734,13 @@ def determine_sdl2(): | 36 | @@ -774,14 +785,13 @@ def determine_sdl2(): |
| 26 | sdl_inc = join(include, 'SDL2') | 37 | sdl_inc = join(include, 'SDL2') |
| 27 | if isdir(sdl_inc): | 38 | if isdir(sdl_inc): |
| 28 | sdl2_paths.append(sdl_inc) | 39 | sdl2_paths.append(sdl_inc) |
| @@ -36,5 +47,5 @@ Upstream-Status: Pending | |||
| 36 | - ['/usr/local/lib/']) | 47 | - ['/usr/local/lib/']) |
| 37 | + ['']) | 48 | + ['']) |
| 38 | 49 | ||
| 39 | if sdl2_flags: | 50 | if kivy_sdl2_path: |
| 40 | flags = merge(flags, sdl2_flags) | 51 | # If we have a custom path, we need to add the rpath to the linker |
