|
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 67-72
Link Here
|
| 67 |
append-flags "-I/usr/include/fltk-1.1" |
72 |
append-flags "-I/usr/include/fltk-1.1" |
| 68 |
fi |
73 |
fi |
| 69 |
|
74 |
|
|
|
75 |
if use gtk2; then |
| 76 |
mv ${S}/envy24control/configure.in-gtk2 ${S}/envy24control/configure.in |
| 77 |
cd ${S}/envy24control |
| 78 |
autoreconf |
| 79 |
cd ${S} |
| 80 |
fi |
| 81 |
|
| 70 |
# hdspmixer is missing depconf - copy from the hdsploader directory |
82 |
# hdspmixer is missing depconf - copy from the hdsploader directory |
| 71 |
cp ${S}/hdsploader/depcomp ${S}/hdspmixer/ |
83 |
cp ${S}/hdsploader/depcomp ${S}/hdspmixer/ |
| 72 |
|
84 |
|