mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
dcadec: add recipe for version 0.1.0.
This commit is contained in:
73
media-libs/dcadec/dcadec-0.1.0.recipe
Normal file
73
media-libs/dcadec/dcadec-0.1.0.recipe
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
SUMMARY="Free DTS Coherent Acoustics decoder with support for HD extensions"
|
||||||
|
DESCRIPTION="Supported features:
|
||||||
|
* Decoding of standard DTS core streams with up to 5.1 channels
|
||||||
|
* Decoding of DTS-ES streams with discrete back channel
|
||||||
|
* Decoding of High Resolution streams with up to 7.1 channels and extended \
|
||||||
|
bitrate
|
||||||
|
* Decoding of 96/24 core streams
|
||||||
|
* Lossless decoding of Master Audio streams with up to 7.1 channels, 192 kHz
|
||||||
|
* Downmixing to stereo and 5.1 using embedded coefficients
|
||||||
|
Features not implemented:
|
||||||
|
* Decoding of DTS Express streams
|
||||||
|
* Applying dynamic range compression and dialog normalization
|
||||||
|
"
|
||||||
|
HOMEPAGE="https://github.com/foo86/dcadec"
|
||||||
|
COPYRIGHT="
|
||||||
|
2015 foo86
|
||||||
|
"
|
||||||
|
LICENSE="GNU LGPL v2.1"
|
||||||
|
SOURCE_URI="https://github.com/foo86/dcadec/archive/v$portVersion.tar.gz"
|
||||||
|
SOURCE_FILENAME="dcadec-$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="52a68a63f79ae50e5e5fd9c631a715e9feeed5d2b4a8442f0b9208692012a43f"
|
||||||
|
REVISION="1"
|
||||||
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
dcadec$secondaryArchSuffix = $portVersion compat >= 0
|
||||||
|
cmd:dcadec$secondaryArchSuffix
|
||||||
|
lib:libdcadec$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
"
|
||||||
|
CONFLICTS="
|
||||||
|
libdca$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
make $jobArgs PREFIX=$prefix BINDIR=$binDir LIBDIR=$libDir \
|
||||||
|
INCLUDEDIR=$includeDir LIBS= CONFIG_SHARED=1
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make PREFIX=$prefix BINDIR=$binDir LIBDIR=$libDir \
|
||||||
|
INCLUDEDIR=$includeDir LIBS= CONFIG_SHARED=1 install
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs libdcadec
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
# devel package
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
# ----- devel package -------------------------------------------------------
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
dcadec${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||||
|
devel:libdcadec$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
dcadec$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
Reference in New Issue
Block a user