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

Collapse All | Expand All

(-)/usr/portage/media-sound/alsa-tools/alsa-tools-1.0.10.ebuild (-2 / +10 lines)
Lines 13-24 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0.9"
14
SLOT="0.9"
15
KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
15
KEYWORDS="amd64 ~mips ppc ppc64 sparc x86"
16
IUSE="fltk gtk"
16
IUSE="fltk gtk gtk2"
17
17
18
DEPEND=">=media-libs/alsa-lib-1.0.0
18
DEPEND=">=media-libs/alsa-lib-1.0.0
19
	virtual/alsa
19
	virtual/alsa
20
	fltk? ( =x11-libs/fltk-1.1* )
20
	fltk? ( =x11-libs/fltk-1.1* )
21
	gtk? ( =x11-libs/gtk+-1.2* )"
21
	gtk? ( =x11-libs/gtk+-1.2* )
22
	gtk2? ( >=x11-libs/gtk+-2.6* )"
22
23
23
S="${WORKDIR}/${MY_P}"
24
S="${WORKDIR}/${MY_P}"
24
25
Lines 46-51 Link Here
46
			ALSA_TOOLS="${ALSA_TOOLS} echomixer envy24control rmedigicontrol"
47
			ALSA_TOOLS="${ALSA_TOOLS} echomixer envy24control rmedigicontrol"
47
		fi
48
		fi
48
49
50
		if use gtk2; then
51
			ALSA_TOOLS="${ALSA_TOOLS} envy24control"
52
		fi
53
49
		# sb16_csp won't build on ppc64 _AND_ ppc (and is not needed)
54
		# sb16_csp won't build on ppc64 _AND_ ppc (and is not needed)
50
		if  use !ppc64 && use !ppc; then
55
		if  use !ppc64 && use !ppc; then
51
			ALSA_TOOLS="${ALSA_TOOLS} sb16_csp"
56
			ALSA_TOOLS="${ALSA_TOOLS} sb16_csp"
Lines 57-62 Link Here
57
src_unpack() {
62
src_unpack() {
58
	unpack ${A}
63
	unpack ${A}
59
	cd ${S}
64
	cd ${S}
65
	if use gtk2; then
66
		epatch ${FILESDIR}/envy24control-gtk2.patch
67
	fi
60
	gnuconfig_update
68
	gnuconfig_update
61
}
69
}
62
70

Return to bug 119478