New package: caps-0.9.26

This commit is contained in:
Olga U 2019-01-07 12:25:27 +07:00 committed by maxice8
parent ed83b3f71c
commit 3cd639614f
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,29 @@
--- basics.h 2019-01-07 16:13:33.353999394 +0100
+++ basics.h 2019-01-07 16:13:44.915942123 +0100
@@ -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 */

17
srcpkgs/caps/template Normal file
View file

@ -0,0 +1,17 @@
# Template file for 'caps'
pkgname=caps
version=0.9.26
revision=1
build_style=gnu-makefile
make_use_env=yes
makedepends="ladspa-sdk"
short_desc="C* Audio LADSPA Plugin Suite"
maintainer="Olga Ustuzhanina <me@laserbat.pw>"
license="GPL-3.0-or-later"
homepage="http://quitte.de/dsp/caps.html"
distfiles="http://quitte.de/dsp/${pkgname}_${version}.tar.bz2"
checksum=e7496c5bce05abebe3dcb635926153bbb58a9337a6e423f048d3b61d8a4f98c9
pre_build() {
make_build_args="CC=${CC} LD=${LD}"
}