diff -Naur mythtv-master-20181120-gd87041f-old/mythtv/configure mythtv-master-20181120-gd87041f-new/mythtv/configure
old
|
new
|
|
144 | 144 | --disable-systemd_notify disable systemd notify support |
145 | 145 | --disable-systemd_journal disable systemd journal support |
146 | 146 | |
| 147 | --enable-opengles enable OpenGL ES |
| 148 | |
147 | 149 | --enable-mac-bundle produce standalone OS X apps (e.g. mythfrontend.app) |
148 | 150 | |
149 | 151 | --disable-libxml2 disable libxml2 support (disc metadata) |
… |
… |
|
1974 | 1976 | lirc |
1975 | 1977 | mheg |
1976 | 1978 | opengl |
| 1979 | opengles |
1977 | 1980 | opengl_video |
1978 | 1981 | opengl_themepainter |
1979 | 1982 | openmax |
… |
… |
|
2777 | 2780 | enable mheg |
2778 | 2781 | enable mythtranscode |
2779 | 2782 | enable opengl |
2780 | | enable opengles |
| 2783 | disable opengles |
2781 | 2784 | enable opengl_video |
2782 | 2785 | enable opengl_themepainter |
2783 | 2786 | enable symbol_visibility |
… |
… |
|
6047 | 6050 | check_lib opengl OpenGL/gl3.h glGetError "-Wl,-framework,OpenGL" || |
6048 | 6051 | check_lib opengl ES2/gl.h glGetError "-isysroot=${sysroot} -Wl,-framework,OpenGLES" || |
6049 | 6052 | check_lib opengl GLES/gl.h glGetError "-Wl,-framework,OpenGLES" || |
6050 | | { check_pkg_config GLESv2 glesv2 GLES2/gl2.h glGetError && |
6051 | | check_pkg_config EGL egl EGL/egl.h eglGetProcAddress && |
6052 | | enable opengl |
6053 | | } || |
6054 | | { check_lib GLESv2 GLES2/gl2.h glGetError "-lGLESv2" && |
6055 | | check_lib EGL EGL/egl.h eglGetProcAddress "-lEGL" && |
6056 | | enable opengl |
6057 | | } || |
6058 | | die "ERROR: opengl not found." |
| 6053 | die "ERROR: OpenGL not found!"; |
6059 | 6054 | } |
| 6055 | |
| 6056 | if enabled opengles; then |
| 6057 | check_pkg_config GLESv2 glesv2 GLES2/gl2.h glGetError && |
| 6058 | check_pkg_config EGL egl EGL/egl.h eglGetProcAddress || |
| 6059 | die "ERROR: OpenGL ES not found!"; |
| 6060 | check_lib GLESv2 GLES2/gl2.h glGetError "-lGLESv2" && |
| 6061 | check_lib EGL EGL/egl.h eglGetProcAddress "-lEGL" || |
| 6062 | die "ERROR: OpenGL ES not found!"; |
| 6063 | fi |
| 6064 | |
6060 | 6065 | if enabled libmpeg2external; then |
6061 | 6066 | check_lib libmpeg2external mpeg2dec/mpeg2.h mpeg2_init -lmpeg2 || disable libmpeg2external |
6062 | 6067 | if disabled libmpeg2external; then |
… |
… |
|
6563 | 6568 | # Disable OpenGL ES support if Qt does not support it |
6564 | 6569 | QTCONF=$(pkg-config --variable=qt_config Qt5Core || pkg-config --variable=qt_config QtCore) |
6565 | 6570 | if echo "$QTCONF" | grep -qv opengles2 ; then |
6566 | | if test $target_os != android ; then |
6567 | | disable opengles |
6568 | | fi |
| 6571 | true |
| 6572 | else |
| 6573 | die "ERROR: Qt not provides OpenGL ES support" |
6569 | 6574 | fi |
6570 | 6575 | |
6571 | 6576 | if enabled firewire; then |
… |
… |
|
7377 | 7382 | fi |
7378 | 7383 | fi |
7379 | 7384 | echo "OpenGL support ${opengl-no}" |
7380 | | echo "OpenGL video ${opengl_video-no}" |
7381 | | echo "OpenGL ThemePainter ${opengl_themepainter-no}" |
| 7385 | echo " OpenGL ES 2.0 ${opengles-no}" |
| 7386 | echo " OpenGL video ${opengl_video-no}" |
| 7387 | echo " OpenGL ThemePainter ${opengl_themepainter-no}" |
7382 | 7388 | if test x"$target_os" = x"darwin" ; then |
7383 | 7389 | echo "VDA support ${vda-no}" |
7384 | 7390 | fi |
… |
… |
|
7401 | 7407 | fi |
7402 | 7408 | echo "libdns_sd (Bonjour) ${libdns_sd-no}" |
7403 | 7409 | echo "libcrypto ${libcrypto-no}" |
7404 | | echo "OpenGL ES 2.0 ${opengles-no}" |
7405 | 7410 | if enabled libbluray_external; then |
7406 | 7411 | echo "bluray support yes (system)" |
7407 | 7412 | else |