Magellan Linux

Diff of /trunk/extras/speech-dispatcher/speech-dispatcher-0.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 17578 by niro, Fri Jun 21 14:17:10 2013 UTC revision 17579 by niro, Fri Jun 21 14:19:30 2013 UTC
# Line 18  DEPEND=">= dev-libs/glib2-2.36 Line 18  DEPEND=">= dev-libs/glib2-2.36
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}"
# Line 45  src_compile() Line 46  src_compile()
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 \
# Line 59  src_compile() Line 61  src_compile()
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()
# Line 68  src_install() Line 70  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"/' \

Legend:
Removed from v.17578  
changed lines
  Added in v.17579