Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 313943
Collapse All | Expand All

(-)dir2ogg.orig/dir2ogg-0.11.8-r1.ebuild (-6 / +12 lines)
Lines 2-10 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/dir2ogg/dir2ogg-0.11.8-r1.ebuild,v 1.1 2010/10/10 06:04:30 radhermit Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/dir2ogg/dir2ogg-0.11.8-r1.ebuild,v 1.1 2010/10/10 06:04:30 radhermit Exp $
4
4
5
EAPI=2
5
EAPI=4
6
inherit versionator
6
inherit versionator python
7
7
PYTHON_DEPEND="2:2.5"
8
MY_PR=$(get_version_component_range 1-2)
8
MY_PR=$(get_version_component_range 1-2)
9
9
10
DESCRIPTION="Converts mp3, m4a, wma, and wav files to Ogg Vorbis format."
10
DESCRIPTION="Converts mp3, m4a, wma, and wav files to Ogg Vorbis format."
Lines 16-23 Link Here
16
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
17
IUSE="aac cdparanoia flac mac mp3 musepack wavpack wma"
17
IUSE="aac cdparanoia flac mac mp3 musepack wavpack wma"
18
18
19
RDEPEND=">=dev-lang/python-2.5
19
RDEPEND="dev-python/pyid3lib
20
	dev-python/pyid3lib
21
	media-sound/vorbis-tools[ogg123]
20
	media-sound/vorbis-tools[ogg123]
22
	>=media-libs/mutagen-1.11
21
	>=media-libs/mutagen-1.11
23
	aac? ( || ( media-libs/faad2
22
	aac? ( || ( media-libs/faad2
Lines 38-45 Link Here
38
	wma? ( media-video/mplayer )"
37
	wma? ( media-video/mplayer )"
39
DEPEND=""
38
DEPEND=""
40
39
40
pkg_setup() {
41
	python_set_active_version 2
42
	python_pkg_setup
43
}
44
41
src_install() {
45
src_install() {
42
	dobin dir2ogg || die
46
	dobin dir2ogg
43
	doman dir2ogg.1
47
	doman dir2ogg.1
44
	dodoc NEWS README
48
	dodoc NEWS README
49
50
	python_convert_shebangs 2 "${ED}"/usr/bin/dir2ogg
45
}
51
}

Return to bug 313943