summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-21 23:33:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-22 18:05:51 +0200
commit1af5296458ef84ae77b4eaa0a416186a8a3063ba (patch)
treef5456bf287f154100f227516d0fc452556a9144d /media-sound/lltag
parentmedia-libs/libtimidity: 0.2.6 version bump, EAPI-7 bump (diff)
downloadgentoo-1af5296458ef84ae77b4eaa0a416186a8a3063ba.tar.gz
gentoo-1af5296458ef84ae77b4eaa0a416186a8a3063ba.tar.bz2
gentoo-1af5296458ef84ae77b4eaa0a416186a8a3063ba.zip
media-sound/lltag: 0.14.6 version bump, EAPI-7 bump
Closes: https://bugs.gentoo.org/699918 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/lltag')
-rw-r--r--media-sound/lltag/Manifest1
-rw-r--r--media-sound/lltag/lltag-0.14.6.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/media-sound/lltag/Manifest b/media-sound/lltag/Manifest
index a7a7b1a9d9b8..c56c0c802562 100644
--- a/media-sound/lltag/Manifest
+++ b/media-sound/lltag/Manifest
@@ -1,2 +1,3 @@
DIST lltag-0.14.4.tar.bz2 48137 BLAKE2B 0dd209262ba15adb487642c0a15c2ee0504f0fa376763f01e12e9909bfebc47318fe671dec9057efbd7db06f1c5f55bb39aa35de043647f4ca86cf87442743a6 SHA512 d2dbc513ce5e75a808acb7676a2513ece34322d134d52e1f5ea44f51b7c134699a0a8e368265c2594fd275873e4908a21af135c8714278954d0b45f2fc239bf7
DIST lltag-0.14.5.tar.bz2 48035 BLAKE2B 15352a388fd96882d78803905c12074288b6084b72c46a5ea15a2dbe504bd416201315c0047492329f06413100ca432040a974dbe56869772dd0a36d3d18a927 SHA512 64d16ae1bfb920f2e10add6728bdbe261662688b5c99e4cc92ffa5d7dd5fe596c6c3ccbe61b432a4594e49003fc981b20588def9523a65ee934418afb512bedd
+DIST lltag-0.14.6.tar.gz 57162 BLAKE2B 9b21fa026644722bdb0cbb91e3a5f27247c4e8470273823aca71b71253e5ee50703e3cb14b1c4e8e6079e9d5d46dccc03d7a4892782c1c53189d5a13992ddd11 SHA512 9eb488ac1444ec11b02ca9c396903b5c6ef1e2f19558a6ef9d5e8d3fadb639fad902b4d6cdde8f4374768fdea553cfd6550c4151df9a755c9ae4a5652128a836
diff --git a/media-sound/lltag/lltag-0.14.6.ebuild b/media-sound/lltag/lltag-0.14.6.ebuild
new file mode 100644
index 000000000000..c4d43b6f07c3
--- /dev/null
+++ b/media-sound/lltag/lltag-0.14.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit perl-module
+
+DESCRIPTION="Automatic command-line mp3/ogg/flac file tagger and renamer"
+HOMEPAGE="http://bgoglin.free.fr/lltag/ https://github.com/bgoglin/lltag"
+SRC_URI="https://github.com/bgoglin/lltag/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="flac mp3 ogg readline"
+
+RDEPEND="
+ dev-perl/libwww-perl
+ flac? ( media-libs/flac )
+ mp3? (
+ dev-perl/MP3-Tag
+ media-sound/mp3info
+ )
+ ogg? ( media-sound/vorbis-tools )
+ readline? ( dev-perl/Term-ReadLine-Perl )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${P}"
+
+pkg_setup() {
+ mylltagopts=(
+ DESTDIR="${D}"
+ PREFIX=/usr
+ SYSCONFDIR=/etc
+ MANDIR=/usr/share/man
+ PERL_INSTALLDIRS=vendor
+ DOCDIR=/usr/share/doc/${PF}
+ )
+}
+
+src_compile() {
+ emake "${mylltagopts[@]}"
+}
+
+src_install() {
+ emake "${mylltagopts[@]}" install{,-doc,-man}
+ dodoc Changes
+ perl_delete_localpod
+ # Move config to recommended location
+ mv "${D}/usr/share/doc/${PF}"/config "${D}"/etc/lltag/ || die
+}