From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vamp-plugin-sdk/
Date: Sun, 20 Oct 2019 14:19:25 +0000 (UTC) [thread overview]
Message-ID: <1571581148.cd86291b815da3bd373a97d1d45cd47ef7a012f1.soap@gentoo> (raw)
commit: cd86291b815da3bd373a97d1d45cd47ef7a012f1
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 14:19:08 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 14:19:08 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd86291b
media-libs/vamp-plugin-sdk: Port to EAPI 7
* Do not install static archives
Closes: https://bugs.gentoo.org/474768
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild | 41 ++++++++++++++--------
1 file changed, 26 insertions(+), 15 deletions(-)
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
index 0791dd53403..7351cdb0de3 100644
--- 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
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit toolchain-funcs eutils multilib multilib-minimal
+inherit toolchain-funcs multilib-minimal
DESCRIPTION="Audio processing system for plugins to extract information from audio data"
HOMEPAGE="https://www.vamp-plugins.org"
@@ -12,44 +12,55 @@ SRC_URI="https://code.soundsoftware.ac.uk/attachments/download/2206/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sparc x86"
-IUSE="doc static-libs"
+IUSE="doc"
-RDEPEND="media-libs/libsndfile"
-DEPEND="${RDEPEND}
- media-libs/libsndfile[${MULTILIB_USEDEP}]
- doc? ( app-doc/doxygen )"
+RDEPEND="media-libs/libsndfile:0=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
src_prepare() {
+ default
multilib_copy_sources
}
multilib_src_configure() {
# multilib for default search paths
- sed -i -e "s:/usr/lib/vamp:${EPREFIX}/usr/$(get_libdir)/vamp:" src/vamp-hostsdk/PluginHostAdapter.cpp || die "sed failed"
+ sed -i -e "s:/usr/lib/vamp:${EPREFIX}/usr/$(get_libdir)/vamp:" \
+ src/vamp-hostsdk/PluginHostAdapter.cpp || die
econf
}
multilib_src_compile() {
- emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+ emake \
+ AR="$(tc-getAR)" \
+ RANLIB="$(tc-getRANLIB)"
if multilib_is_native_abi && use doc; then
- cd build
+ cd build || die
doxygen || die "creating doxygen doc failed"
+ HTML_DOCS=( "${BUILD_DIR}"/build/doc/html/. )
fi
}
multilib_src_install() {
- emake DESTDIR="${D}" INSTALL_SDK_LIBS="${EPREFIX}/usr/$(get_libdir)" INSTALL_PKGCONFIG="${EPREFIX}/usr/$(get_libdir)/pkgconfig" INSTALL_PLUGINS="${EPREFIX}/usr/$(get_libdir)/vamp" install
- multilib_is_native_abi && use doc && dohtml -r build/doc/html/*
+ emake \
+ DESTDIR="${D}" \
+ INSTALL_SDK_LIBS="${EPREFIX}"/usr/$(get_libdir) \
+ INSTALL_PKGCONFIG="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \
+ INSTALL_PLUGINS="${EPREFIX}"/usr/$(get_libdir)/vamp \
+ install
}
multilib_src_install_all() {
- dodoc README* CHANGELOG
+ einstalldocs
+
+ # don't want static archives, #474768
+ find "${D}" -name '*.a' -delete || die
}
pkg_postinst() {
- elog ""
+ elog
elog "You might also want to install some Vamp plugins."
elog "See media-plugins/vamp-*"
- elog ""
+ elog
}
next reply other threads:[~2019-10-20 14:19 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-20 14:19 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-02 9:56 [gentoo-commits] repo/gentoo:master commit in: media-libs/vamp-plugin-sdk/ Sam James
2022-12-05 5:30 WANG Xuerui
2021-08-24 14:33 Marek Szuba
2020-10-09 12:21 Miroslav Šulc
2020-10-06 15:09 Sam James
2020-10-01 23:06 Sergei Trofimovich
2020-10-01 22:55 Sergei Trofimovich
2020-09-30 2:32 Sam James
2020-09-29 21:25 Sergei Trofimovich
2020-08-24 10:41 Miroslav Šulc
2020-08-24 9:51 Miroslav Šulc
2018-08-25 21:30 Andreas Sturmlechner
2018-05-24 0:42 Aaron Bauman
2018-04-03 21:32 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2017-12-04 9:26 Alexis Ballier
2017-11-19 21:14 Sergei Trofimovich
2017-10-29 23:16 Thomas Deutschmann
2017-10-15 19:08 Sergei Trofimovich
2017-10-15 18:37 Sergei Trofimovich
2017-08-06 8:44 Markus Meier
2017-07-15 18:25 Sergei Trofimovich
2017-07-15 17:25 Tobias Klausmann
2017-06-16 10:10 Alexis Ballier
2017-06-10 20:14 Sergei Trofimovich
2017-06-10 20:14 Sergei Trofimovich
2017-04-23 13:54 Alexis Ballier
2017-02-23 12:35 Michael Weber
2016-10-14 13:33 Alexis Ballier
2016-10-14 13:33 Alexis Ballier
2016-10-01 12:41 Jeroen Roovers
2016-02-01 19:19 Tobias Klausmann
2016-01-17 17:02 Agostino Sarubbo
2016-01-15 9:03 Agostino Sarubbo
2015-09-23 14:23 Alexis Ballier
2015-09-16 13:20 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1571581148.cd86291b815da3bd373a97d1d45cd47ef7a012f1.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox