mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libdts: convert recipe.
This commit is contained in:
@@ -1,22 +1,58 @@
|
||||
DESCRIPTION="libdca - library for decoding DTS Coherent Acoustics streams used in DVD"
|
||||
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_MD5="dab6b2795c66a82a6fcd4f8343343021"
|
||||
CHECKSUM_SHA256="dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
libdca = $portVersion
|
||||
cmd:dcadec
|
||||
cmd:dtsdec
|
||||
cmd:extract_dca
|
||||
cmd:extract_dts
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libdca_devel = $portVersion
|
||||
devel:libdca
|
||||
devel:libdts
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libdca == $portVersion base
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd libdca-0.0.5
|
||||
./bootstrap
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libdca-0.0.5
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libdca libdts
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
|
||||
Reference in New Issue
Block a user