mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
libtimidity: added recipe for version 0.1.0
This commit is contained in:
75
media-libs/libtimidity/libtimidity-0.1.0.recipe
Normal file
75
media-libs/libtimidity/libtimidity-0.1.0.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="MIDI to WAVE converter library"
|
||||
DESCRIPTION="
|
||||
This library is based on the TiMidity decoder from SDL_sound library. \
|
||||
Purpose to create this library is to avoid unnecessary dependences. \
|
||||
SDL_sound requires SDL and some other libraries, that not needed to \
|
||||
process MIDI files. In addition libTiMidity provides more suitable \
|
||||
API to work with MIDI songs, it enables to specify full path to the \
|
||||
timidity configuration file, and have function to retrieve meta data \
|
||||
from MIDI song.
|
||||
"
|
||||
HOMEPAGE="http://libtimidity.sourceforge.net"
|
||||
COPYRIGHT="
|
||||
1995 Tuukka Toivonen
|
||||
2004 Konstantin Korikov
|
||||
"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/libtimidity/libtimidity/$portVersion/libtimidity-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="52c6de6608ba640b4678041c01320290790a1f18c901ef03575fbf47807350bf"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libtimidity$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libtimidity_0.1$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libao$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libao$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libtimidity.la
|
||||
|
||||
prepareInstalledDevelLibs libtimidity
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libtimidity${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||
devel:libtimidity$secondaryArchSuffix = 0.1.0 compat >= 0
|
||||
devel:libtimidity_0.1$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libtimidity$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user