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.

42 lines
1.4 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) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. . $base/package/*/*/mythtv-conf.in
  15. runconf=0
  16. hook_add preconf 3 "fix_mythtv_prefix"
  17. # Skip mythuitest, does complain about missing QGLWidget
  18. hook_add preconf 4 "sed -i -e 's,mythuitest,,' ./programs/programs.pro"
  19. hook_add preconf 5 "mythtv_config"
  20. var_append GCC_WRAPPER_APPEND ' ' "-I$root/$prefix/include -L$root/$prefix/lib"
  21. # X11
  22. pkginstalled xorg-server || var_append confopt ' ' "--disable-xv --disable-x11"
  23. pkginstalled libxvmc && var_append confopt ' ' "--enable-xvmc"
  24. # DVB Support
  25. var_append confopt ' ' "--enable-dvb --enable-dvb-eit --dvb-path=$root/usr/include"
  26. # Lirc Support
  27. pkginstalled lirc && var_append confopt ' ' "--enable-lirc"
  28. # controlled by T2 itself
  29. var_append confopt ' ' "--disable-ccache --disable-distcc"
  30. hook_add premake 5 "qmake myth*.pro"
  31. hook_add premake 8 "make qmake"
  32. hook_add postmake 5 "cp -av database configfiles contrib $root/$datadir"