Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 541766 | Differences between
and this patch

Collapse All | Expand All

(-)jack-3.1.1.ebuild (-23 / +25 lines)
Lines 1-11 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2015 Gentoo Foundation
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/jack/jack-3.1.1.ebuild,v 1.8 2010/05/28 21:08:01 arfrever Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/jack/jack-3.1.1-r1.ebuild,v 1.6 2013/03/31 09:57:43 ago Exp $
4
4
5
EAPI="3"
5
EAPI=5
6
PYTHON_DEPEND="2"
7
6
8
inherit distutils
7
PYTHON_COMPAT=( python2_7 )
8
DISTUTILS_SINGLE_IMPL=1
9
10
inherit distutils-r1
9
11
10
DESCRIPTION="A frontend for several cd-rippers and mp3 encoders"
12
DESCRIPTION="A frontend for several cd-rippers and mp3 encoders"
11
HOMEPAGE="http://www.home.unix-ag.org/arne/jack/"
13
HOMEPAGE="http://www.home.unix-ag.org/arne/jack/"
Lines 13-48 Link Here
13
15
14
LICENSE="GPL-2"
16
LICENSE="GPL-2"
15
SLOT="0"
17
SLOT="0"
16
KEYWORDS="amd64 ppc ppc64 sparc x86"
18
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
17
IUSE=""
19
IUSE=""
18
20
19
DEPEND="sys-libs/ncurses"
21
DEPEND="sys-libs/ncurses"
20
RDEPEND="${DEPEND}
22
RDEPEND="${DEPEND}
21
	dev-python/cddb-py
23
	dev-python/cddb-py[${PYTHON_USEDEP}]
22
	dev-python/id3-py
24
	dev-python/id3-py[${PYTHON_USEDEP}]
23
	dev-python/pyid3lib
25
	dev-python/pyid3lib[${PYTHON_USEDEP}]
24
	dev-python/pyvorbis
26
	dev-python/pyvorbis[${PYTHON_USEDEP}]
25
	media-libs/flac
27
	media-libs/flac
26
	media-sound/lame
28
	media-sound/lame
27
	media-sound/cdparanoia"
29
	media-sound/cdparanoia"
28
30
31
PATCHES=( "${FILESDIR}"/${PN}-3.0.0-python26.patch )
32
CFLAGS="${CFLAGS} -fno-strict-aliasing"
33
29
pkg_setup() {
34
pkg_setup() {
30
	python_set_active_version 2
35
	python-single-r1_pkg_setup
31
	python_pkg_setup
32
}
36
}
33
37
34
src_install() {
38
src_prepare() {
35
	distutils_src_install
39
	python_fix_shebang .
36
40
	distutils-r1_src_prepare
37
	dobin jack || die "dobin failed"
41
}
38
42
39
	insinto $(python_get_sitedir)
43
src_install() {
40
	PYTHON_MODNAME="$(ls jack_*.py)"
44
	local DOCS=( README doc/ChangeLog doc/TODO )
41
	doins ${PYTHON_MODNAME}
45
	local HTML_DOCS=( doc/. )
46
	distutils-r1_src_install
42
47
43
	newman jack.man jack.1
48
	newman jack.man jack.1
44
49
	python_doscript jack
45
	dodoc README doc/ChangeLog doc/TODO
46
47
	dohtml doc/*html doc/*css doc/*gif
48
}
50
}

Return to bug 541766