Ticket #12762: ticket_12762_configure.patch

File ticket_12762_configure.patch, 1.8 KB (added by Peter Bennett <pgbennett@…>, 4 years ago)

Patch to fix this

  • mythtv/configure

    diff --git a/mythtv/configure b/mythtv/configure
    index 17d42d6..bc72bc2 100755
    a b check_type "vdpau/vdpau.h" "VdpPictureInfoHEVC" 
    65216521check_cpp_condition windows.h "!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)" && enable winrt || disable winrt
    65226522
    65236523# check for OpenMAX header & lib
     6524if  enabled openmax ; then
     6525    openmax_was_enabled=Y
     6526fi
    65246527if ! disabled openmax; then
    6525     check_header 'OMX_Core.h' && enable openmax
     6528    test -f /opt/vc/include/IL/OMX_Core.h && enable openmax
    65266529fi
    65276530if ! disabled openmax; then
    6528     if check_lib 'OMX_Broadcom.h' OMX_Init -L/opt/vc/lib -lopenmaxil; then
     6531    if test -f /opt/vc/include/IL/OMX_Broadcom.h \
     6532        && test -f /opt/vc/lib/libopenmaxil.so ; then
    65296533        enable openmax_broadcom
    6530     elif check_lib 'bellagio/omxcore.h' OMX_Init -lomxil-bellagio; then
     6534    elif test -f /usr/include/bellagio/omxcore.h \
     6535        && test -f /usr/lib/libomxil-bellagio.so; then
    65316536        enable openmax_bellagio
    65326537    else
    65336538        disable openmax
    65346539    fi
    65356540fi
    65366541
     6542if  test "$openmax_was_enabled" = "Y" && disabled openmax ; then
     6543    die "ERROR - Unable to enable openmax"
     6544fi
     6545
    65376546if ! disabled w32threads && ! enabled pthreads; then
    65386547    check_func_headers "windows.h process.h" _beginthreadex &&
    65396548        enable w32threads || disable w32threads
    if enabled x11 ; then 
    80288037  echo "VAAPI support             ${vaapi-no}"
    80298038  echo "CrystalHD support         ${crystalhd-no}"
    80308039  echo "OpenMAX support           ${openmax-no}"
     8040  if enabled openmax ; then
     8041    echo "OpenMAX Broadcom          ${openmax_broadcom-no}"
     8042    echo "OpenMAX Bellagio          ${openmax_bellagio-no}"
     8043  fi
    80318044fi
    80328045  echo "OpenGL video              ${opengl_video-no}"
    80338046  if test x"$target_os" = x"darwin" ; then