forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
portaudio-v19: upgrade 19.6.0 -> 19.7.0
* development continues on github * build with CMake * examples is a configure option -> replace (always empty) extra package by PACKAGECONFIG From announcement: * support for latest Mac OS APIs * Jack - fixes for device names that allows use on Linux systems with PipeWire * WASAPI - numerous improvements * OSS - better format support * ALSA - various fixes for hangs and crashes * WDMKS - improved performance and fixes * updated build scripts Signed-off-by: Andreas Müller <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
1 parent
7e7c443
commit 0df96be
Showing
4 changed files
with
64 additions
and
83 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
meta-oe/recipes-support/portaudio/portaudio-v19/0001-Find-jack.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 8ec1b100afda5b3e31f9d44af04b04b16dfff2e4 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> | ||
Date: Tue, 18 May 2021 00:15:46 +0200 | ||
Subject: [PATCH] Find jack with pkgconfig | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Upstream-Status: Pending | ||
|
||
Signed-off-by: Andreas Müller <[email protected]> | ||
--- | ||
CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 122fe93..ab7d7f5 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -274,7 +274,8 @@ ELSE() | ||
|
||
ELSEIF(UNIX) | ||
|
||
- FIND_PACKAGE(Jack) | ||
+ find_package(PkgConfig REQUIRED) | ||
+ pkg_check_modules (JACK jack) | ||
IF(JACK_FOUND) | ||
OPTION(PA_USE_JACK "Enable support for Jack" ON) | ||
ELSE() | ||
-- | ||
2.31.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
SUMMARY = "A portable audio library" | ||
SECTION = "libs/multimedia" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df" | ||
|
||
PV = "v190700" | ||
|
||
SRC_URI = " \ | ||
git://github.com/PortAudio/portaudio.git \ | ||
file://0001-Find-jack.patch \ | ||
" | ||
SRCREV = "147dd722548358763a8b649b3e4b41dfffbcfbb6" | ||
S = "${WORKDIR}/git" | ||
|
||
inherit cmake | ||
|
||
PACKAGECONFIG ??= "alsa jack" | ||
PACKAGECONFIG[alsa] = ",,alsa-lib" | ||
PACKAGECONFIG[jack] = ",,jack" | ||
PACKAGECONFIG[examples] = "-DPA_BUILD_EXAMPLES=ON,-DPA_BUILD_EXAMPLES=OFF" | ||
|
||
do_install_append() { | ||
if [ -d ${B}/examples ]; then | ||
install -d ${D}${bindir} | ||
for example in ${B}/examples/pa*; do | ||
install -m755 $example ${D}${bindir}/ | ||
done | ||
fi | ||
} | ||
|
||
FILES_SOLIBSDEV = "" | ||
FILES_${PN} += "${libdir}/libportaudio.so" |
32 changes: 0 additions & 32 deletions
32
meta-oe/recipes-support/portaudio/portaudio-v19_20161030.bb
This file was deleted.
Oops, something went wrong.