/[gentoo-x86]/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.2.ebuild
Gentoo

Contents of /media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Mar 18 18:11:47 2012 UTC (2 years, 9 months ago) by armin76
Branch: MAIN
Changes since 1.5: +2 -2 lines
Drop sparc keywords

(Portage version: 2.1.10.49/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.2.ebuild,v 1.5 2012/03/02 20:45:53 ssuominen Exp $
4
5 inherit toolchain-funcs eutils multilib
6
7 DESCRIPTION="Audio processing plugin system for plugins that extract descriptive information from audio data"
8 HOMEPAGE="http://www.vamp-plugins.org"
9 SRC_URI="mirror://sourceforge/vamp/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="amd64 hppa ppc ppc64 x86"
14 IUSE="doc"
15
16 RDEPEND="media-libs/libsndfile"
17 DEPEND="${RDEPEND}
18 doc? ( app-doc/doxygen )"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 # epatch "${FILESDIR}"/${PN}-2.0-gcc44.patch
24 # multilib for default search paths
25 sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" src/vamp-hostsdk/PluginHostAdapter.cpp || die "sed failed"
26 }
27
28 src_compile() {
29 tc-export CXX AR RANLIB
30 econf
31 emake || die "emake failed"
32 if use doc; then
33 cd build
34 doxygen || die "creating doxygen doc failed"
35 fi
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" INSTALL_SDK_LIBS="/usr/$(get_libdir)" INSTALL_PKGCONFIG="/usr/$(get_libdir)/pkgconfig" INSTALL_PLUGINS="/usr/$(get_libdir)/vamp" install || die "emake install failed"
40 dodoc README* CHANGELOG
41 use doc && dohtml -r build/doc/html/*
42 }
43
44 pkg_postinst() {
45 elog ""
46 elog "You might also want to install some Vamp plugins."
47 elog "See media-plugins/vamp-*"
48 elog ""
49 }

  ViewVC Help
Powered by ViewVC 1.1.20