mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Schismtracker: fix recipe.
Fixes http://ports.haiku-files.org/ticket/370.
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
From 00ee988722c54bfb1ce9c157226598b0404f7fcf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||||
|
Date: Mon, 20 Apr 2015 21:03:52 +0200
|
||||||
|
Subject: Remove -ldl
|
||||||
|
|
||||||
|
* Does not exist in Haiku.
|
||||||
|
|
||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index 66a8922..03a080b 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -393,7 +393,7 @@ AM_OBJCFLAGS = $(AM_CFLAGS)
|
||||||
|
schismtracker_DEPENDENCIES = $(files_windres)
|
||||||
|
schismtracker_LDADD = $(lib_asound) $(lib_win32) $(SDL_LIBS) $(LIBM)
|
||||||
|
|
||||||
|
-if ! USE_WIN32
|
||||||
|
-schismtracker_LDADD += -ldl
|
||||||
|
-endif
|
||||||
|
+#if ! USE_WIN32
|
||||||
|
+#schismtracker_LDADD += -ldl
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
--
|
||||||
|
2.2.2
|
||||||
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
DESCRIPTION="schismtracker - a free reimplementation of Impulse Tracker, a program used to create high quality music."
|
|
||||||
HOMEPAGE="http://eval.sovietrussia.org//wiki/Schism_Tracker"
|
|
||||||
SRC_URI="hg+http://schismtracker.org/hg/"
|
|
||||||
REVISION="1"
|
|
||||||
STATUS_HAIKU="unstable"
|
|
||||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
|
||||||
DEPEND="libsdl >= 1.2.14
|
|
||||||
gcc >= 4"
|
|
||||||
#CHECKSUM_MD5=""
|
|
||||||
BUILD()
|
|
||||||
{
|
|
||||||
cd schismtracker-20100713
|
|
||||||
aclocal
|
|
||||||
autoconf
|
|
||||||
autoheader
|
|
||||||
automake --add-missing
|
|
||||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
INSTALL()
|
|
||||||
{
|
|
||||||
cd schismtracker-20100713
|
|
||||||
make install
|
|
||||||
}
|
|
||||||
|
|
||||||
LICENSE="GNU GPL v2"
|
|
||||||
COPYRIGHT="2003-2005 Storlek
|
|
||||||
2005-2008 Mrs. Brisby
|
|
||||||
2009 Storlek & Mrs. Brisby
|
|
||||||
2010 Storlek"
|
|
||||||
67
media-sound/schismtracker/schismtracker-20120105.recipe
Normal file
67
media-sound/schismtracker/schismtracker-20120105.recipe
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
SUMMARY="Free reimplementation of Impulse Tracker"
|
||||||
|
DESCRIPTION="Schism Tracker is a free reimplementation of Impulse Tracker, a \
|
||||||
|
program used to create high quality music without the requirements of \
|
||||||
|
specialized, expensive equipment, and with a unique \"finger feel\" that is \
|
||||||
|
difficult to replicate in part. The player is based on a highly modified \
|
||||||
|
version of the Modplug engine, with a number of bugfixes and changes to \
|
||||||
|
improve IT playback.
|
||||||
|
|
||||||
|
Where Impulse Tracker was limited to i386-based systems running MS-DOS, Schism \
|
||||||
|
Tracker runs on almost any platform that SDL supports, and has been \
|
||||||
|
successfully built for Linux, Mac OS X, Windows, FreeBSD, AmigaOS, BeOS, and \
|
||||||
|
even the Wii. Most development is currently done on 64-bit Linux. Schism will \
|
||||||
|
most likely build on any architecture supported by GCC4 (e.g. alpha, m68k, \
|
||||||
|
arm, etc.) but it will probably not be as well-optimized on many systems."
|
||||||
|
HOMEPAGE="http://schismtracker.org/wiki/Schism%20Tracker"
|
||||||
|
SRC_URI="http://schismtracker.org/dl/schismtracker-20120105.tar.bz2"
|
||||||
|
PATCHES="schismtracker-$portVersion.patchset"
|
||||||
|
REVISION="1"
|
||||||
|
|
||||||
|
ARCHITECTURES=""
|
||||||
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||||
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||||
|
# for a different secondary architecture.
|
||||||
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||||
|
fi
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
schismtracker$secondaryArchSuffix = $portVersion
|
||||||
|
cmd:schismtracker$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libsdl$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libsdl$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:autoconf
|
||||||
|
cmd:automake
|
||||||
|
cmd:awk
|
||||||
|
cmd:find
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
cmd:python
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
aclocal
|
||||||
|
runConfigure ./configure
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install
|
||||||
|
}
|
||||||
|
|
||||||
|
LICENSE="GNU GPL v2"
|
||||||
|
COPYRIGHT="2003-2012 Storlek
|
||||||
|
2005-2009 Mrs. Brisby"
|
||||||
Reference in New Issue
Block a user