Files
haikuports/media-libs/libdca/libdca-0.0.5.recipe
Gerasim Troeglazov 56c6c5ddee libdca: fix build
2015-05-26 21:44:28 +10:00

72 lines
1.7 KiB
Plaintext

SUMMARY="a free DTS Coherent Acoustics decoder"
DESCRIPTION="libdca is a free library for decoding DTS Coherent Acoustics \
streams. The code is written by Gildas Bazin and was based on the a52dec \
project. It is released under the terms of the GPL license.
The DTS Coherent Acoustics standard (ETSI 102 114 v1.2.1), as published by the \
ETSI, is available here (look for DTS Coherent Acoustics).
"
HOMEPAGE="http://www.videolan.org/developers/libdca.html"
SRC_URI="http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2"
CHECKSUM_SHA256="dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libdca$secondaryArchSuffix = $portVersion
cmd:dcadec$secondaryArchSuffix
cmd:dtsdec$secondaryArchSuffix
cmd:extract_dca$secondaryArchSuffix
cmd:extract_dts$secondaryArchSuffix
lib:libdca$secondaryArchSuffix = 0.0.0 compat = 0
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
PROVIDES_devel="
libdca_devel = $portVersion
devel:libdca$secondaryArchSuffix
devel:libdts$secondaryArchSuffix
"
REQUIRES_devel="
libdca$secondaryArchSuffix == $portVersion base
"
BUILD()
{
./bootstrap
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libdca libdts
fixPkgconfig
packageEntries devel $developDir
}
LICENSE="GNU GPL v2"
COPYRIGHT="2004 Gildas Bazin <gbazin@videolan.org>
2000-2003 Michel Lespinasse <walken@zoy.org>
1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>"