SUMMARY="An advanced MIDI sequencer"
DESCRIPTION="Sequitur is a BeOS-native MIDI sequencer with a MIDI processing \
add-on architecture. It allows you to record, compose, store, and play back \
music from your computer. Sequitur is designed for people who like to tinker \
with their music. It facilitates rapid, dynamic, and radical processing of your \
performance.

Features:

* An add-on architecture for processing MIDI and performing MIDI effects. \
Change a track's velocity, apply echo, add chorus, change it's key signature, \
etc. All the tools to write your own add-ons are included.
* MIDI processing is integrated with editing: Paint with echo effects, paint \
chords in key, etc.
* Easily rearrange songs with familiar phrase operations.
* Customize your interface with skinning.
* Achieve special effects with tool properties: Turn on gradual delete and \
slowly rub out MIDI events.
* Full support of Be's advanced MIDI services in R5: All R5-compatible \
software is automatically available.
* Record, edit, and playback note, program change, control change, and pitch \
bend MIDI data.
* Read and write standard MIDI files."
HOMEPAGE="https://github.com/HaikuArchives/Sequitur"
SOURCE_URI="git+https://github.com/HaikuArchives/Sequitur#dd5083155a9e1323327132b014766ca502458bbd"
REVISION="1"
LICENSE="Public Domain"
COPYRIGHT="2001 Eric Hackborn"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	sequitur = $portVersion
	app:Sequitur = $portVersion
	"
REQUIRES="
	haiku
	lib:libpng
	lib:libz
	"
BUILD_REQUIRES="
	haiku_devel
	devel:libpng
	devel:libz
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:make
	cmd:gcc
	"

BUILD()
{
	cd Sequitur
	make $jobArgs
}

INSTALL()
{
	mkdir -p $appsDir/Sequitur/lib
	mkdir -p $dataDir/Sequitur
	mkdir -p $docDir

	cd Sequitur
	cp -a lib/libAmKernel.so $appsDir/Sequitur/lib
	cp -rL add-ons $appsDir/Sequitur
	cp -a Sequitur $appsDir/Sequitur
	cp -ar Examples $dataDir/Sequitur
	cp -ar docs/* $docDir

	addAppDeskbarSymlink $appsDir/Sequitur/Sequitur
}
