Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
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.

48 lines
1.3KB

  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2008 Jonathan Moore Liles
  4. # This file is licensed under version 2 of the GPL.
  5. . scripts/config-funcs
  6. begin
  7. begin_options
  8. ask "Installation prefix" prefix /usr/local
  9. ask "Build for debugging" USE_DEBUG no
  10. using DEBUG &&
  11. {
  12. ask "Use unoptimized drawing routines" USE_UNOPTIMIZED_DRAWING no
  13. ask "Use widget for timeline" USE_WIDGET_FOR_TIMELINE no
  14. using WIDGET_FOR_TIMELINE || ask "Use singlebuffered timeline" USE_SINGLEBUFFERED_TIMELINE no
  15. }
  16. begin_tests
  17. require_command ar ar
  18. require_command makedepend makedepend
  19. require_NTK 1.3.0 images
  20. require_package JACK 0.103.0 jack
  21. require_package sndfile 1.0.17 sndfile
  22. require_package liblo 0.23 liblo
  23. suggest_package XPM 2.0.0 xpm
  24. if ! hostname_resolvable
  25. then
  26. echo "Your hostname \"$(hostname)\" does not resolve to a valid address."
  27. echo "This is a broken configuration and will cause liblo (the"
  28. echo "OSC library) to fail to function. Add the line:"
  29. echo
  30. echo "127.0.0.1 $(hostname)"
  31. echo
  32. echo "to your /etc/hosts file to fix. And consider switching to a saner distribution."
  33. echo
  34. fail "Invalid hostname!"
  35. fi
  36. test_version `version_of liblo` 0.26 || warn "Version $(version_of liblo) of liblo is slow to create servers. Consider upgrading to 0.26 or later"
  37. end