0
0
Fork 0
haikuports/media-sound/protrekkr/protrekkr-2.5.4.recipe

52 lines
1.5 KiB
Bash

SUMMARY="Tracker program to create small sized electronic music"
DESCRIPTION="ProTrekkr (aka NoiseTrekker by Juan Antonio Arguelles Rius aka \
Arguru) is a tracker program combining a software synthesizer together with a \
traditional samples tracker which can be used to create electronic music (like \
psytrance, trance goa, hard acid, IDM, chip, techno, etc.) for small sized \
intros, demos or games."
HOMEPAGE="https://github.com/falkTX/protrekkr/"
COPYRIGHT="2008-2011 Franck Charlet.
Based on Juan Antonio Arguelles Rius's NoiseTrekker."
LICENSE="BSD (3-clause)"
REVISION="1"
srcGitRev="0b96ba56379eb179423e9dcbec31a08bf0326c9f"
SOURCE_URI="https://github.com/falkTX/protrekkr/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="01011b996ae58a753d19e1b8637b6c0bb597b33767ad6e1555ecfaf640709d73"
PATCHES="protrekkr-2.5.4.patchset"
SOURCE_DIR="protrekkr-$srcGitRev"
ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
protrekkr${secondaryArchSuffix} = $portVersion
app:Protrekkr = $portVersion
"
REQUIRES="
haiku${secondaryArchSuffix}
lib:libSDL$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libSDL$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:make
"
BUILD()
{
make -f makefile.haiku
}
INSTALL()
{
TARGET_DIR=$appsDir/Protrekkr
mkdir -p $TARGET_DIR
cd release/distrib
cp -r history.txt instruments license.txt modules presets ptk_haiku replay reverbs skins $TARGET_DIR
}