diff options
-rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb index d06f41bd0e..eee22ba703 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer truetype font library" | 1 | SUMMARY = "Simple DirectMedia Layer truetype font library" |
2 | SECTION = "libs" | 2 | SECTION = "libs" |
3 | DEPENDS = "virtual/libsdl2 freetype virtual/egl" | 3 | DEPENDS = "virtual/libsdl2 freetype" |
4 | LICENSE = "Zlib" | 4 | LICENSE = "Zlib" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" |
6 | 6 | ||
@@ -12,3 +12,8 @@ inherit cmake pkgconfig | |||
12 | S = "${UNPACKDIR}/SDL2_ttf-${PV}" | 12 | S = "${UNPACKDIR}/SDL2_ttf-${PV}" |
13 | 13 | ||
14 | FILES:${PN} += "${datadir}/licenses" | 14 | FILES:${PN} += "${datadir}/licenses" |
15 | |||
16 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | ||
17 | |||
18 | # GL is only used for an example binary | ||
19 | PACKAGECONFIG[opengl] = "-DSDL2TTF_SAMPLES=ON,-DSDL2TTF_SAMPLES=OFF,virtual/egl" | ||