update_gstreamer.patch 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --- configure 2022-07-07 04:20:09.653801458 -0300
  2. +++ configure 2022-07-07 04:20:09.207801448 -0300
  3. @@ -4104,12 +4104,12 @@
  4. pkg_cv_GST_CFLAGS="$GST_CFLAGS"
  5. elif test -n "$PKG_CONFIG"; then
  6. if test -n "$PKG_CONFIG" && \
  7. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
  8. - ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
  9. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5
  10. + ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5
  11. ac_status=$?
  12. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13. test $ac_status = 0; }; then
  14. - pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null`
  15. + pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0" 2>/dev/null`
  16. test "x$?" != "x0" && pkg_failed=yes
  17. else
  18. pkg_failed=yes
  19. @@ -4121,12 +4121,12 @@
  20. pkg_cv_GST_LIBS="$GST_LIBS"
  21. elif test -n "$PKG_CONFIG"; then
  22. if test -n "$PKG_CONFIG" && \
  23. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
  24. - ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
  25. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5
  26. + ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5
  27. ac_status=$?
  28. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29. test $ac_status = 0; }; then
  30. - pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null`
  31. + pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0" 2>/dev/null`
  32. test "x$?" != "x0" && pkg_failed=yes
  33. else
  34. pkg_failed=yes
  35. @@ -4147,18 +4147,18 @@
  36. _pkg_short_errors_supported=no
  37. fi
  38. if test $_pkg_short_errors_supported = yes; then
  39. - GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10" 2>&1`
  40. + GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0" 2>&1`
  41. else
  42. - GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10" 2>&1`
  43. + GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0" 2>&1`
  44. fi
  45. # Put the nasty error message in config.log where it belongs
  46. echo "$GST_PKG_ERRORS" >&5
  47. - as_fn_error $? "You need libgstreamer0.10 to build $PACKAGE" "$LINENO" 5
  48. + as_fn_error $? "You need libgstreamer-1.0 to build $PACKAGE" "$LINENO" 5
  49. elif test $pkg_failed = untried; then
  50. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  51. $as_echo "no" >&6; }
  52. - as_fn_error $? "You need libgstreamer0.10 to build $PACKAGE" "$LINENO" 5
  53. + as_fn_error $? "You need libgstreamer-1.0 to build $PACKAGE" "$LINENO" 5
  54. else
  55. GST_CFLAGS=$pkg_cv_GST_CFLAGS
  56. GST_LIBS=$pkg_cv_GST_LIBS
  57. --- configure.ac 2012-04-23 09:21:00.000000000 -0300
  58. +++ configure.ac 2022-07-07 04:20:09.229801449 -0300
  59. @@ -21,8 +21,8 @@
  60. GUI_LIBS="$GUI_LIBS $GTK_LIBS"
  61. ], [AC_MSG_ERROR([You need Gtk+ >= 2.16.0 to build $PACKAGE])])
  62. -PKG_CHECK_MODULES(GST, [gstreamer-0.10],,
  63. - [AC_MSG_ERROR([You need libgstreamer0.10 to build $PACKAGE])])
  64. +PKG_CHECK_MODULES(GST, [gstreamer-1.0],,
  65. + [AC_MSG_ERROR([You need libgstreamer-1.0 to build $PACKAGE])])
  66. GUI_CFLAGS="$GUI_CFLAGS $GST_CFLAGS"
  67. GUI_LIBS="$GUI_LIBS $GST_LIBS"