mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
SUMMARY="A Soft-synthesizer with tracker"
|
|
DESCRIPTION="Sawteeth is a soft-synth (with tracker) for Haiku, meant \
|
|
to either create cool synth sounds to use in Cubase and such, or cute \
|
|
chip-tunes. It uses no samples but only generated waveforms."
|
|
HOMEPAGE="https://github.com/pulkomandy/Sawteeth/"
|
|
COPYRIGHT="2001 Arvid and Jonas Norberg, 2010-2020 Adrien Destugues"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/pulkomandy/Sawteeth/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="43784f8e5b6768e7effc671d964f82cccfc97d704b190d6d65e928397bcf0f3f"
|
|
SOURCE_DIR="Sawteeth-$portVersion"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
|
|
PROVIDES="
|
|
sawteeth = $portVersion
|
|
app:sawteeth = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
SAWTEETH_DIR=${appsDir}/Sawteeth
|
|
mkdir -p ${SAWTEETH_DIR}/sounds
|
|
mkdir -p ${SAWTEETH_DIR}/songs
|
|
mkdir -p ${SAWTEETH_DIR}/lib
|
|
cp Sawteeth ${SAWTEETH_DIR}/Sawteeth
|
|
cp ReadMe.html ${SAWTEETH_DIR}/Userguide.html
|
|
cp -r sounds ${SAWTEETH_DIR}
|
|
cp -r songs ${SAWTEETH_DIR}
|
|
cp -r lib/headers lib/libST.so ${SAWTEETH_DIR}/lib/
|
|
addAppDeskbarSymlink ${SAWTEETH_DIR}/Sawteeth
|
|
}
|