summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-07-11 11:48:26 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-07-11 11:48:26 +0000
commit01c2b56040208bddf0117d2edfdbbb5bc16e8fcf (patch)
treee1614a49ceafbc0ed5853d07e8392d8204384aee /media-libs
parentstable amd64, bug 231082 (diff)
downloadgentoo-2-01c2b56040208bddf0117d2edfdbbb5bc16e8fcf.tar.gz
gentoo-2-01c2b56040208bddf0117d2edfdbbb5bc16e8fcf.tar.bz2
gentoo-2-01c2b56040208bddf0117d2edfdbbb5bc16e8fcf.zip
version bump
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/vamp-plugin-sdk/ChangeLog9
-rw-r--r--media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.3-stdcplusplus.patch15
-rw-r--r--media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.3.ebuild51
3 files changed, 74 insertions, 1 deletions
diff --git a/media-libs/vamp-plugin-sdk/ChangeLog b/media-libs/vamp-plugin-sdk/ChangeLog
index 92a466d93d07..9b8fd49871a6 100644
--- a/media-libs/vamp-plugin-sdk/ChangeLog
+++ b/media-libs/vamp-plugin-sdk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/vamp-plugin-sdk
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.14 2008/04/13 21:04:03 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.15 2008/07/11 11:48:26 aballier Exp $
+
+*vamp-plugin-sdk-1.3 (11 Jul 2008)
+
+ 11 Jul 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/vamp-plugin-sdk-1.3-stdcplusplus.patch,
+ +vamp-plugin-sdk-1.3.ebuild:
+ version bump
13 Apr 2008; Alexis Ballier <aballier@gentoo.org>
+files/vamp-plugin-sdk-1.2-gcc-4.3.patch, vamp-plugin-sdk-1.2.ebuild:
diff --git a/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.3-stdcplusplus.patch b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.3-stdcplusplus.patch
new file mode 100644
index 000000000000..087de2ebc2f4
--- /dev/null
+++ b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.3-stdcplusplus.patch
@@ -0,0 +1,15 @@
+Index: vamp-plugin-sdk-1.3/Makefile
+===================================================================
+--- vamp-plugin-sdk-1.3.orig/Makefile
++++ vamp-plugin-sdk-1.3/Makefile
+@@ -40,8 +40,8 @@ RANLIB := ranlib
+ # because our plugin exposes only a C API so there are no boundary
+ # compatibility problems.)
+ #
+-#PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a
+-PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a $(shell g++ -print-file-name=libstdc++.a)
++PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a
++#PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a $(shell g++ -print-file-name=libstdc++.a)
+
+ # File extension for a dynamically loadable object
+ #
diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.3.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.3.ebuild
new file mode 100644
index 000000000000..c1b96aa1eb7e
--- /dev/null
+++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.3.ebuild,v 1.1 2008/07/11 11:48:26 aballier Exp $
+
+inherit toolchain-funcs eutils multilib
+
+DESCRIPTION="Audio processing plugin system for plugins that extract descriptive information from audio data"
+HOMEPAGE="http://www.vamp-plugins.org"
+SRC_URI="mirror://sourceforge/vamp/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND="media-libs/libsndfile"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-stdcplusplus.patch"
+ # multilib for default search paths
+ sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" vamp-sdk/PluginHostAdapter.cpp
+}
+
+src_compile() {
+ tc-export CXX
+ emake || die "emake failed"
+ if use doc; then
+ doxygen || die "creating doxygen doc failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" INSTALL_PREFIX="/usr" INSTALL_SDK_LIBS="/usr/$(get_libdir)" INSTALL_PKGCONFIG="/usr/$(get_libdir)/pkgconfig" install || die "emake install failed"
+ dodoc README
+ insinto /usr/$(get_libdir)/vamp
+ doins examples/vamp-example-plugins{.so,.cat}
+ dobin host/vamp-simple-host
+ use doc && dohtml -r doc/html/*
+}
+
+pkg_postinst() {
+ elog ""
+ elog "You might also want to install some Vamp plugins."
+ elog "See media-plugins/vamp-*"
+ elog ""
+}