summaryrefslogtreecommitdiff
path: root/media-plugins/tap-plugins
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-plugins/tap-plugins
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'media-plugins/tap-plugins')
-rw-r--r--media-plugins/tap-plugins/Manifest4
-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, 129 insertions, 0 deletions
diff --git a/media-plugins/tap-plugins/Manifest b/media-plugins/tap-plugins/Manifest
index b76259b47948..dad081fea36c 100644
--- a/media-plugins/tap-plugins/Manifest
+++ b/media-plugins/tap-plugins/Manifest
@@ -1,4 +1,8 @@
AUX tap-plugins-0.7.3-cflags-ldflags.patch 901 BLAKE2B fac21c62373310ec7a9a1ab067cbeaa8d202f4cc54c84c11757122786f24a2a811a3a032b6d7eb37d43261946160f74ab33c58d50d777a45a152dfe9535f9803 SHA512 f345e823400b7ea3dcdc8a880cc16d476dc4f55662eb041d2ec40de6763c52c05019990a762fd623c257c870874940c974b628e7ce315d6e4cc4babc70e28a90
+AUX tap-plugins-1.0.1-makefile.patch 1548 BLAKE2B b718586d51cb7e843c71a41965f08331510214cbb533d6464df5c33520021d818b9943bdb39c526f42611accc4000ff62e0f1175b3ccbccacd7b462312957f27 SHA512 c56af56531b10b6b0ff016813779280ff1c9bd52e6b79208d431ebc4c0e1e3cbf4150005997466492791867a1a8044824f0d3339cb4db567f8823bcf6e2d4ea2
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
EBUILD tap-plugins-0.7.3.ebuild 675 BLAKE2B c84accc1815f5c1e6bc6752b260236568b382cb6d0d38157452bf8936d86eb64766df99415b5d040b35f109cd22de5b247ffc65dcf9a1ef62e07d117952ce507 SHA512 983f48fa26c940ac111e741e9be49d5e1effcd98122a0dcbbe3a988a3464aaace46f22144e1757cfd15e8cb6e75df04b2e4af1bcf7f6b2875a3f18becb015833
+EBUILD tap-plugins-1.0.1.ebuild 953 BLAKE2B 955ee7aaf2582bd151677301b706876055e9f4149780ddac1da5f122908d5ac911c5e24265a6de4b8643796f58cd2d7ae354e84ab57d59f89ebed747ba4e6381 SHA512 2baa08d658443f9312ff659ed02aa2c26020d8107a86525300c84ebfed9ead1a6e99301a8354e58d4a7f6ab56c80a3211760376f876095d09c68a2c27d489930
+EBUILD tap-plugins-9999.ebuild 953 BLAKE2B 955ee7aaf2582bd151677301b706876055e9f4149780ddac1da5f122908d5ac911c5e24265a6de4b8643796f58cd2d7ae354e84ab57d59f89ebed747ba4e6381 SHA512 2baa08d658443f9312ff659ed02aa2c26020d8107a86525300c84ebfed9ead1a6e99301a8354e58d4a7f6ab56c80a3211760376f876095d09c68a2c27d489930
MISC metadata.xml 1616 BLAKE2B 55ad5ec5fb9218329bd3454b553115c4139d71d6d31a182e0e35750e99963b8b83de92b9c82df3928f7a570395b9bfdf8d5a171a1ff33c7c8443875dca7af9e7 SHA512 876598a8cda8a0331c5fd97d04984a222b2e6a9c0aeffe780f5e970dc1914c75c7e56701fcfa42ef318b0aa88183149f498346a23c5990d6bd7383199c875e01
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
+}