media-sound/r128gain - 1.0.7 (4nykey)

Search

Package Information

Homepage:
https://github.com/desbma/r128gain
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.0.7 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2018-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
if [[ -z ${PV%%*9999} ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/desbma/${PN}.git"
else
	MY_PV="${PV}"
	if [[ -z ${PV%%*_p*} ]]; then
		inherit vcs-snapshot
		MY_PV="d2e9815"
	fi
	SRC_URI="
		mirror://githubcl/desbma/${PN}/tar.gz/${MY_PV} -> ${P}.tar.gz
	"
	RESTRICT="primaryuri"
	KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="Fast audio loudness scanner & tagger (ReplayGain v2 / R128)"
HOMEPAGE="https://github.com/desbma/${PN}"

LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"

RDEPEND="
	dev-python/ffmpeg-python[${PYTHON_USEDEP}]
	dev-python/crcmod[${PYTHON_USEDEP}]
	media-libs/mutagen[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
"
DEPEND="
	${RDEPEND}
"
BDEPEND="
	test? (
		media-sound/sox[wavpack]
		dev-python/requests[${PYTHON_USEDEP}]
	)
"
distutils_enable_tests unittest

pkg_pretend() {
	use test && has network-sandbox ${FEATURES} && die \
	"Tests require network access"
}

USE Flags

Applicable Mirrors

Mirror Name URLs
githubcl

Dependencies

DEPEND

	
	dev-python/ffmpeg-python[${PYTHON_USEDEP}]
	dev-python/crcmod[${PYTHON_USEDEP}]
	media-libs/mutagen[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]

RDEPEND

	dev-python/ffmpeg-python[${PYTHON_USEDEP}]
	dev-python/crcmod[${PYTHON_USEDEP}]
	media-libs/mutagen[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]

BDEPEND

	test? (
		media-sound/sox[wavpack]
		dev-python/requests[${PYTHON_USEDEP}]
	)

Manifest for 1.0.7

Type File Size Source URLs
DIST r128gain-1.0.7.tar.gz 35476 bytes mirror://githubcl/desbma/r128gain/tar.gz/d2e9815