added my Recipes
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
From a5cea22294a9acb6eed955bd415f562a6cc36482 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 22 Mar 2017 11:54:23 -0700
|
||||
Subject: [PATCH] basic.h: Use c99 supported stdint types
|
||||
|
||||
include stdint.h for getting the definitions for int types
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
basics.h | 17 +++++++++--------
|
||||
1 file changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/basics.h b/basics.h
|
||||
index 643d96e..1dc2fa7 100644
|
||||
--- a/basics.h
|
||||
+++ b/basics.h
|
||||
@@ -46,17 +46,18 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#include "ladspa.h"
|
||||
|
||||
-typedef __int8_t int8;
|
||||
-typedef __uint8_t uint8;
|
||||
-typedef __int16_t int16;
|
||||
-typedef __uint16_t uint16;
|
||||
-typedef __int32_t int32;
|
||||
-typedef __uint32_t uint32;
|
||||
-typedef __int64_t int64;
|
||||
-typedef __uint64_t uint64;
|
||||
+typedef int8_t int8;
|
||||
+typedef uint8_t uint8;
|
||||
+typedef int16_t int16;
|
||||
+typedef uint16_t uint16;
|
||||
+typedef int32_t int32;
|
||||
+typedef uint32_t uint32;
|
||||
+typedef int64_t int64;
|
||||
+typedef uint64_t uint64;
|
||||
|
||||
#define MIN_GAIN 1e-6 /* -120 dB */
|
||||
/* smallest non-denormal 32 bit IEEE float is 1.18e-38 */
|
||||
--
|
||||
2.12.0
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Change the order of linker flags such that -shared is appearig after -pie/-fpie
|
||||
this helps in building the package when secuiry flags are enabled
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
Index: caps-0.9.24/Makefile
|
||||
===================================================================
|
||||
--- caps-0.9.24.orig/Makefile
|
||||
+++ caps-0.9.24/Makefile
|
||||
@@ -14,7 +14,7 @@ STRIP = strip
|
||||
-include defines.make
|
||||
|
||||
CFLAGS += $(OPTS) $(_CFLAGS)
|
||||
-LDFLAGS += $(_LDFLAGS) $(CFLAGS)
|
||||
+LDFLAGS += $(CFLAGS) $(_LDFLAGS)
|
||||
|
||||
PLUG = caps
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
DESCRIPTION = "The CAPS Audio Plugin Suite - LADSPA plugin suite"
|
||||
HOMEPAGE = "http://quitte.de/dsp/caps.html"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = "http://quitte.de/dsp/${BPN}_${PV}.tar.bz2 \
|
||||
file://0001-basic.h-Use-c99-supported-stdint-types.patch \
|
||||
file://append_ldflags.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "36b30c7c7db2d2bc5f4f54077e97b5ee"
|
||||
SRC_URI[sha256sum] = "e7496c5bce05abebe3dcb635926153bbb58a9337a6e423f048d3b61d8a4f98c9"
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
CC='${CXX}' \
|
||||
CFLAGS='${CFLAGS} -ffast-math -funroll-loops -fPIC -DPIC' \
|
||||
ARCH='' \
|
||||
"
|
||||
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