From 3cd639614f3032fbed1a3038f61cb44c3a22ab40 Mon Sep 17 00:00:00 2001 From: Olga U Date: Mon, 7 Jan 2019 12:25:27 +0700 Subject: [PATCH] New package: caps-0.9.26 --- srcpkgs/caps/patches/musl.patch | 29 +++++++++++++++++++++++++++++ srcpkgs/caps/template | 17 +++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 srcpkgs/caps/patches/musl.patch create mode 100644 srcpkgs/caps/template diff --git a/srcpkgs/caps/patches/musl.patch b/srcpkgs/caps/patches/musl.patch new file mode 100644 index 00000000000..fda239c5fe5 --- /dev/null +++ b/srcpkgs/caps/patches/musl.patch @@ -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 + #include ++#include + + #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 */ diff --git a/srcpkgs/caps/template b/srcpkgs/caps/template new file mode 100644 index 00000000000..f5fc31c652a --- /dev/null +++ b/srcpkgs/caps/template @@ -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 " +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}" +}