mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
First pass at libmodplug
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
DESCRIPTION="libmodplug is a lib for playing mod files"
|
||||
HOMEPAGE="http://modplug-xmms.sourceforge.net"
|
||||
SRC_URI="http://softlayer.dl.sourceforge.net/project/modplug-xmms/libmodplug/0.8.7/libmodplug-0.8.7.tar.gz"
|
||||
CHECKSUM_MD5="d2d9ccd8da22412999caed076140f786"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libmodplug-0.8.7
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--libdir=$LIBDIR \
|
||||
--mandir=$MANDIR \
|
||||
--enable-static
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libmodplug-0.8.7
|
||||
make install
|
||||
}
|
||||
LICENSE="Public Domain"
|
||||
#COPYRIGHT=""
|
||||
@@ -1,31 +0,0 @@
|
||||
DESCRIPTION="libmodplug is a lib for playing mod files"
|
||||
HOMEPAGE="http://modplug-xmms.sourceforge.net"
|
||||
SRC_URI="http://softlayer.dl.sourceforge.net/project/modplug-xmms/libmodplug/0.8.8.1/libmodplug-0.8.8.1.tar.gz"
|
||||
CHECKSUM_MD5="f7fa53a60c650024ff51cca88341776b"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd libmodplug-0.8.8.1
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--libdir=$LIBDIR \
|
||||
--mandir=$MANDIR \
|
||||
--enable-static
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libmodplug-0.8.8.1
|
||||
make install
|
||||
}
|
||||
|
||||
#LICENSE="Public Domain"
|
||||
#COPYRIGHT=""
|
||||
@@ -1,31 +1,88 @@
|
||||
DESCRIPTION="libmodplug is a lib for playing mod files"
|
||||
SUMMARY="libmodplug is a lib for playing mod files"
|
||||
DESCRIPTION="Olivier Lapicque, author of Modplug, which is arguably the best quality
|
||||
MOD-playing software available, has placed his sound rendering code in the
|
||||
public domain. This library and plugin is based on that code.
|
||||
- Plays 22 different mod formats, including:
|
||||
MOD, S3M, XM, IT, 669, AMF (both of them), AMS, DBM, DMF, DSM, FAR,
|
||||
MDL, MED, MTM, OKT, PTM, STM, ULT, UMX, MT2, PSM
|
||||
- Plays zip, rar, gzip, and bzip2 compressed mods. The following
|
||||
extensions are recognized:
|
||||
zip: MDZ, S3Z, XMZ, ITZ
|
||||
rar: MDR, S3R, XMR, ITR
|
||||
gzip: MDGZ, S3GZ, XMGZ, ITGZ
|
||||
You can also load plain old ZIP, RAR, and GZ files. If ModPlug finds
|
||||
a mod in them, it will play it.
|
||||
Note: To play these formats, you need to have the associated
|
||||
decompression utilities (unzip, gunzip, unrar) installed.
|
||||
Note(2): The format of the mod is NOT determined from the extension on
|
||||
compressed mods. For example, if you zipped a UMX mod and gave it the
|
||||
extension MDZ, it would work fine.
|
||||
- plays timidity's GUS patch files (*.pat):
|
||||
a multi sample pat file with n samples can be played with a Frere Jacques
|
||||
canon with n voices.
|
||||
- plays all types of MIDI files (*.mid):
|
||||
uses the timidity .pat files for samples (when available)"
|
||||
HOMEPAGE="http://modplug-xmms.sourceforge.net"
|
||||
SRC_URI="http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.4/libmodplug-0.8.8.4.tar.gz"
|
||||
CHECKSUM_MD5="fddc3c704c5489de2a3cf0fedfec59db"
|
||||
|
||||
LICENSE="Public Domain"
|
||||
COPYRIGHT="Public Domain"
|
||||
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libmodplug$secondaryArchSuffix = $portVersion
|
||||
lib:libmodplug$secondaryArchSuffix = 0.8.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd libmodplug-0.8.8.4
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--libdir=$LIBDIR \
|
||||
--mandir=$MANDIR \
|
||||
|
||||
runConfigure ./configure \
|
||||
--enable-static
|
||||
make
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libmodplug-0.8.8.4
|
||||
make install
|
||||
prepareInstalledDevelLibs libmodplug
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
LICENSE="Public Domain"
|
||||
#COPYRIGHT=""
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libmodplug${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmodplug$secondaryArchSuffix = 0.8.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libmodplug$secondaryArchSuffix == $portVersion
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user