Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. # This fixes ffmpeg not compiling with the latest libxcb with shape support. Boris Reisig <voip @ boris.ca>
  2. --- configure-original 2014-11-23 12:45:45.000000000 -0600
  3. +++ configure 2014-11-23 13:39:01.817767733 -0600
  4. @@ -254,6 +254,7 @@
  5. --enable-libxcb enable X11 grabbing using XCB [auto]
  6. --enable-libxcb-shm enable X11 grabbing shm communication [auto]
  7. --enable-libxcb-xfixes enable X11 grabbing mouse rendering [auto]
  8. + --enable-libxcb-shape enable X11 grabbing mouse rendering [auto]
  9. --enable-libxvid enable Xvid encoding via xvidcore,
  10. native MPEG-4/Xvid encoder exists [no]
  11. --enable-libzmq enable message passing via libzmq [no]
  12. @@ -1386,6 +1387,7 @@
  13. libxavs
  14. libxcb
  15. libxcb_shm
  16. + libxcb_shape
  17. libxcb_xfixes
  18. libxvid
  19. libzmq
  20. @@ -5047,8 +5049,13 @@
  21. enabled libxcb_xfixes && die "ERROR: libxcb_xfixes not found";
  22. } && enable libxcb_xfixes; }
  23.  
  24. - add_cflags $xcb_cflags $xcb_shm_cflags $xcb_xfixes_cflags
  25. - add_extralibs $xcb_libs $xcb_shm_libs $xcb_xfixes_libs
  26. + disabled libxcb_shape || {
  27. + check_pkg_config xcb-shape xcb/shape.h xcb_shape_get_rectangles || {
  28. + enabled libxcb_shape && die "ERROR: libxcb_shape not found";
  29. + } && enable libxcb_shape; }
  30. +
  31. + add_cflags $xcb_cflags $xcb_shm_cflags $xcb_xfixes_cflags $xcb_shape_cflags
  32. + add_extralibs $xcb_libs $xcb_shm_libs $xcb_xfixes_libs $xcb_shape_libs
  33. fi
  34. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement