mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user