summaryrefslogtreecommitdiff
path: root/media-sound/audiotag/audiotag-0.19-r1.ebuild
blob: ec257e988dea00c613c2c2672f96fd8fa42d43cc (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-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit eutils

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
}