You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
980 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/dir2ogg/dir2ogg-0.11.6.ebuild,v 1.6 2014/08/10 21:05:20 slyfox Exp $
inherit versionator
MY_PR=$(get_version_component_range 1-2)
DESCRIPTION="Converts mp3, m4a, wma, and wav files to Ogg Vorbis format"
HOMEPAGE="http://jak-linux.org/projects/dir2ogg/"
SRC_URI="http://jak-linux.org/projects/${PN}/${MY_PR}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE="aac cdparanoia mp3 wma"
DEPEND=""
RDEPEND="dev-lang/python
dev-python/pyid3lib
media-sound/vorbis-tools
>=media-libs/mutagen-1.11
aac? ( media-libs/faad2 media-video/mplayer )
cdparanoia? ( media-sound/cdparanoia )
mp3? ( || ( media-sound/lame
media-sound/mpg123
media-sound/mpg321
media-video/mplayer ) )
wma? ( media-video/mplayer )"
src_install() {
dobin ${PN} || die "dobin failed."
doman ${PN}.1
dodoc NEWS README
}