Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100377 Details for
Bug 152652
app-accessibility/festival franfest module
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
speech-tools-1.2.95_beta-r2.ebuild
speech-tools-1.2.95_beta-r2.ebuild (text/plain), 4.89 KB, created by
Jimmy.Jazz
on 2006-10-24 05:35:16 UTC
(
hide
)
Description:
speech-tools-1.2.95_beta-r2.ebuild
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2006-10-24 05:35:16 UTC
Size:
4.89 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-1.2.3-r3.ebuild,v 1.5 2005/08/24 07:41:21 flameeyes Exp $ > >IUSE="doc esd X shared mplayer wrappers debug nas" > >inherit eutils fixheadtails toolchain-funcs > >MY_P=${P/speech-/speech_} >MY_P=${MY_P/_beta/-beta} > >DESCRIPTION="Speech tools for Festival Text to Speech engine" >HOMEPAGE="http://www.cstr.ed.ac.uk/" >CSTR="http://www.cstr.ed.ac.uk/download/festival/1.95" >SRC_URI="${CSTR}/${MY_P}.tar.gz" > >LICENSE="FESTIVAL BSD as-is" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" > >RDEPEND="sys-libs/ncurses" >DEPEND="${RDEPEND} > app-arch/cpio > sys-apps/findutils > mplayer? (media-video/mplayer) > esd? (media-sound/esound) > dev-lang/swig > X? ( > x11-libs/libX11 > x11-libs/libXt ) > !<app-accessibility/festival-1.95_beta > >=sys-apps/sed-4" > >S="${WORKDIR}/speech_tools" > >src_unpack() { > unpack ${A} > > # set the compiler flags. > sed -i -e 's:-O3:$(OPTIMISE_CXXFLAGS):' ${S}/base_class/Makefile > > # Compile fix for #41329. > sed -i -e 's/-fpic/-fPIC/' ${S}/config/compilers/gcc_defaults.mak > > # gcc 4.1 compatibility patches > epatch ${FILESDIR}/${P}-gcc41.patch > epatch ${FILESDIR}/${P}-gcc41-amd64.patch > epatch ${FILESDIR}/${P}-gcc41-amd64-int-pointer.patch > > sed -i -e '/JAVAFLAGS = -depend/d' ${S}/config/compilers/jdk.mak > sed -i -e '/JAVAFLAGS = -depend/d' ${S}/config/compilers/jikes.mak > > einfo "Gentoo integration" > epatch ${FILESDIR}/${P}-system.patch > > cp -f ${FILESDIR}/x86_64_GentooLinux2.6.mak ${S}/config/systems/ > cp -f ${FILESDIR}/GentooLinux.mak ${S}/config/systems/ > (cd ${S}/config/systems && ln -s x86_64_GentooLinux2.6.mak ix86_GentooLinux2.6.mak ) > > if use wrappers; then > sed -i -e 's/#\(INCLUDE_MODULES += WRAPPERS\)/\1/' ${S}/config/config.in > sed -i -e 's/#\(CONFIG_WRAPPER_LANGUAGES = PYTHON PERL5\)/\1/' ${S}/config/config.in > sed -i -e 's~#\(CONFIG_SWIG_COMPILER = /usr/bin/swig\)~\1~' ${S}/config/config.in > sed -i -e '/^SWIG_COMMAND/s/-c/-noruntime/' ${S}/wrappers/python/Makefile > sed -i -e '/^SWIG_COMMAND/s/-c/-noruntime/' ${S}/wrappers/perl5/Makefile > > PYTHON_VERSION="`$(which python) --version 2>&1 | cut -d" " -f2`" > > echo "CONFIG_PYTHON_INCLUDES= -I/usr/include/python${PYTHON_VERSION}/" >> ${S}/config/config.in > > PERL_VERSION=$(which perl) -v | sed -n -e "s@This is perl, v\([^ ]*\) built.*@\1@p" > echo "CONFIG_PERL_INCLUDES= -I/usr/lib/perl5/${PERL_VERSION}/x86_64-linux-thread-multi/CORE/" >> ${S}/config/config.in > fi > use shared && sed -i -e 's/# \(SHARED=1\)/\1/' ${S}/config/config.in > use mplayer && sed -i -e 's/# \(INCLUDE_MODULES += MPLAYER_AUDIO\)/\1/' ${S}/config/config.in > use esd && sed -i -e 's/# \(INCLUDE_MODULES += ESD_AUDIO\)/\1/' ${S}/config/config.in > use X || sed -i -e 's/-lX11 -lXt//' ${S}/config/modules/esd_audio.mak > use nas && sed -i -e 's/# \(INCLUDE_MODULES += NAS_AUDIO\)/\1/' ${S}/config/config.in > use debug && sed -i -e 's/# \(DEBUG=1\)/\1/' ${S}/config/config.in > use debug && sed -i -e 's/# \(VERBOSE=1\)/\1/' ${S}/config/config.in > >} > >src_compile() { > cd ${S} > > econf || die > emake -j1 OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "Failed to compile" >} > >src_install() { > dolib.so ${S}/lib/{libestbase.so.1.2.95.1,libeststring.so.1.2} > dosym /usr/$(get_libdir)/libestbase.so.1.2.95.1 /usr/$(get_libdir)/libestbase.so > dosym /usr/$(get_libdir)/libeststring.so.1.2 /usr/$(get_libdir)/libeststring.so > dolib.a ${S}/lib/{libestbase.a,libestools.a,libeststring.a} > > cd ${S}/bin > for file in *; do > [ "${file}" = "Makefile" ] && continue > dobin ${file} > dstfile="/usr/bin/${file}" > dosed "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile} > dosed "s:${S}/bin:/usr/libexec/speech-tools:g" ${dstfile} > dosed "s:${S}/main:/usr/libexec/speech-tools:g" ${dstfile} > > # This just changes LD_LIBRARY_PATH > dosed "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} > done > > exeinto /usr/libexec/speech-tools > for file in `find ${S}/main -perm +100 -type f`; do > doexe ${file} > done > > insinto /usr/share/speech-tools/lib/siod > doins ${S}/lib/siod/* > > insinto /usr/share/doc/${PF}/example_data > doins ${S}/lib/example_data/* > > cd ${S} > #dosed "\TEMPLATE_SPECIFIC = -DINSTANTIATE_TEMPLATES\s:^/#/" config/compilers/gcc_defaults.mak > find config base_class -print | cpio -pmd ${D}/usr/share/speech-tools || die "Unable to install config files" > > dodir /usr/include/speech-tools > cd ${S}/include > find . -print | cpio -pmd ${D}/usr/include/speech-tools || die "Unable to install include files" > dosym /usr/include/speech-tools /usr/share/speech-tools/include > > chown -R root:0 ${D} > find ${D}/usr/share/speech-tools/config -type f | xargs sed -i -e 's/-ltermcap/-lncurses/g' > > doenvd ${FILESDIR}/58speech-tools > > dodoc ${S}/{README,INSTALL} > dodoc ${S}/lib/cstrutt.dtd > > use doc && dohtml -r ${WORKDIR}/festdoc/speech_tools/doc/* >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 152652
:
100361
|
100362
|
100363
|
100364
|
100365
|
100366
|
100367
|
100368
|
100369
|
100370
|
100371
|
100372
|
100373
|
100374
|
100375
|
100376
|
100377
|
100378
|
103484
|
121576
|
121578