summaryrefslogtreecommitdiff
path: root/media-libs/vamp-plugin-sdk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-libs/vamp-plugin-sdk
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'media-libs/vamp-plugin-sdk')
-rw-r--r--media-libs/vamp-plugin-sdk/Manifest4
-rw-r--r--media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.10.ebuild74
-rw-r--r--media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1-r1.ebuild (renamed from media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild)3
3 files changed, 80 insertions, 1 deletions
diff --git a/media-libs/vamp-plugin-sdk/Manifest b/media-libs/vamp-plugin-sdk/Manifest
index 8a7056e31f15..7a6aeba967b4 100644
--- a/media-libs/vamp-plugin-sdk/Manifest
+++ b/media-libs/vamp-plugin-sdk/Manifest
@@ -1,3 +1,5 @@
+DIST vamp-plugin-sdk-2.10.tar.gz 316165 BLAKE2B ba206443d4a6f94f56c1e3b7e8f47b7c8f893d2df6601f9d26a613d56bf58fee7d0a4a996964aa0690ecf69fd1d686db28165e73a0d37880a7891c67ecaaae5f SHA512 67a71e5396eab5ce9503e9111b4cfc16fc9755cf6ae2d8dfc99ed29fd91e75eaf0de9a9c55ce8f7751f04c235eb86430856eff18f02adde54f1850a87c917ef0
DIST vamp-plugin-sdk-2.7.1.tar.gz 306956 BLAKE2B d8e765f54cb3544efcca4b08241afc070026adeaa4c0273cc01dae26e0ad60a976bc443184cc83413c6e32f4cf6fbee6590954e7ab12872993abb78c2541653f SHA512 91dd7cae72334718dcbdac06b1ffa3f3ba76e977b82b928ab634d9982aa15ca4e30978a7778215753c61e56831077d7634d24e65e468ab6a8a87a5957fb09bf3
-EBUILD vamp-plugin-sdk-2.7.1.ebuild 1555 BLAKE2B ba37a9314ad0660d867ed2c37a13173d49ee82875e658b7676cd4e189f0994e4c5e0818d1eb3af28c8311a552754141ca0a9f13be2d35cfd2fc3c879d15244c1 SHA512 52abde64627d143aee0f6f4b706e4ffddcd751c5380be34f06d4c8ea4c542e6ae3700cde18fe5370e9f637b3150af5895c479d8744fda110de8845b99670d195
+EBUILD vamp-plugin-sdk-2.10.ebuild 1713 BLAKE2B cc11a402cb0e3eb625169d76557dbe26860b28dffeb21ee3c7562e89fc0e00cf3addf1f2f09b79a97aa40e830db5e256324852f47744f7e421f9b226786dfe21 SHA512 caf7175502d7f6579fd66e5fa0d0e942a86ff76d341700350effc10552fb928f30e69992d371abff68839abd658713642875719e74307c4d89a61b68657bc05c
+EBUILD vamp-plugin-sdk-2.7.1-r1.ebuild 1647 BLAKE2B 4b08eb7d49ea76bc132e3ee90e9f71be68c453978356fa89eadf7381b4a3d143861a2ec6409c1472cfa24bbed1269bac1794833aa31ae8dc1e83a6dbc694fdbb SHA512 cc59376395f69f3b7615f2484803f6b9f8b0d673ddf349e0ebc79784766f055aee09f69f0350a956e593500419c6b00da32926eca0a954c660ffa6640cdf5418
MISC metadata.xml 255 BLAKE2B 7a492321189530430d5c71d5598f8a99b548e020d8ace46bb200f1f18abb3a59c4d0dff84c8dc1f78297137c25684d42386d793b84a02e2363fab4d6dcedd4fa SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8
diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.10.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.10.ebuild
new file mode 100644
index 000000000000..9e72385ee23e
--- /dev/null
+++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.10.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs multilib-minimal
+
+DESCRIPTION="Audio processing system for plugins to extract information from audio data"
+HOMEPAGE="https://www.vamp-plugins.org"
+SRC_URI="https://github.com/c4dm/${PN}/archive/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND="media-libs/libsndfile:0=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+S="${WORKDIR}/${PN}-${PN}-v${PV}"
+
+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
+ econf
+}
+
+multilib_src_compile() {
+ emake \
+ AR="$(tc-getAR)" \
+ RANLIB="$(tc-getRANLIB)"
+
+ if multilib_is_native_abi && use doc; then
+ 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
+
+ # fix .pc files
+ sed -Ei "s/lib$/$(get_libdir)/g" "${D}"/usr/$(get_libdir)/pkgconfig/*.pc
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ # don't want static archives, #474768
+ find "${D}" -name '*.a' -delete || die
+}
+
+pkg_postinst() {
+ elog
+ elog "You might also want to install some Vamp plugins."
+ elog "See media-plugins/vamp-*"
+ elog
+}
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-r1.ebuild
index 02b99f969116..47ba03d2c003 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-r1.ebuild
@@ -49,6 +49,9 @@ multilib_src_install() {
INSTALL_PKGCONFIG="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \
INSTALL_PLUGINS="${EPREFIX}"/usr/$(get_libdir)/vamp \
install
+
+ # fix .pc files
+ sed -Ei "s/lib$/$(get_libdir)/g" "${D}"/usr/$(get_libdir)/pkgconfig/*.pc
}
multilib_src_install_all() {