diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-22 13:30:14 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-22 13:33:14 +0200 |
commit | fbc5b834688c8df59529d5560499bf64328eefab (patch) | |
tree | ae23da9a64c4a87f6fd59c7bf15545d668de8ed0 /media-libs/raul | |
parent | media-libs/lvtk: replaced waf hard version with variable in 1.2.0-r1 (diff) | |
download | gentoo-fbc5b834688c8df59529d5560499bf64328eefab.tar.gz gentoo-fbc5b834688c8df59529d5560499bf64328eefab.tar.bz2 gentoo-fbc5b834688c8df59529d5560499bf64328eefab.zip |
media-libs/raul: py3 + added live
currently nothing depends on it but there might be projects
in the future that might need it so instead of dropping
it added pre-release
Closes: https://bugs.gentoo.org/735382
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/raul')
-rw-r--r-- | media-libs/raul/Manifest | 1 | ||||
-rw-r--r-- | media-libs/raul/raul-1.0.0_pre20200718.ebuild | 45 | ||||
-rw-r--r-- | media-libs/raul/raul-9999.ebuild | 44 |
3 files changed, 90 insertions, 0 deletions
diff --git a/media-libs/raul/Manifest b/media-libs/raul/Manifest index 3dfbb9b9e95c..2043647c133e 100644 --- a/media-libs/raul/Manifest +++ b/media-libs/raul/Manifest @@ -1 +1,2 @@ DIST raul-0.8.0.tar.bz2 155450 BLAKE2B 9347e0b3505452ebdcfef89a25ab2b134f9c65d0c3ed0d1c456c309fa073cf81f1f1f901d7e2728f08d481fdefec26e57227923a75946e7b35d4c902c2fe8832 SHA512 7ad48c551945aad104309448bcdb86a4a2ca07c44af53b37492e7cddce6a093529f1e1e75c4b27cb8e292ec46424969cdea270883d44b2f1badc48df8943a0a1 +DIST raul-1.0.0_pre20200718.tar.bz2 58775 BLAKE2B 3383c5c2a1c4f1156137c90807bc70d0fb05d5d271855ea1490bc216df8f2036049aee0fc49309b22db9a82f19670eb2ec29900bb9766d0270f5ba0db60324d8 SHA512 33de61b47bb0bf9cd8ccc15ad3249ec76f3fe3ae9e0cb9af6a45ef6385b2b777af6f775abc00a1f7f7ad930291529a48cebddd455e54b8fe5887749dfb0b47a4 diff --git a/media-libs/raul/raul-1.0.0_pre20200718.ebuild b/media-libs/raul/raul-1.0.0_pre20200718.ebuild new file mode 100644 index 000000000000..12c1e165eb10 --- /dev/null +++ b/media-libs/raul/raul-1.0.0_pre20200718.ebuild @@ -0,0 +1,45 @@ +# 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 + +DESCRIPTION="C++ utility library primarily aimed at audio/musical applications" +HOMEPAGE="http://wiki.drobilla.net/Raul" +SRC_URI="https://gitlab.com/drobilla/raul/-/archive/496e70e420811c7d744a8bcc44a2ac1b51b676b5.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-libs/boost + >=dev-libs/glib-2.14.0" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +RAUL_TESTS="atomic_test atom_test list_test midi_ringbuffer_test path_test quantize_test queue_test ringbuffer_test smf_test table_test thread_test time_test" +DOCS=( AUTHORS README ChangeLog ) + +src_configure() { + waf-utils_src_configure \ + --htmldir=/usr/share/doc/${PF}/html \ + $(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 +} diff --git a/media-libs/raul/raul-9999.ebuild b/media-libs/raul/raul-9999.ebuild new file mode 100644 index 000000000000..27ba96e205af --- /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="atomic_test atom_test list_test midi_ringbuffer_test path_test quantize_test queue_test ringbuffer_test smf_test table_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 +} |