mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
caps: Add recipe for version 0.9.24
CAPS is a collection of audio plugins comprising basic virtual guitar amplification and a small range of classic effects, signal processors and generators of mostly elementary and occasionally exotic nature. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
1c072cbb4e
commit
def0e38c26
@@ -0,0 +1,32 @@
|
||||
From 1ea09653692efdd6443fb6770e8523bf6c9e49b9 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Berton <fabio.berton@ossystems.com.br>
|
||||
Date: Thu, 6 Oct 2016 11:54:07 -0300
|
||||
Subject: Avoid ambiguity in div invocation
|
||||
Organization: O.S. Systems Software LTDA.
|
||||
|
||||
Patch from:
|
||||
https://anonscm.debian.org/cgit/pkg-multimedia/caps.git/commit/?id=9a99c225fb813ae69f146e3d90f7b47bdbd97708
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
||||
---
|
||||
AutoFilter.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/AutoFilter.cc b/AutoFilter.cc
|
||||
index fc087d0..bd6b12f 100644
|
||||
--- a/AutoFilter.cc
|
||||
+++ b/AutoFilter.cc
|
||||
@@ -69,7 +69,7 @@ AutoFilter::activate()
|
||||
void
|
||||
AutoFilter::cycle (uint frames)
|
||||
{
|
||||
- div_t qr = div (frames, blocksize);
|
||||
+ div_t qr = div ((int)frames, (int)blocksize);
|
||||
int blocks = qr.quot;
|
||||
if (qr.rem) ++blocks;
|
||||
double over_blocks = 1./blocks;
|
||||
--
|
||||
2.1.4
|
||||
|
||||
28
meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb
Normal file
28
meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb
Normal file
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION = "The CAPS Audio Plugin Suite - LADSPA plugin suite"
|
||||
HOMEPAGE = "http://quitte.de/dsp/caps.html"
|
||||
LICENSE = "GPL-3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = " \
|
||||
http://quitte.de/dsp/${PN}_${PV}.tar.bz2 \
|
||||
file://Avoid-ambiguity-in-div-invocation.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "c1d634038dcb54702306c0e30cb1c626"
|
||||
SRC_URI[sha256sum] = "f746feba57af316b159f0169de5d78b4fd1064c2c0c8017cb5856b2f22e83f20"
|
||||
|
||||
S = "${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
CC='${CXX}' \
|
||||
CFLAGS='${CFLAGS} -ffast-math -funroll-loops -fPIC -DPIC' \
|
||||
"
|
||||
do_compile() {
|
||||
oe_runmake all
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -Dm 0644 caps.so ${D}${libdir}/ladspa/caps.so
|
||||
}
|
||||
|
||||
FILES_${PN} = "${libdir}/ladspa/"
|
||||
Reference in New Issue
Block a user