From 5ac13e701ec82ed8f38ddbfc1c8df1cdc53f37a2 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Sun, 5 Mar 2023 19:35:55 +0300 Subject: [PATCH] media-sound/dr14_tmeter: update ebuilds --- media-sound/dr14_tmeter/Manifest | 4 +- .../dr14_tmeter/dr14_tmeter-1.0.16.ebuild | 44 +++++++++++++++++++ .../dr14_tmeter/dr14_tmeter-9999.ebuild | 10 ++++- 3 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 media-sound/dr14_tmeter/dr14_tmeter-1.0.16.ebuild diff --git a/media-sound/dr14_tmeter/Manifest b/media-sound/dr14_tmeter/Manifest index 9d31a39..9aa0e2a 100644 --- a/media-sound/dr14_tmeter/Manifest +++ b/media-sound/dr14_tmeter/Manifest @@ -1 +1,3 @@ -EBUILD dr14_tmeter-9999.ebuild 741 BLAKE2B 22dd209f09e6a2b9651d015414aa4112be250e54a2d2e2d146cb024ac3fae411497326eb3348c63801800d28f257243fc8513aff31806b424714f5ae2d9d829e SHA512 4aba611f34b2d7eedd2163932a62f0ac504c64d93342d97528375f8a1d1ed6f4b4ef8c03ec691da1daaca3107fa9e7bf8858211d49da43845a6778350bb3c7b4 +DIST dr14_tmeter-1.0.16.tar.gz 36807 BLAKE2B 327eb200eecae8f5426ba94496f98ef2c8d9f41cde23085954270f7dc21aef26eedab938469d6636950758bc8700d266aa201b1d44c91e8cf2565f777d42b9e9 SHA512 726a553071f655f90d86a6e77bf8a6953ece80d6b4795973774d7fdb8bac16ed2e5e086e0811affba95d995a0bca74d5c48f894b569080175e8d068bb51e966a +EBUILD dr14_tmeter-1.0.16.ebuild 925 BLAKE2B c200245fc8dfdf45593eb70686590b2df05b27885196fb4fea802ed9d847fb31b4440a31d792a82f711d60e8d0daee2e0d9bdb66cc8c169096934a892af9d544 SHA512 2328acd0e12b7801e781c24db7ac9f876a36146dfb4eeabf3b69790c9837c52a9cc84ac41d1599a821c674742e9949f905cf49505eb2bd55cbf5e6be055650a5 +EBUILD dr14_tmeter-9999.ebuild 925 BLAKE2B c200245fc8dfdf45593eb70686590b2df05b27885196fb4fea802ed9d847fb31b4440a31d792a82f711d60e8d0daee2e0d9bdb66cc8c169096934a892af9d544 SHA512 2328acd0e12b7801e781c24db7ac9f876a36146dfb4eeabf3b69790c9837c52a9cc84ac41d1599a821c674742e9949f905cf49505eb2bd55cbf5e6be055650a5 diff --git a/media-sound/dr14_tmeter/dr14_tmeter-1.0.16.ebuild b/media-sound/dr14_tmeter/dr14_tmeter-1.0.16.ebuild new file mode 100644 index 0000000..e472a18 --- /dev/null +++ b/media-sound/dr14_tmeter/dr14_tmeter-1.0.16.ebuild @@ -0,0 +1,44 @@ +# 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 + +DESCRIPTION="Compute the DR14 value of the given audio files" +HOMEPAGE="http://dr14tmeter.sourceforge.net/" +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/simon-r/dr14_t.meter.git" +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/simon-r/dr14_t.meter/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +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 +} diff --git a/media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild b/media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild index 78d69ec..e472a18 100644 --- a/media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild +++ b/media-sound/dr14_tmeter/dr14_tmeter-9999.ebuild @@ -7,11 +7,17 @@ PYTHON_COMPAT=( python3_{9..11} ) DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 git-r3 +inherit distutils-r1 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" +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/simon-r/dr14_t.meter.git" +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/simon-r/dr14_t.meter/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi LICENSE="GPL-3+" SLOT="0"