From 22708b97ec1255597537266c71fabf6dc0330f92 Mon Sep 17 00:00:00 2001 From: Olga Ustuzhanina Date: Wed, 23 Jan 2019 10:48:10 +0700 Subject: [PATCH] New package: pvoc-0.1.12 --- srcpkgs/pvoc/patches/musl.patch | 26 ++++++++++++++++++++++++++ srcpkgs/pvoc/template | 25 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 srcpkgs/pvoc/patches/musl.patch create mode 100644 srcpkgs/pvoc/template diff --git a/srcpkgs/pvoc/patches/musl.patch b/srcpkgs/pvoc/patches/musl.patch new file mode 100644 index 00000000000..2d036bffba5 --- /dev/null +++ b/srcpkgs/pvoc/patches/musl.patch @@ -0,0 +1,26 @@ +--- basics.h 2019-01-23 12:32:20.420486153 +0700 ++++ basics.h 2019-01-23 12:33:23.746320325 +0700 +@@ -46,6 +46,7 @@ + + #include + #include ++#include + + #include "ladspa.h" + +@@ -77,15 +78,6 @@ + #define MIN_GAIN .000001 /* -120 dB */ + #define NOISE_FLOOR .00000000000005 /* -266 dB */ + +-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 struct { + const char * name; + LADSPA_PortDescriptor descriptor; diff --git a/srcpkgs/pvoc/template b/srcpkgs/pvoc/template new file mode 100644 index 00000000000..ce9de495be6 --- /dev/null +++ b/srcpkgs/pvoc/template @@ -0,0 +1,25 @@ +# Template file for 'pvoc' +pkgname=pvoc +version=0.1.12 +revision=1 +build_style=gnu-makefile +make_use_env=yes +hostmakedepends="pkg-config" +makedepends="ladspa-sdk fftw-devel libsndfile-devel" +short_desc="LADSPLA plugins and a tool for time compression/expansion" +maintainer="Olga Ustuzhanina " +license="GPL-2.0-or-later" +homepage="http://quitte.de/dsp/pvoc.html" +distfiles="http://quitte.de/dsp/pvoc_${version}.tar.gz" +checksum=d519d416049143cb2c4775feae639021b5693f39e27e99b1f036392580baa32d + +pre_build() { + sed -i "s@-O6.\+@${CFLAGS}@" Makefile + sed -i "s@g++@${CXX}@" Makefile +} + +do_install() { + vbin stretch + vman stretch.1 + vinstall pvoc.so 755 usr/lib/ladspa +}