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.

52 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../mythtv/mythtv.conf
  5. # Copyright (C) 2011 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  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. . $base/package/*/*/mythtv-conf.in
  16. # mythtv is using a custom configure script which is not accepting our
  17. # auto-generated configure options
  18. confopt=''
  19. var_append confopt ' ' "--prefix=/$prefix"
  20. # compiler
  21. var_append confopt ' ' "--cc=$CC"
  22. var_append confopt ' ' "--cxx=$CXX"
  23. # architecture/cpu
  24. var_append confopt ' ' "--arch=$arch_machine"
  25. var_append confopt ' ' "--cpu=$SDECFG_X86_OPT"
  26. # TODO tuning
  27. # --tune=CPU tune instruction usage for a particular CPU [generic]
  28. # controlled by OpenSDE itself
  29. var_append confopt ' ' "--disable-ccache --disable-distcc"
  30. # X11
  31. if pkginstalled -f libx11; then
  32. # location of X11 include files
  33. var_append confopt ' ' "--x11-path=$(pkgprefix -r includedir libx11)"
  34. #var_append confopt ' ' "--extra-cflags=-I$(pkgprefix -r includedir libx11)"
  35. var_append confopt ' ' "--extra-ldflags=-L$(pkgprefix -r libdir libx11)"
  36. else
  37. var_append confopt ' ' "--disable-x11"
  38. fi
  39. # Lirc Support
  40. if ! pkginstalled -f lirc; then
  41. var_append confopt ' ' "--disable-lirc"
  42. fi
  43. # install database and contrib stuff
  44. hook_add postmake 5 "cp -av database contrib $root/$datadir"