media-plugins/tap-plugins:

Another version bumped ebuild from my GitHub pull request.
With specific GURU fixes sure.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2020-04-13 10:42:19 +05:00
parent bf73282ad6
commit 4a08d940c4
4 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST tap-plugins-1.0.1.tar.gz 64649 BLAKE2B 2b8ac9a26197f5c980512d33daf4c604d7bb3046fb40e3826d559d4420921a0e124a5577d53d0896bc92111f69765f714d5f55a9da60546e2e6f29e5c851b2a5 SHA512 25f72bba83a5a40d480bc9d4659b64096102281d02e43ad93d5064b0ef7972184db40162d1ef78fd783f431740a4c4d5e03160cdd5f43da3bc1570ff462c863a

View File

@@ -0,0 +1,40 @@
diff --git a/Makefile b/Makefile
index 54049cd..fd67223 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,8 @@
# Change this if you want to install somewhere else. In particular
# you may wish to remove the middle "local/" part of the path.
-INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/
-INSTALL_LRDF_DIR = /usr/local/share/ladspa/rdf/
+#INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/
+#INSTALL_LRDF_DIR = /usr/local/share/ladspa/rdf/
# NO EDITING below this line is required
# if all you want to do is install and use the plugins.
@@ -39,11 +39,13 @@ OS := $(shell uname -s)
CC = gcc
CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -funroll-loops -ffast-math -c -fPIC -DPIC
ifeq ($(OS),Darwin)
-LDFLAGS = -nostartfiles -shared -Wl,-install_name,symbolic -lc -lm
+LDFLAGS = -nostartfiles -shared -Wl,-install_name,symbolic -lc -lm $(EXTRA_LDFLAGS)
else
-LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
+LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt $(EXTRA_LDFLAGS)
endif
+EXTRA_LDFLAGS =
MODULES = $(wildcard *.c)
+LIBADD = -lc -lm -lrt
all: $(MODULES:%.c=%.so)
@@ -57,7 +59,7 @@ tap_dynamics_st.o: tap_dynamics_presets.h
$(CC) $(CFLAGS) $< -o $@
%.so: %.o
- $(CC) -o $@ $< $(LDFLAGS)
+ $(CC) $(LDFLAGS) -o $@ $< $(LIBADD)
# OTHER TARGETS

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>denis7774@gmail.com</email>
<name>Denis Reva</name>
</maintainer>
<longdescription>
TAP-plugins is short for Tom's Audio Processing plugins. It is a bunch of
LADSPA plugins for digital audio processing, intended for use in a
professional DAW environment such as Ardour. These plugins should compile
and run on any recent (that is, not seriously outdated) GNU/Linux system.
They don't require any special libraries besides the standard GNU C and math
libraries, which are expected to be provided on the machine used for
compiling.
The audio processing algorithms done by TAP-plugins are coded to be
independent of the actual sample rate. The sample rate is always a parameter
during computations. The plugins have been tested with sample rates 44.1 kHz
and 96 kHz, as the author uses these values in his studio. Please note that
although all plugins should be essentially functional at virtually any
sample rate, the audio fidelity depends slightly on the actual sample rate
used. Higher sample rate is better, of course. This means that an equalizer
or reverberator plugin will produce higher quality output, and will sound a
bit smoother at 96 kHz compared to, say, 44.1 kHz. This is a natural effect
that results from the fundamental properties of digital signal processing,
but you should be aware of it nevertheless.
</longdescription>
<upstream>
<remote-id type="sourceforge">tap-plugins</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
case "${PV}" in
(9999*)
KEYWORDS=""
VCS_ECLASS=git-r2
EGIT_REPO_URI="git://github.com/tomszilagyi/${PN}.git"
EGIT_PROJECT="${PN}.git"
;;
(*)
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
SRC_URI="https://github.com/tomszilagyi/tap-plugins/archive/v${PV}.tar.gz -> ${P}.tar.gz"
;;
esac
inherit eutils toolchain-funcs ${VCS_ECLASS}
DESCRIPTION="Tom's audio processing (TAP) LADSPA plugins"
HOMEPAGE="https://github.com/tomszilagyi/tap-plugins http://tap-plugins.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="media-libs/ladspa-sdk"
RDEPEND="${DEPEND}"
DOCS=( README CREDITS )
PATCHES=( $FILESDIR/tap-plugins-1.0.1-makefile.patch )
src_compile() {
emake CC=$(tc-getCC) EXTRA_LDFLAGS="${LDFLAGS}"
}
src_install() {
insinto /usr/share/ladspa/rdf
doins *.rdf
exeinto /usr/$(get_libdir)/ladspa
doexe *.so
einstalldocs
}