diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
commit | e748ba9741f6540f4675c23e3e37b73e822c13a4 (patch) | |
tree | 23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /media-video/vidify-audiosync/vidify-audiosync-0.3.0.ebuild | |
parent | 908778078736bd36f7a60a2d576d415cb8e000fa (diff) |
gentoo resync : 31.05.2021
Diffstat (limited to 'media-video/vidify-audiosync/vidify-audiosync-0.3.0.ebuild')
-rw-r--r-- | media-video/vidify-audiosync/vidify-audiosync-0.3.0.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-video/vidify-audiosync/vidify-audiosync-0.3.0.ebuild b/media-video/vidify-audiosync/vidify-audiosync-0.3.0.ebuild new file mode 100644 index 000000000000..e0e3a255570a --- /dev/null +++ b/media-video/vidify-audiosync/vidify-audiosync-0.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Audio synchronization feature for vidify" +HOMEPAGE="https://vidify.org" +SRC_URI="https://github.com/vidify/old-audiosync/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="debug test" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-sound/pulseaudio + media-video/ffmpeg[openssl] + media-video/vidify[${PYTHON_USEDEP}] + sci-libs/fftw + debug? ( sci-visualization/gnuplot ) +" +BDEPEND="test? ( dev-util/cmake )" + +S="${WORKDIR}/old-audiosync-${PV}" + +python_prepare_all() { + if use debug; then + sed -i -e "/defines.append(('DEBUG', '1'))/s/^# *//" setup.py || die + fi + distutils-r1_python_prepare_all +} + +python_test() { + mkdir "test_build_${EPYTHON}" || die + cd "test_build_${EPYTHON}" || die + cmake .. -DBUILD_TESTING=YES || die + emake + emake test + cd .. || die +} |