Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require gst-plugins.inc |
| 2 | |
| 3 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ " |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" |
| 5 | |
| 6 | SRC_URI[md5sum] = "ac70ede13f79978d56eaed8abaa3c938" |
| 7 | SRC_URI[sha256sum] = "48340b6a4b8abce16344a7bc33e74a94fdcce4f57ef6342cdf2f941c429bf210" |
| 8 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | SRC_URI += " file://0001-conditional-gl-framebuffer-undefined-use.patch \ |
| 10 | file://rpi-egl-gles2-dep.patch \ |
| 11 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | |
| 13 | DEPENDS += "gst-plugins-base virtual/libgles2 virtual/egl jpeg libpng glew" |
| 14 | |
| 15 | PR = "r4" |
| 16 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | inherit gettext distro_features_check |
| 18 | |
| 19 | REQUIRED_DISTRO_FEATURES = "opengl" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | |
| 21 | # This package doesn't have a configure switch for EGL or GL, so forcibly tell |
| 22 | # configure that it can't find gl.h so it always uses EGL. If/when we have some |
| 23 | # way for machines to specify their preferred GL flavour this can be |
| 24 | # automatically adapted. |
| 25 | EXTRA_OECONF += "ac_cv_header_GL_gl_h=no" |
| 26 | |
| 27 | ALLOW_EMPTY_${PN} = "1" |
| 28 | ALLOW_EMPTY_${PN}-apps = "1" |
| 29 | ALLOW_EMPTY_${PN}-glib = "1" |