diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb deleted file mode 100644 index 991aa0f7d8..0000000000 --- a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | SUMMARY = "Open source Python library for rapid development of applications \ | ||
2 | that make use of innovative user interfaces, such as multi-touch apps." | ||
3 | HOMEPAGE = "https://kivy.org/" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6d3bc49400e35d5a2279d14c40dcfb09" | ||
6 | |||
7 | inherit setuptools3 pkgconfig features_check | ||
8 | |||
9 | # Kivy's setup files only look for GLES libraries for Android, iOS, RPi, | ||
10 | # and mali-based OS's. We need to patch the setup file to tell Kivy setup | ||
11 | # that our machine has GLES libaries installed as well | ||
12 | # Also, if using SDL2 as backend, SDL2 needs to be configured with gles | ||
13 | SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \ | ||
14 | file://0001-add-support-for-glesv2.patch \ | ||
15 | " | ||
16 | |||
17 | SRCREV = "9ef218027178115a66b417ae34b21f488bdd3617" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | PACKAGES += "${PN}-examples" | ||
22 | FILES:${PN}-examples = "/usr/share/kivy-examples" | ||
23 | |||
24 | USE_WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '1', '0', d)}" | ||
25 | export USE_WAYLAND | ||
26 | |||
27 | # if using Wayland, let's use pure Wayland (and not XWayland) | ||
28 | # so do not build using X11 flag when we detect Wayland | ||
29 | USE_X11 = " \ | ||
30 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '0', \ | ||
31 | bb.utils.contains('DISTRO_FEATURES', 'x11', '1', \ | ||
32 | '0', d), d)}" | ||
33 | export USE_X11 | ||
34 | |||
35 | # Use OpenGL ES 2.0 library | ||
36 | KIVY_GRAPHICS = "gles" | ||
37 | export KIVY_GRAPHICS | ||
38 | |||
39 | KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}" | ||
40 | export KIVY_CROSS_SYSROOT | ||
41 | |||
42 | REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data" | ||
43 | |||
44 | ANY_OF_DISTRO_FEATURES = "x11 wayland" | ||
45 | |||
46 | DEPENDS += " \ | ||
47 | gstreamer1.0 \ | ||
48 | gstreamer1.0-python \ | ||
49 | libsdl2 \ | ||
50 | libsdl2-ttf \ | ||
51 | libsdl2-image \ | ||
52 | libsdl2-mixer \ | ||
53 | pango \ | ||
54 | python3 \ | ||
55 | python3-cython-native \ | ||
56 | " | ||
57 | |||
58 | RDEPENDS:${PN} = " \ | ||
59 | gstreamer1.0 \ | ||
60 | gstreamer1.0-python \ | ||
61 | libsdl2 \ | ||
62 | libsdl2-ttf \ | ||
63 | libsdl2-image \ | ||
64 | libsdl2-mixer \ | ||
65 | pango \ | ||
66 | python3 \ | ||
67 | python3-docutils \ | ||
68 | python3-fcntl \ | ||
69 | python3-image \ | ||
70 | python3-pillow \ | ||
71 | python3-pygments \ | ||
72 | " | ||