mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
91 lines
2.5 KiB
Plaintext
91 lines
2.5 KiB
Plaintext
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_SHA256="5c5ee13dddbed144be26276e5f102da17ff5b1c992f3100389983082da2264f7"
|
|
|
|
LICENSE="Public Domain"
|
|
COPYRIGHT="Public Domain"
|
|
|
|
REVISION="1"
|
|
|
|
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()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake
|
|
|
|
runConfigure ./configure \
|
|
--enable-static
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs libmodplug
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libmodplug${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmodplug$secondaryArchSuffix = 0.8.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libmodplug$secondaryArchSuffix == $portVersion
|
|
"
|