2021-02-06 15:27:45 +01:00
|
|
|
# Copyright 2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-07-10 19:09:23 +02:00
|
|
|
EAPI="8"
|
|
|
|
PYTHON_COMPAT=( python3_{9..10} )
|
2021-02-06 15:27:45 +01:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Utility for batch-normalizing audio using ffmpeg"
|
|
|
|
HOMEPAGE="https://github.com/slhck/ffmpeg-normalize"
|
|
|
|
|
|
|
|
if [[ ${PV} == *9999 ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="${HOMEPAGE}"
|
|
|
|
else
|
|
|
|
#SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
fi
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
|
|
|
media-video/ffmpeg
|
|
|
|
"
|