opus-tools: update to 0.2, move to meta-multimedia and fix license

The license in version 0.1.8 was already BSD-2-Clause and GPLv2
(for the "opusinfo" command).

The license checksum change is due to trivial changes on the license
text ("https" instead of "http" and whitespace changes).

This new version now DEPENDs on "libopusenc" and "opusfile" too,
but this required to move the recipe to meta-multimedia instead.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Michael Opdenacker authored and Khem Raj committed 2021-08-12 10:25:19 -07:00
1 parent 223243d649
commit 344bb081f5
4 files changed
+16 -16

No files matched your search

@@ -0,0 +1,15 @@
SUMMARY = "Opus Audio Tools"
HOMEPAGE = "http://www.opus-codec.org/"
LICENSE = "BSD-2-Clause & GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=79f6fc2a6239fbe5f6e52f20ac76698c"
SRC_URI = "http://downloads.xiph.org/releases/opus/opus-tools-${PV}.tar.gz"
SRC_URI[md5sum] = "ff2d0536e960cabbfb8ca7c8c1759b6c"
SRC_URI[sha256sum] = "b4e56cb00d3e509acfba9a9b627ffd8273b876b4e2408642259f6da28fa0ff86"
S = "${WORKDIR}/opus-tools-${PV}"
DEPENDS = "libopus libopusenc flac opusfile"
inherit autotools pkgconfig
@@ -66,6 +66,7 @@ RDEPENDS:packagegroup-meta-multimedia = "\
mycroft \
openal-soft \
opusfile \
opus-tools \
libdvdcss \
${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", bb.utils.contains("DISTRO_FEATURES", "x11", "vlc", "", d), "", d)} \
${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "sox streamripper", "", d)} \