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.

36 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../qt3/parse-config
  5. # Copyright (C) 2007 - 2010 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # qt3 resource registry is shared by various pkgs. Remove that
  15. # file from the flist if the pkg is marked to have qt3 plugins.
  16. if hasflag QT3-PLUGIN; then
  17. if [ "$pkg" != "qt3" ]; then
  18. flistdel="$flistdel|.*/qt_plugins_3.3rc"
  19. fi
  20. fi
  21. if pkginstalled -f qt3; then
  22. if hasflag QT3-QUIRK; then
  23. echo_warning "Injecting -L and -I to find qt3 as requested."
  24. pkgprefix -t qt3
  25. QT3INCDIR=$(pkgprefix -r includedir qt3)
  26. QT3LIBDIR=$(pkgprefix -r libdir qt3)
  27. var_append GCC_WRAPPER_APPEND ' ' "-L$QT3LIB"
  28. var_append CPP_WRAPPER_APPEND ' ' "-L$QT3LIB"
  29. var_append GCC_WRAPPER_APPEND ' ' "-I$QT3INC"
  30. var_append CPP_WRAPPER_APPEND ' ' "-I$QT3INC"
  31. fi
  32. fi