Closes: https://bugs.gentoo.org/685686
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11976
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
--- /dev/null
+# 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
+}