mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
81 lines
2.1 KiB
Bash
81 lines
2.1 KiB
Bash
SUMMARY="Fasttracker II inspired music tracker"
|
|
DESCRIPTION="MilkyTracker is an open source, multi-platform music application \
|
|
for creating .MOD and .XM module files. It attempts to recreate the module \
|
|
replay and user experience of the popular DOS program Fasttracker II, with \
|
|
special playback modes available for improved Amiga ProTracker 2/3 \
|
|
compatibility."
|
|
HOMEPAGE="http://www.milkytracker.org/"
|
|
COPYRIGHT="
|
|
1994-2013
|
|
Peter 'pailes' Barth,
|
|
Christopher 'Deltafire' O'Neill,
|
|
Antti S. Lankila,
|
|
Varthall,
|
|
Andrew Simper,
|
|
David Ross,
|
|
Stuart Caie,
|
|
Claudio Matsuoka,
|
|
Julian 'jua' Harnath
|
|
"
|
|
LICENSE="GNU GPL v3
|
|
New-BSD"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/milkytracker/MilkyTracker/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c487fccf6c97c483f5a624c3a408377393fa45a27cca27323425ad71ee689e16"
|
|
SOURCE_DIR="MilkyTracker-$portVersion"
|
|
PATCHES="milkytracker-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
milkytracker$secondaryArchSuffix = $portVersion
|
|
app:MilkyTracker = $portVersion
|
|
app:MilkySettings = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:libzzip_0$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libz$secondaryArchSuffix >= 1.2.3
|
|
devel:libzzip_0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -S. -Bbuild $cmakeDirArgs \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
|
|
mkdir $appsDir
|
|
mv $binDir/milkytracker $appsDir/MilkyTracker
|
|
mv $binDir/MilkySettings $appsDir/MilkySettings
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
sed \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
-e "s|@MINOR@|$MINOR|" \
|
|
src/tracker/haiku/MilkyTracker.rdef > MilkyTracker.rdef
|
|
|
|
addResourcesToBinaries MilkyTracker.rdef $appsDir/MilkyTracker
|
|
addAppDeskbarSymlink $appsDir/MilkyTracker MilkyTracker
|
|
}
|