summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-08-24 12:41:38 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-24 12:41:49 +0200
commit3afa3e73cc760c9f1cef57f52e849e0eef30439a (patch)
tree102f291a1877a9dc4c644bdb880f58233ad36a99 /media-plugins
parentmedia-libs/vamp-plugin-sdk: fixed a typo (diff)
downloadgentoo-3afa3e73cc760c9f1cef57f52e849e0eef30439a.tar.gz
gentoo-3afa3e73cc760c9f1cef57f52e849e0eef30439a.tar.bz2
gentoo-3afa3e73cc760c9f1cef57f52e849e0eef30439a.zip
media-plugins/tap-plugins: bump to 1.0.1 + added live
based on work of RarogCmex <denis7774@gmail.com> - thanks Bug: https://github.com/gentoo/gentoo/pull/14834 Bug: https://bugs.gentoo.org/709282 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/tap-plugins/Manifest1
-rw-r--r--media-plugins/tap-plugins/files/tap-plugins-1.0.1-makefile.patch47
-rw-r--r--media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild39
-rw-r--r--media-plugins/tap-plugins/tap-plugins-9999.ebuild39
4 files changed, 126 insertions, 0 deletions
diff --git a/media-plugins/tap-plugins/Manifest b/media-plugins/tap-plugins/Manifest
index 431e4b153413..4fd91d2609bd 100644
--- a/media-plugins/tap-plugins/Manifest
+++ b/media-plugins/tap-plugins/Manifest
@@ -1 +1,2 @@
DIST tap-plugins-0.7.3.tar.gz 70495 BLAKE2B 6e0974be78fa9a8092555282d1d8a3cb5d11731e78119bd0f71e843f6a7557aebd48cc2c8f3cdcc4f90e52eaea357926c0ad2fc9bd9c95bb361ecb7d181f098e SHA512 c4e9c93b9fd8afb82067cf3a48ae665843da775c3af6124147ff1f8651d96734a4b961c4c5ea48877b32770e6d0b5a793af32a5cbb6e3b9afd5b59c8b3cc2621
+DIST tap-plugins-1.0.1.tar.gz 64649 BLAKE2B 2b8ac9a26197f5c980512d33daf4c604d7bb3046fb40e3826d559d4420921a0e124a5577d53d0896bc92111f69765f714d5f55a9da60546e2e6f29e5c851b2a5 SHA512 25f72bba83a5a40d480bc9d4659b64096102281d02e43ad93d5064b0ef7972184db40162d1ef78fd783f431740a4c4d5e03160cdd5f43da3bc1570ff462c863a
diff --git a/media-plugins/tap-plugins/files/tap-plugins-1.0.1-makefile.patch b/media-plugins/tap-plugins/files/tap-plugins-1.0.1-makefile.patch
new file mode 100644
index 000000000000..a5b441ee6d4f
--- /dev/null
+++ b/media-plugins/tap-plugins/files/tap-plugins-1.0.1-makefile.patch
@@ -0,0 +1,47 @@
+diff --git a/Makefile b/Makefile
+index 54049cd..86f7175 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.
+@@ -37,13 +37,15 @@ INSTALL_LRDF_DIR = /usr/local/share/ladspa/rdf/
+ OS := $(shell uname -s)
+
+ CC = gcc
+-CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -funroll-loops -ffast-math -c -fPIC -DPIC
++CFLAGS = -I. -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)
+
+@@ -54,10 +56,10 @@ tap_dynamics_m.o: tap_dynamics_presets.h
+ tap_dynamics_st.o: tap_dynamics_presets.h
+
+ %.o: %.c tap_utils.h ladspa.h
+- $(CC) $(CFLAGS) $< -o $@
++ $(CC) $(CFLAGS) $(OPT_CFLAGS) $< -o $@
+
+ %.so: %.o
+- $(CC) -o $@ $< $(LDFLAGS)
++ $(CC) $(LDFLAGS) -o $@ $< $(LIBADD)
+
+ # OTHER TARGETS
+
diff --git a/media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild b/media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild
new file mode 100644
index 000000000000..6a1fa34a0a5b
--- /dev/null
+++ b/media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit eutils toolchain-funcs
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ KEYWORDS=""
+ EGIT_REPO_URI="git://github.com/tomszilagyi/${PN}.git"
+ EGIT_PROJECT="${PN}.git"
+else
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+ SRC_URI="https://github.com/tomszilagyi/tap-plugins/archive/v${PV}.tar.gz -> $P.tar.gz"
+fi
+
+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}/${PN}-1.0.1-makefile.patch" )
+
+src_compile() {
+ emake CC=$(tc-getCC) OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ insinto /usr/share/ladspa/rdf
+ doins *.rdf
+
+ exeinto /usr/$(get_libdir)/ladspa
+ doexe *.so
+
+ einstalldocs
+}
diff --git a/media-plugins/tap-plugins/tap-plugins-9999.ebuild b/media-plugins/tap-plugins/tap-plugins-9999.ebuild
new file mode 100644
index 000000000000..6a1fa34a0a5b
--- /dev/null
+++ b/media-plugins/tap-plugins/tap-plugins-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit eutils toolchain-funcs
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ KEYWORDS=""
+ EGIT_REPO_URI="git://github.com/tomszilagyi/${PN}.git"
+ EGIT_PROJECT="${PN}.git"
+else
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+ SRC_URI="https://github.com/tomszilagyi/tap-plugins/archive/v${PV}.tar.gz -> $P.tar.gz"
+fi
+
+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}/${PN}-1.0.1-makefile.patch" )
+
+src_compile() {
+ emake CC=$(tc-getCC) OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ insinto /usr/share/ladspa/rdf
+ doins *.rdf
+
+ exeinto /usr/$(get_libdir)/ladspa
+ doexe *.so
+
+ einstalldocs
+}