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.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../directfb/directfb.conf
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. # this makes to search libsysfs.so in /lib - libtool issue
  16. var_append LDFLAGS ' ' "-L$root/lib"
  17. export LDFLAGS
  18. # --enable-multi enable multi application core default=no
  19. pkginstalled dfb-linux-fusion && var_append confopt ' ' "--enable-multi"
  20. # --enable-voodoo enable Voodoo (network support) default=no
  21. #var_append confopt ' ' "--enable-vodoo"
  22. # --enable-zlib use zlib, e.g. for screen shots default=no
  23. var_append confopt ' ' "--enable-zlib"
  24. # --enable-video4linux2 build with Video4Linux2 support default=no
  25. var_append confopt ' ' "--enable-video4linux2"
  26. # --enable-linux-input build Linux Input driver default=no
  27. var_append confopt ' ' "--enable-linux-input"
  28. # --enable-x11 build with X11 support
  29. if pkginstalled libx11 ; then
  30. var_append confopt ' ' "--enable-x11"
  31. hook_add preconf 5 'sed -i -e "s,/usr/X11R6,/usr/X11,g" configure'
  32. [[ $libdir = *lib ]] || hook_add preconf 9 'sed -i -e "s,/usr/X11/lib,/usr/X11/lib64,g" configure'
  33. else
  34. var_append confopt ' ' "--disable-x11"
  35. fi