summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/tap-reverbed')
-rw-r--r--media-sound/tap-reverbed/files/tap-reverbed-flags.patch35
-rw-r--r--media-sound/tap-reverbed/tap-reverbed-0-r1.ebuild39
2 files changed, 67 insertions, 7 deletions
diff --git a/media-sound/tap-reverbed/files/tap-reverbed-flags.patch b/media-sound/tap-reverbed/files/tap-reverbed-flags.patch
index a70ef12ee880..dbfe9b36a473 100644
--- a/media-sound/tap-reverbed/files/tap-reverbed-flags.patch
+++ b/media-sound/tap-reverbed/files/tap-reverbed-flags.patch
@@ -2,7 +2,18 @@ Index: tap-reverbed-r0/configure.ac
===================================================================
--- tap-reverbed-r0.orig/configure.ac
+++ tap-reverbed-r0/configure.ac
-@@ -25,8 +25,7 @@ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.0.0
+@@ -18,6 +18,10 @@
+ AC_C_INLINE
+
+ # Checks for libraries.
++AC_SEARCH_LIBS([powf], [m], [], [
++ AC_MSG_ERROR([unable to find the powf() function])
++])
++
+ PKG_CHECK_MODULES(JACK, jack >= 0.91.0)
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.0.0)
+
+@@ -25,8 +29,7 @@
AC_FUNC_MALLOC
AC_CHECK_FUNCS([strdup])
@@ -16,16 +27,26 @@ Index: tap-reverbed-r0/src/Makefile.am
===================================================================
--- tap-reverbed-r0.orig/src/Makefile.am
+++ tap-reverbed-r0/src/Makefile.am
-@@ -9,11 +9,11 @@ file_io.h file_io.c \
+@@ -9,20 +9,7 @@
gui_ext.h gui_ext.c \
ports.h ports.c \
sound.h sound.c
+reverbed_LDADD = $(GTK_LIBS) $(JACK_LIBS)
- EXTRA_DIST = .reverbed
+-EXTRA_DIST = .reverbed
++dist_pkgdata_DATA = .reverbed
- INCLUDES =
+-INCLUDES =
-LIBS =
- #LIBS = $(LDFLAGS)
-
- install: all
+-#LIBS = $(LDFLAGS)
+-
+-install: all
+- -mkdir -p $(bindir)
+- cp reverbed $(bindir)
+- @echo
+- @echo " *** IMPORTANT NOTICE ***"
+- @echo "Please don't forget to copy the src/.reverbed file to the home"
+- @echo "directory of every user who will run the program. Also, don't"
+- @echo "forget to set the permissions of the copied files so these users"
+- @echo "have read/write access to their own copies."
+- @echo
diff --git a/media-sound/tap-reverbed/tap-reverbed-0-r1.ebuild b/media-sound/tap-reverbed/tap-reverbed-0-r1.ebuild
new file mode 100644
index 000000000000..320fb93201e2
--- /dev/null
+++ b/media-sound/tap-reverbed/tap-reverbed-0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+MY_P="${PN}-r0"
+DESCRIPTION="Standalone JACK counterpart of LADSPA plugin TAP Reverberator"
+HOMEPAGE="http://tap-plugins.sourceforge.net/reverbed.html"
+SRC_URI="mirror://sourceforge/tap-plugins/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/ladspa-sdk
+ media-plugins/tap-plugins
+ x11-libs/gtk+:2
+ media-sound/jack-audio-connection-kit"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+PATCHES=( "${FILESDIR}/${PN}-flags.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+pkg_postinst() {
+ elog "TAP Reverb Editor expects the configuration file '.reverbed'"
+ elog "to be in the user's home directory. The default '.reverbed'"
+ elog "file can be found in the /usr/share/tap-reverbed directory"
+ elog "and should be manually copied to the user's directory."
+}