OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ffmpeg/ffmpeg.conf
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2003 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. # fill options the configure does not attempt to detect ...
  17. pkginstalled lame && var_append extraconfopt " " "--enable-mp3lame"
  18. pkginstalled a52dec && var_append extraconfopt " " "--enable-a52"
  19. pkginstalled xvid && var_append extraconfopt " " "--enable-xvid"
  20. pkginstalled libtheora && var_append extraconfopt " " "--enable-theora"
  21. pkginstalled x264 && var_append extraconfopt " " "--enable-x264"
  22. pkginstalled faac && var_append extraconfopt " " "--enable-faac --enable-faad"
  23. var_append confopt " " "--enable-pthreads"
  24. # Imlib2 support
  25. if pkginstalled imlib2 ; then
  26. pkgprefix -t imlib2
  27. var_append extraconfopt " " "--extra-cflags=-I$root/$( pkgprefix includedir imlib2 )"
  28. var_append extraconfopt " " "--extra-ldflags=-L$root/$( pkgprefix libdir imlib2 )"
  29. fi
  30. # Ogg Vorbis support
  31. if pkginstalled libogg ; then
  32. var_append extraconfopt " " "--enable-libogg"
  33. pkginstalled libvorbis && var_append extraconfopt " " "--enable-vorbis"
  34. fi
  35. # MMX optimizations currently don't compile (version 0.4.8)
  36. var_append confopt " " "--enable-gpl --enable-shared --enable-pp"
  37. # Shared objects should go in libdir as well.
  38. var_append confopt " " "--shlibdir=$libdir"
  39. # do not utilize uname to accidently retrieve sparc64 on 32bit user-space Ultras
  40. [ "$arch" = "sparc" ] && var_append confopt " " "--cpu=$arch_machine"
  41. # no fPIC for x86 right now - it fails ...
  42. [ "$arch" = "x86" ] && var_remove GCC_WRAPPER_APPEND ' ' '-fPIC'