Sha256: d84494ca6f399870cefa7a220cf180b395b3686ac71a19635daf2cf38f328081

Contents?: true

Size: 1.22 KB

Versions: 7

Compression:

Stored size: 1.22 KB

Contents

# -*- mode: ruby -*-


%w[../xot ../rucy .]
  .map  {|s| File.expand_path "#{s}/lib", __dir__}
  .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}

require 'rucy/rake'

require 'xot/extension'
require 'rucy/extension'
require 'beeps/extension'


EXTENSIONS  = [Xot, Rucy, Beeps]
TESTS_ALONE = ['test/test_beeps_init.rb']

use_external_library 'https://github.com/thestk/stk',
  tag:      '4.6.2',
  incdirs:  'include',
  srcdirs:  'src',
  excludes: %w[stk/src/include Tcp Udp Socket Thread Mutex InetWv /Rt]

use_external_library 'https://github.com/adamstark/AudioFile',
  tag:      '1.1.1',
  srcdirs:  'NOSRC',
  excludes: %w[examples/ tests/]

use_external_library 'https://github.com/avaneev/r8brain-free-src',
  tag: 'version-6.2',
  excludes: %w[DLL/ bench/ other/ pffft_double example.cpp],
  &proc {
    filter_file('r8bconf.h') do |conf|
      <<~EOS + conf
        #ifndef R8B_PFFFT
        #define R8B_PFFFT 1
        #endif
      EOS
    end
  }

use_external_library 'https://github.com/Signalsmith-Audio/signalsmith-stretch',
  commit:  'fddcdb628f326ef187b7e5694f285f35a528aba3',
  srcdirs: 'NOSRC'

default_tasks :ext
build_native_library
build_ruby_extension
test_ruby_extension
generate_documents
build_ruby_gem

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
beeps-0.1.42 Rakefile
beeps-0.1.41 Rakefile
beeps-0.1.40 Rakefile
beeps-0.1.39 Rakefile
beeps-0.1.38 Rakefile
beeps-0.1.37 Rakefile
beeps-0.1.36 Rakefile