summaryrefslogtreecommitdiff
blob: c6a304b79373bab9121119d49fe8d800597fb4be (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
29
30
31
32
33
34
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="A perl script to convert MP3 files to Ogg Vorbis files"
HOMEPAGE="http://faceprint.com/code/"
SRC_URI="ftp://ftp.faceprint.com/pub/software/scripts/mp32ogg"
S="${WORKDIR}"

LICENSE="Artistic"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="
	dev-perl/MP3-Info
	dev-perl/String-ShellQuote
	media-sound/mpg123
	media-sound/vorbis-tools"

PATCHES=(
	"${FILESDIR}"/${P}-r4-mpg321.patch
	"${FILESDIR}"/${P}-r4-quality.patch
	"${FILESDIR}"/${P}-r5-german_umlaut.patch
	"${FILESDIR}"/${P}-r6-force-filename-stringification.patch
)

src_unpack() {
	cp -f "${DISTDIR}"/${PN} "${WORKDIR}" || die "Copying sources failed"
}

src_install() {
	dobin mp32ogg
}