From 8395150f4588d0427b7fe112463be1a396ec5ea6 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 14 Dec 2015 15:26:27 +0000 Subject: [PATCH] dcadec: add recipe for version 0.1.0. --- media-libs/dcadec/dcadec-0.1.0.recipe | 73 +++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 media-libs/dcadec/dcadec-0.1.0.recipe diff --git a/media-libs/dcadec/dcadec-0.1.0.recipe b/media-libs/dcadec/dcadec-0.1.0.recipe new file mode 100644 index 000000000..940762f48 --- /dev/null +++ b/media-libs/dcadec/dcadec-0.1.0.recipe @@ -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 + "