From 61a083d435f46b7a99c24b74799b7edc494d5c22 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Tue, 28 Feb 2023 10:10:44 +0300 Subject: [PATCH] add media-sound/dr14_tmeter ebuild --- .../dr14_tmeter/dr14_tmeter-9999.ebuild | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild diff --git a/media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild b/media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild new file mode 100644 index 0000000..78d69ec --- /dev/null +++ b/media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 2017-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 git-r3 + +DESCRIPTION="Compute the DR14 value of the given audio files" +HOMEPAGE="http://dr14tmeter.sourceforge.net/" +EGIT_REPO_URI="https://github.com/simon-r/dr14_t.meter.git" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + media-libs/flac + media-libs/mutagen + media-video/ffmpeg[encode]" + +src_prepare() { + default + + sed -i '/cmdclass/d' setup.py +} + + +python_install_all() { + distutils-r1_python_install_all + + doman man/dr14_tmeter.1 +}