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.

56 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../wxwidgets/wxwidgets.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. var_append confopt ' ' "--enable-optimise"
  17. var_append confopt ' ' "--enable-shared"
  18. var_append confopt ' ' "--enable-plugins"
  19. # FIXME: should be set via a config.in
  20. #SDECFG_PKG_WXWIDGETS_GUI=gtk
  21. for gui in gtk motif microwin x11 nanox; do
  22. if [ "$gui" == "$SDECFG_PKG_WXWIDGETS_GUI" ]; then
  23. var_append confopt ' ' "--with-$gui"
  24. fi
  25. done
  26. var_append confopt ' ' "--enable-unicode"
  27. var_append confopt ' ' "--enable-calendar"
  28. var_append confopt ' ' "--with-opengl"
  29. pkginstalled libsdl && var_append confopt ' ' "--with-sdl"
  30. var_append confopt ' ' "--with-regex"
  31. var_append confopt ' ' "--with-zlib"
  32. #not working in 2.5.3.1: var_append confopt ' ' "--enable-accessibility"
  33. var_append confopt ' ' "--enable-controls"
  34. # needed for xmule and audacity
  35. var_append confopt ' ' "--enable-compat22"
  36. wx_contrib() {
  37. local contrib
  38. #error in makefile: contrib/src/applet
  39. #error in sources: contrib/src/mmedia
  40. #currently empty: contrib/src/xrc
  41. for contrib in deprecated fl foldbar gizmos net ogl plot stc svg; do
  42. pushd contrib/src/$contrib
  43. eval "$MAKE $makeopt"
  44. eval "$MAKE $makeinstopt"
  45. popd
  46. done
  47. }
  48. hook_add postmake 3 "wx_contrib"