diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-libs/raul/raul-9999.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'media-libs/raul/raul-9999.ebuild')
-rw-r--r-- | media-libs/raul/raul-9999.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/raul/raul-9999.ebuild b/media-libs/raul/raul-9999.ebuild new file mode 100644 index 000000000000..3c51df5ccbca --- /dev/null +++ b/media-libs/raul/raul-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_REQ_USE='threads(+)' + +inherit waf-utils python-any-r1 eutils git-r3 + +DESCRIPTION="C++ utility library primarily aimed at audio/musical applications" +HOMEPAGE="http://wiki.drobilla.net/Raul" +EGIT_REPO_URI="https://gitlab.com/drobilla/raul.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="debug doc test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-libs/boost + dev-libs/glib" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +RAUL_TESTS="array_test build_test double_buffer_test maid_test path_test ringbuffer_test sem_test socket_test symbol_test thread_test time_test" +DOCS=( AUTHORS NEWS README ) + +src_configure() { + waf-utils_src_configure \ + $(use debug && echo "--debug") \ + $(use doc && echo "--docs") \ + $(use test && echo "--test") +} + +src_test() { + cd "${S}/build/test" || die + for i in ${RAUL_TESTS} ; do + einfo "Running test ${i}" + LD_LIBRARY_PATH=.. ./${i} || die + done +} |