diff --git a/media-video/vidify-audiosync/files/vidify-audiosync-9999-debug.patch b/media-video/vidify-audiosync/files/vidify-audiosync-9999-debug.patch new file mode 100644 index 0000000000..69061de965 --- /dev/null +++ b/media-video/vidify-audiosync/files/vidify-audiosync-9999-debug.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index e23d76b..32ace2f 100644 +--- a/setup.py ++++ b/setup.py +@@ -5,7 +5,7 @@ defines = [] + args = ['-fno-finite-math-only'] + + # "Debug mode" flags by uncommenting them +-# defines.append(('DEBUG', '1')) ++defines.append(('DEBUG', '1')) + + audiosync = Extension( + 'vidify_audiosync', diff --git a/media-video/vidify-audiosync/metadata.xml b/media-video/vidify-audiosync/metadata.xml new file mode 100644 index 0000000000..20ab94177c --- /dev/null +++ b/media-video/vidify-audiosync/metadata.xml @@ -0,0 +1,13 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/media-video/vidify-audiosync/vidify-audiosync-9999.ebuild b/media-video/vidify-audiosync/vidify-audiosync-9999.ebuild new file mode 100644 index 0000000000..f4fc153b59 --- /dev/null +++ b/media-video/vidify-audiosync/vidify-audiosync-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit cmake-utils git-r3 distutils-r1 + +DESCRIPTION="Audio synchronization feature for vidify " +HOMEPAGE="https://github.com/vidify/audiosync" +EGIT_REPO_URI="https://github.com/vidify/audiosync.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS= + +IUSE="debug" + +RDEPEND=" + media-video/ffmpeg[openssl] + media-video/vidify[${PYTHON_USEDEP}] + sci-libs/fftw + debug? ( sci-visualization/gnuplot )" + +src_prepare() { + use debug && eapply "${FILESDIR}/${P}-debug.patch" + default +}