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.8 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 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. var_append confopt " " "--enable-image-loader-png --enable-image-loader-jpeg \
  17. --enable-image-loader-eet --enable-image-loader-edb \
  18. --enable-font-loader-eet"
  19. # enable framebuffer support by default
  20. var_append confopt " " "--enable-fb"
  21. # check for directfb
  22. if pkginstalled directfb ; then
  23. var_append confopt " " "--enable-directfb"
  24. fi
  25. # check for xorg
  26. if pkginstalled xorg-server ; then
  27. var_append confopt " " "--x-includes=$( pkgprefix includedir xorg-server )"
  28. var_append confopt " " "--x-libraries=$( pkgprefix libdir xorg-server )"
  29. fi
  30. # check if we can enable the OpenGL X11 display engine
  31. pkginstalled mesa && var_append confopt ' ' "--enable-gl-x11"
  32. # check if we can enable the Cairo X11 support
  33. if pkginstalled cairo ; then
  34. var_append confopt ' ' "--enable-cairo-x11"
  35. var_append GCC_WRAPPER_APPEND ' ' "`pkg-config cairo --cflags`"
  36. fi
  37. var_append GCC_WRAPPER_APPEND ' ' "-I$includedir"
  38. if pkginstalled fontconfig ; then
  39. pkgprefix -t fontconfig
  40. var_append confopt ' ' "--enable-fontconfig"
  41. var_append GCC_WRAPPER_APPEND ' ' "`pkg-config fontconfig --cflags`"
  42. else
  43. var_append confopt ' ' "--disable-fontconfig"
  44. fi