18 |
>= media-sound/libpulse-3.0" |
>= media-sound/libpulse-3.0" |
19 |
|
|
20 |
SDEPEND=">= virtual/sed" |
SDEPEND=">= virtual/sed" |
21 |
|
# >= dev-lang/python-2.7 |
22 |
|
|
23 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
24 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
46 |
{ |
{ |
47 |
cd ${SRCDIR} |
cd ${SRCDIR} |
48 |
|
|
49 |
|
# python bindings require python3 |
50 |
mconfigure \ |
mconfigure \ |
51 |
--disable-static \ |
--disable-static \ |
52 |
--enable-python \ |
--disable-python \ |
53 |
--with-alsa \ |
--with-alsa \ |
54 |
--with-pulse \ |
--with-pulse \ |
55 |
--with-libao \ |
--with-libao \ |
61 |
mmake || die |
mmake || die |
62 |
|
|
63 |
# python modules |
# python modules |
64 |
cd ${SRCDIR}/src/python |
# cd ${SRCDIR}/src/python |
65 |
python_docompile || die |
# python_docompile || die |
66 |
} |
} |
67 |
|
|
68 |
src_install() |
src_install() |
70 |
cd ${SRCDIR} |
cd ${SRCDIR} |
71 |
mmake DESTDIR=${BINDIR} install || die |
mmake DESTDIR=${BINDIR} install || die |
72 |
|
|
73 |
cd ${SRCDIR}/src/python |
# cd ${SRCDIR}/src/python |
74 |
python_doinstall || die |
# python_doinstall || die |
75 |
|
|
76 |
# disable espeak, flite is already disabled by upstream |
# disable espeak, flite is already disabled by upstream |
77 |
sed -i 's/^AddModule "espeak"/#AddModule "espeak"/' \ |
sed -i 's/^AddModule "espeak"/#AddModule "espeak"/' \ |