media-sound/dr14_tmeter: update ebuilds

This commit is contained in:
Alexander Miroshnichenko 2023-03-05 19:35:55 +03:00
parent 037692f2c2
commit 5ac13e701e
Signed by: alex
GPG Key ID: E93720C6C73A77F4
3 changed files with 55 additions and 3 deletions

View File

@ -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

View File

@ -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
}

View File

@ -7,11 +7,17 @@ PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_SETUPTOOLS=no DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 git-r3 inherit distutils-r1
DESCRIPTION="Compute the DR14 value of the given audio files" DESCRIPTION="Compute the DR14 value of the given audio files"
HOMEPAGE="http://dr14tmeter.sourceforge.net/" HOMEPAGE="http://dr14tmeter.sourceforge.net/"
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/simon-r/dr14_t.meter.git" 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+" LICENSE="GPL-3+"
SLOT="0" SLOT="0"