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.

68 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../evas/evas.conf
  5. # Copyright (C) 2006 - 2011 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2004 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. # image loaders
  17. for x in libpng:png libjpeg:jpeg librsvg:svg; do
  18. if pkginstalled ${x%:*}; then
  19. y=enable
  20. else
  21. y=disable
  22. fi
  23. var_append extraconfopt ' ' "--$y-image-loader-${x#*:}"
  24. done
  25. # eet
  26. if pkginstalled eet; then
  27. y=enable
  28. else
  29. y=disable
  30. fi
  31. for x in image font; do
  32. var_append extraconfopt ' ' "--$y-$x-loader-eet"
  33. done
  34. # enable framebuffer support by default
  35. var_append confopt " " "--enable-fb"
  36. # check for directfb
  37. if pkginstalled directfb ; then
  38. var_append confopt " " "--enable-directfb"
  39. fi
  40. # check for xorg
  41. if pkginstalled xorg-server ; then
  42. var_append confopt " " "--x-includes=$( pkgprefix -r includedir xorg-server )"
  43. var_append confopt " " "--x-libraries=$( pkgprefix -r libdir xorg-server )"
  44. var_append configprefix ' ' 'LDFLAGS="-L$( pkgprefix -r libdir xorg-server )"'
  45. fi
  46. # check if we can enable the OpenGL X11 display engine
  47. pkginstalled mesa && var_append confopt ' ' "--enable-gl-x11"
  48. # check if we can enable the Cairo X11 support
  49. if pkginstalled cairo ; then
  50. var_append confopt ' ' "--enable-cairo-x11"
  51. var_append GCC_WRAPPER_APPEND ' ' "`pkg-config cairo --cflags`"
  52. fi
  53. if pkginstalled fontconfig ; then
  54. pkgprefix -t fontconfig
  55. var_append confopt ' ' "--enable-fontconfig"
  56. var_append GCC_WRAPPER_APPEND ' ' "`pkg-config fontconfig --cflags`"
  57. else
  58. var_append confopt ' ' "--disable-fontconfig"
  59. fi