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.

66 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../smpeg/smpeg.conf
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. autogen=1
  16. smpeg_preconf()
  17. {
  18. ACLOCAL_FLAGS="-I $root/$SDECFG_PKG_GNOME14_CORE_PREFIX/share/aclocal"
  19. export ACLOCAL_FLAGS
  20. if [ $SDECFG_PKG_SMPEG_MMX == 1 ] ; then
  21. var_append extraconfopt " " "--enable-mmx"
  22. else
  23. var_append extraconfopt " " "--disable-mmx"
  24. fi
  25. if [ $SDECFG_PKG_SMPEG_ATI == 1 ] ; then
  26. var_append extraconfopt " " "--enable-ati"
  27. else
  28. var_append extraconfopt " " "--disable-ati"
  29. fi
  30. if [ $SDECFG_PKG_SMPEG_SYNC == 1 ] ; then
  31. var_append extraconfopt " " "--enable-timestamp-sync"
  32. else
  33. var_append extraconfopt " " "--disable-timestamp-sync"
  34. fi
  35. if [ $SDECFG_PKG_SMPEG_THSYS == 1 ] ; then
  36. var_append extraconfopt " " "--enable-threaded-system"
  37. else
  38. var_append extraconfopt " " "--disable-threaded-system"
  39. fi
  40. if [ $SDECFG_PKG_SMPEG_THAUDIO == 1 ] ; then
  41. var_append extraconfopt " " "--enable-threaded-audio"
  42. else
  43. var_append extraconfopt " " "--disable-threaded-audio"
  44. fi
  45. if [ $SDECFG_PKG_SMPEG_GTKPLAY == 1 ] ; then
  46. var_append extraconfopt " " "--enable-gtk-player"
  47. else
  48. var_append extraconfopt " " "--disable-gtk-player"
  49. fi
  50. if [ $SDECFG_PKG_SMPEG_GLPLAY == 1 ] ; then
  51. var_append extraconfopt " " "--enable-opengl-player"
  52. else
  53. var_append extraconfopt " " "--disable-opengl-player"
  54. fi
  55. if [ $SDECFG_PKG_SMPEG_ASSERT == 1 ] ; then
  56. var_append extraconfopt " " "--enable-assertions"
  57. else
  58. var_append extraconfopt " " "--disable-assertions"
  59. fi
  60. }
  61. hook_add preconf 5 smpeg_preconf