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.

60 lines
1.5KB

  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. echo "Master configuration"
  9. ask "Installation prefix" prefix /usr/local
  10. ask "Build for debugging" USE_DEBUG no
  11. begin_tests
  12. # should require everything all of the subprojects require
  13. require_command ar ar
  14. require_command makedepend makedepend
  15. require_FLTK 1.3.0 images
  16. require_command FLUID lib/ntk/fluid/fluid
  17. require_package JACK 0.103.0 jack
  18. test_version `version_of jack` 0.105.0 || append "JACK_MIDI_PROTO_API=yes"
  19. require_package sndfile 1.0.17 sndfile
  20. require_package lrdf 0.4.0 lrdf
  21. require_package liblo 0.23 liblo
  22. suggest_package XPM 2.0.0 xpm
  23. require_package sigcpp 2.0.0 sigc++-2.0
  24. 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"
  25. if ! hostname_resolvable
  26. then
  27. echo "Your hostname \"$(hostname)\" does not resolve to a valid address."
  28. echo "This is a broken configuration and will cause liblo (the"
  29. echo "OSC library) to fail to function. Add the line:"
  30. echo
  31. echo "127.0.0.1 $(hostname)"
  32. echo
  33. echo "to your /etc/hosts file to fix. And consider switching to a saner distribution."
  34. echo
  35. fail "Invalid hostname!"
  36. fi
  37. end
  38. # installing configuration
  39. echo -n "Copying configuration to modules..."
  40. for i in nonlib FL timeline mixer sequencer session-manager
  41. do
  42. echo -n "$i "
  43. cp .config "$i"
  44. done
  45. echo