diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-23 15:50:06 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-23 15:54:32 +0200 |
commit | cf84b8c8599779f876ff207c7fd48a20deee1948 (patch) | |
tree | c5dbf7596440d6046c6fdad4b42a57445f302a19 /media-libs/vamp-plugin-sdk | |
parent | sci-geosciences/osm2pgsql: Remove old (diff) | |
download | gentoo-cf84b8c8599779f876ff207c7fd48a20deee1948.tar.gz gentoo-cf84b8c8599779f876ff207c7fd48a20deee1948.tar.bz2 gentoo-cf84b8c8599779f876ff207c7fd48a20deee1948.zip |
media-libs/vamp-plugin-sdk: Bump to 2.7.1
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-libs/vamp-plugin-sdk')
-rw-r--r-- | media-libs/vamp-plugin-sdk/Manifest | 1 | ||||
-rw-r--r-- | media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/vamp-plugin-sdk/Manifest b/media-libs/vamp-plugin-sdk/Manifest index 793048f6ee2d..7770ce9898fc 100644 --- a/media-libs/vamp-plugin-sdk/Manifest +++ b/media-libs/vamp-plugin-sdk/Manifest @@ -1 +1,2 @@ DIST vamp-plugin-sdk-2.6.tar.gz 174908 SHA256 aa533266e35f866292c30eeac126d2d4abdf2028f1340c0e02354057013728e9 SHA512 0de0eee37629b86c664d42837eb4dbac8bb311af71082b3d0a880c6b475a8de1ab7ac42daf7c1a234dc29690e5788b70011fa01a956941cf414347011e9c27d3 WHIRLPOOL 566afe1c020515325f3641f3dc053fcbe7d6a444c74987484e30677e5df288e7abbc0b6630b9c93425b6463bc0705325be783a39c203760277662aeaf05bb03b +DIST vamp-plugin-sdk-2.7.1.tar.gz 306956 SHA256 c6fef3ff79d2bf9575ce4ce4f200cbf219cbe0a21cfbad5750e86ff8ae53cb0b SHA512 91dd7cae72334718dcbdac06b1ffa3f3ba76e977b82b928ab634d9982aa15ca4e30978a7778215753c61e56831077d7634d24e65e468ab6a8a87a5957fb09bf3 WHIRLPOOL 3f64fb07712e178642a24b6a2985fbc7e278003639d2f06f2ad9a6f34028c25e55345f867b29930d5728200c9248fd8c033ee0e93b83e1294086e6910aac12f2 diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild new file mode 100644 index 000000000000..4d424ce02493 --- /dev/null +++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs eutils multilib multilib-minimal + +DESCRIPTION="Audio processing plugin system for plugins that extract descriptive information from audio data" +HOMEPAGE="http://www.vamp-plugins.org" +SRC_URI="https://code.soundsoftware.ac.uk/attachments/download/2206/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" +IUSE="doc static-libs" + +RDEPEND="media-libs/libsndfile" +DEPEND="${RDEPEND} + media-libs/libsndfile[${MULTILIB_USEDEP}] + doc? ( app-doc/doxygen )" + +src_prepare() { + multilib_copy_sources +} + +multilib_src_configure() { + # multilib for default search paths + sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" src/vamp-hostsdk/PluginHostAdapter.cpp || die "sed failed" + econf +} + +multilib_src_compile() { + emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" + + if multilib_is_native_abi && use doc; then + cd build + doxygen || die "creating doxygen doc failed" + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" INSTALL_SDK_LIBS="/usr/$(get_libdir)" INSTALL_PKGCONFIG="/usr/$(get_libdir)/pkgconfig" INSTALL_PLUGINS="/usr/$(get_libdir)/vamp" install + multilib_is_native_abi && use doc && dohtml -r build/doc/html/* +} + +multilib_src_install_all() { + dodoc README* CHANGELOG +} + +pkg_postinst() { + elog "" + elog "You might also want to install some Vamp plugins." + elog "See media-plugins/vamp-*" + elog "" +} |