Martin Jansa c71c4c41a6 celt051: make ogg support optional
* drop PR
* add +git to PV
* and support for native and nativesdk needed for spice
* the old PACKAGECONFIG didn't work, because both options aren't
  recognized as shown by do_configure warning:
  configure: WARNING: unrecognized options: --without-ogg, --disable-oggtest
* XIPH_PATH_OGG macro is provided by libogg so we cannot call it without
  the libogg dependency, so replace it with explicit --enable-tools

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:32:26 -07:00

33 lines
952 B
BlitzBasic

#
# Copyright (C) 2013 Wind River Systems, Inc.
#
SUMMARY = "The CELT codec is a compression algorithm for audio"
DESCRIPTION = "The CELT codec is a compression algorithm for \
audio. Like MP3, Vorbis, and AAC it is suitable for transmitting music \
with high quality. Unlike these formats CELT imposes very little delay \
on the signal, even less than is typical for speech centric formats \
like Speex, GSM, or G.729."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=375f60ab360d17f0172737036ff155b2"
PV = "0.5.1.3+git${SRCPV}"
SRCREV = "5555aae843f57241d005e330b9cb65602d56db0f"
SRC_URI = "git://git.xiph.org/celt.git;branch=compat-v0.5.1;protocol=https \
file://0001-configure.ac-make-tools-support-optional.patch \
"
S = "${WORKDIR}/git"
inherit pkgconfig autotools-brokensep
PACKAGECONFIG_class-native = ""
PACKAGECONFIG ??= ""
PACKAGECONFIG[ogg] = "--enable-tools,--disable-tools,libogg,"
BBCLASSEXTEND = "native nativesdk"