Add working recipe for latest MilkyTracker release (native version).

This commit is contained in:
Julian Harnath
2013-11-10 00:02:11 +01:00
parent 8261d97b78
commit 2695464d61
3 changed files with 91 additions and 31 deletions

View File

@@ -0,0 +1,23 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of the <ORGANIZATION> nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1,31 +0,0 @@
DESCRIPTION="Fasttracker 2 inspired music tracker"
HOMEPAGE="www.orangejua.de/milkytracker.shtml"
SRC_URI="http://www.orangejua.de/archives/MilkyTracker-0.90.85-haiku-2-source.zip"
CHECKSUM_MD5="9d844e81527aa397aa06d648099af2f4"
STATUS_HAIKU="stable"
REVISION="1"
DEPEND="media-libs/libsdl >= 1.2
sys-libs/zlib >= 1.2.5"
BUILD()
{
cd 'MilkyTracker Source Code'/platforms/haiku
bash ./Add_Jamfiles.sh
cd ../..
jam
}
INSTALL()
{
cd 'MilkyTracker Source Code'/src/tracker
APPDIR=`finddir B_APPS_DIRECTORY`/MilkyTracker
APPSETTINGSDIR=`finddir B_USER_SETTINGS_DIRECTORY`/MilkyTracker/
mkdir -p ${DESTDIR}/${APPSETTINGSDIR}
mkdir -p ${DESTDIR}/${APPDIR}
cp -af MilkyTracker ${DESTDIR}/${APPDIR}
cd haiku/MilkySettings
cp -af MilkySettings ${DESTDIR}/${APPSETTINGSDIR}
}
LICENSE="GNU GPL v3"
COPYRIGHT="1994-2006 Peter Barth, Christopher O'Neill, Antti S. Lankila, Varthall, Andrew Simper, David Ross, Stuart Caie, Claudio Matsuoka"

View File

@@ -0,0 +1,68 @@
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"
SRC_URI="http://www.milkytracker.org/files/milkytracker-0.90.86.tar.bz2"
CHECKSUM_MD5="1ef462969cf54ba61748d4d878b5747e"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
milkytracker = $portVersion
app:MilkyTracker = $portVersion
app:MilkySettings = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
zlib >= 1.2.3
"
BUILD_REQUIRES="
zlib_devel >= 1.2.3
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:jam
"
BUILD()
{
cd $sourceDir/platforms/haiku
bash ./Add_Jamfiles.sh
cd ../..
jam
}
INSTALL()
{
TARGET_DIR=$appsDir/MilkyTracker
mkdir -p $TARGET_DIR
cd $sourceDir
cp -af src/tracker/MilkyTracker $TARGET_DIR/
cp -af src/tracker/haiku/MilkySettings/MilkySettings $TARGET_DIR/
cp -af docs/ChangeLog.html $TARGET_DIR/
cp -af docs/FAQ.html $TARGET_DIR/
cp -af docs/MilkyTracker.html $TARGET_DIR/
cp -af docs/TiTAN.nfo $TARGET_DIR/
cp -af COPYING $TARGET_DIR/
addAppDeskbarSymlink $TARGET_DIR/MilkyTracker MilkyTracker
}