mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
2c6caea18f
* first backport from waflib fixes:
| DEBUG: Executing shell function do_configure
| Traceback (most recent call last):
| File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/./waf", line 166, in <module>
| from waflib import Scripting
| File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Scripting.py", line 10, in <module>
| from waflib import Utils, Configure, Logs, Options, ConfigSet, Context, Errors, Build, Node
| File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Configure.py", line 16, in <module>
| from waflib import ConfigSet, Utils, Options, Logs, Context, Build, Errors
| File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Options.py", line 14, in <module>
| from waflib import Logs, Utils, Context, Errors
| File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Context.py", line 9, in <module>
| import os, re, imp, sys
| ModuleNotFoundError: No module named 'imp'
the 2nd one avoids SyntaxWarning from waf --version which causes
waf_preconfigure to fail, because SyntaxWarning ends in
waf_preconfigure to fail, because SyntaxWarning ends in bb.utils.vercmp_string_op:
jack/1.9.22/git $ python3 waf --version
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Context.py:617: SyntaxWarning: invalid escape sequence '\_'
"""
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Build.py:107: SyntaxWarning: invalid escape sequence '\*'
"""List of targets to build (default: \*)"""
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/Task.py:1047: SyntaxWarning: invalid escape sequence '\w'
re_cond = re.compile('(?P<var>\w+)|(?P<or>\|)|(?P<and>&)')
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/jack/1.9.22/git/waflib/TaskGen.py:730: SyntaxWarning: invalid escape sequence '\w'
re_m4 = re.compile('@(\w+)@', re.M)
waf 2.0.12 (54841218840ffa34fddf834680a5a17db69caa12)
As reported in
https://lists.openembedded.org/g/openembedded-core/message/194348
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
60 lines
2.1 KiB
BlitzBasic
60 lines
2.1 KiB
BlitzBasic
DESCRIPTION = "jackdmp is a C++ version of the JACK low-latency audio \
|
|
server for multi-processor machines. It is a new implementation of the \
|
|
JACK server core features that aims in removing some limitations of \
|
|
the JACK1 design. The activation system has been changed for a data \
|
|
flow model and lock-free programming techniques for graph access have \
|
|
been used to have a more dynamic and robust system."
|
|
SECTION = "libs/multimedia"
|
|
|
|
LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later"
|
|
LIC_FILES_CHKSUM = " \
|
|
file://common/JackControlAPI.cpp;beginline=5;endline=19;md5=9d1921199e203163f160313243f853d6 \
|
|
file://common/JackControlAPI.h;beginline=4;endline=18;md5=9d1921199e203163f160313243f853d6 \
|
|
file://common/jack/jack.h;beginline=2;endline=17;md5=0a668d22ce661159cad28d1c3b8e66af \
|
|
file://common/JackServer.h;beginline=2;endline=17;md5=9bf0870727804a994ee2d19fd368d940 \
|
|
"
|
|
|
|
DEPENDS = "libsamplerate0 libsndfile1"
|
|
|
|
SRC_URI = "git://github.com/jackaudio/jack2.git;branch=master;protocol=https \
|
|
file://0001-Conceal-imp-warnings-in-Python3.patch \
|
|
file://0002-Fix-all-DeprecationWarning-invalid-escape-sequence.patch \
|
|
"
|
|
SRCREV = "4f58969432339a250ce87fe855fb962c67d00ddb"
|
|
|
|
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit waf pkgconfig
|
|
|
|
PACKAGECONFIG ??= "alsa"
|
|
PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib"
|
|
# --dbus only stops building jackd -> add --classic
|
|
PACKAGECONFIG[dbus] = "--dbus --classic,,dbus"
|
|
PACKAGECONFIG[opus] = "--opus=yes,--opus=no,libopus"
|
|
|
|
# portaudio is for windows builds only
|
|
EXTRA_OECONF = "--portaudio=no"
|
|
|
|
do_install:append() {
|
|
if ! ${@bb.utils.contains('PACKAGECONFIG', 'dbus', True, False, d)}; then
|
|
rm -f ${D}${bindir}/jack_control
|
|
fi
|
|
}
|
|
|
|
PACKAGES =+ "libjack jack-server jack-utils"
|
|
|
|
RDEPENDS:jack-dev:remove = "${PN} (= ${EXTENDPKGV})"
|
|
|
|
FILES:libjack = "${libdir}/*.so.* ${libdir}/jack/*.so"
|
|
FILES:jack-server = " \
|
|
${datadir}/dbus-1/services \
|
|
${bindir}/jackdbus \
|
|
${bindir}/jackd \
|
|
"
|
|
FILES:jack-utils = "${bindir}/*"
|
|
|
|
FILES:${PN}-doc += " ${datadir}/jack-audio-connection-kit/reference/html/*"
|
|
|