OpenSDE Framework (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.

37 lines
1.3 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: target/psion-pda/pkg_links.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. # --- T2-COPYRIGHT-NOTE-END ---
  14. # we strip away languages, fonts, codepages, ...
  15. # we need it damn small -ReneR
  16. embedded_links_pm()
  17. {
  18. # srink embedded data
  19. (cd Unicode ; ./gen)
  20. (cd graphics ; make
  21. rm -rf font/{century,symbol,japanese}*
  22. ./generate_font ; mv -fv font_include.c ..
  23. )
  24. }
  25. hook_add preconf 5 "sed -i 's/^image_formats=.*/image_formats=/' configure"
  26. hook_add preconf 6 "sed -i '/{.*translation/ { /english/!d }' language.inc"
  27. hook_add premake 6 "embedded_links_pm"
  28. var_append confopt ' ' '--enable-graphics --enable-debuglevel=0'
  29. var_append confopt ' ' '--disable-javascript --without-ssl'
  30. var_append confopt ' ' '--without-libtiff'
  31. var_append confopt ' ' '--without-svgalib --without-x --without-directfb --without-sdl'