summaryrefslogtreecommitdiff
blob: bffb56f6602f6244f61ec0f21ded8f6e2624f798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit optfeature

DESCRIPTION="Command-line tool for mass tagging/renaming of audio files"
HOMEPAGE="https://github.com/Daenyth/audiotag"
SRC_URI="https://github.com/downloads/Daenyth/${PN}/${P}.tar.bz2"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~ppc ppc64 sparc x86"

RDEPEND="dev-lang/perl"

src_install() {
	dobin ${PN}
	dodoc ChangeLog README
}

pkg_postinst() {
	optfeature "for m4a/mp4 support" media-video/atomicparsley media-video/atomicparsley-wez
	optfeature "for flac support" media-libs/flac
	optfeature "for mp3 support" media-libs/id3lib
	optfeature "for vorbis support" media-sound/vorbis-tools
}