From: "Jesus Rivero (neurogeek)" <neurogeek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/festival: ChangeLog festival-2.1.ebuild
Date: Wed, 16 Mar 2011 22:43:05 +0000 (UTC) [thread overview]
Message-ID: <20110316224305.2D16A20057@flycatcher.gentoo.org> (raw)
neurogeek 11/03/16 22:43:05
Modified: ChangeLog
Added: festival-2.1.ebuild
Log:
Version bump. Closes bug #340317 and #357381.
(Portage version: 2.2.0_alpha9/cvs/Linux i686)
Revision Changes Path
1.93 app-accessibility/festival/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/festival/ChangeLog?rev=1.93&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/festival/ChangeLog?rev=1.93&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/festival/ChangeLog?r1=1.92&r2=1.93
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- ChangeLog 4 Mar 2011 20:12:51 -0000 1.92
+++ ChangeLog 16 Mar 2011 22:43:05 -0000 1.93
@@ -1,6 +1,13 @@
# ChangeLog for app-accessibility/festival
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.92 2011/03/04 20:12:51 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.93 2011/03/16 22:43:05 neurogeek Exp $
+
+*festival-2.1 (16 Mar 2011)
+
+ 16 Mar 2011; Jesus Rivero <neurogeek@gentoo.org> +festival-2.1.ebuild,
+ +files/festival-2.1-gentoo-system.patch,
+ +files/festival-2.1-init-scm.patch, +files/festival-2.1-ldflags.patch:
+ Version bump. Closes bug #340317 and #357381.
04 Mar 2011; William Hubbs <williamh@gentoo.org> festival-1.96_beta.ebuild,
festival-1.96_beta-r1.ebuild, festival-2.0.95_beta.ebuild:
1.1 app-accessibility/festival/festival-2.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/festival/festival-2.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/festival/festival-2.1.ebuild?rev=1.1&content-type=text/plain
Index: festival-2.1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-2.1.ebuild,v 1.1 2011/03/16 22:43:05 neurogeek Exp $
EAPI="2"
inherit eutils toolchain-funcs
MY_PV="${PV}-release"
MY_P=${PN}-${MY_PV}
DESCRIPTION="Festival Text to Speech engine"
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/festival/"
SITE="http://www.festvox.org/packed/${PN}/${PV}"
SRC_URI="${SITE}/${MY_P}.tar.gz
${SITE}/festlex_CMU.tar.gz
${SITE}/festlex_OALD.tar.gz
${SITE}/festlex_POSLEX.tar.gz
${SITE}/festvox_cmu_us_awb_cg.tar.gz
${SITE}/festvox_cmu_us_rms_cg.tar.gz
${SITE}/festvox_cmu_us_slt_arctic_hts.tar.gz
${SITE}/festvox_rablpc16k.tar.gz
${SITE}/festvox_kallpc16k.tar.gz
${SITE}/speech_tools-${MY_PV}.tar.gz"
LICENSE="FESTIVAL BSD as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND="~app-accessibility/speech-tools-2.1"
RDEPEND="${DEPEND}"
S=${WORKDIR}/festival
pkg_setup() {
enewuser festival -1 -1 -1 audio
}
src_prepare() {
# tell festival to use the speech-tools we have installed.
sed -i -e "s:\(EST=\).*:\1/usr/share/speech-tools:" "${S}"/config/config.in
sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak
# fix the reference to /usr/lib/festival
sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1/usr/share/festival:" "${S}"/config/project.mak
# Fix path for examples in festival.scm
sed -i -e "s:\.\./examples/:/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm
epatch "${FILESDIR}/${P}-ldflags.patch"
epatch "${FILESDIR}/${P}-init-scm.patch"
epatch "${FILESDIR}/${P}-gentoo-system.patch"
# copy what we need for MultiSyn from speech_tools.
cp -pr "${WORKDIR}"/speech_tools/base_class "${S}"/src/modules/MultiSyn
}
src_configure() {
econf || die "econf failed"
}
src_compile() {
emake -j1 PROJECT_LIBDEPS="" REQUIRED_LIBDEPS="" LOCAL_LIBDEPS="" \
OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" \
LDFLAGS=${LDFLAGS} \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed"
}
src_install() {
# Install the binaries
dobin src/main/festival
dobin lib/etc/*Linux*/audsp
dolib.a src/lib/libFestival.a
# Install the main libraries
insinto /usr/share/festival
doins -r lib/*
# Install the examples
insinto /usr/share/doc/${PF}
doins -r examples
# Need to fix saytime, etc. to look for festival in the correct spot
for ex in "${D}"/usr/share/doc/${PF}/examples/*.sh; do
exnoext=${ex%%.sh}
chmod a+x "${exnoext}"
dosed "s:${S}/bin/festival:/usr/bin/festival:" "${exnoext##$D}"
done
# Install the header files
insinto /usr/include/festival
doins src/include/*.h
insinto /etc/festival
doins lib/site*
# Install the docs
dodoc "${S}"/{ACKNOWLEDGMENTS,NEWS,README}
doman "${S}"/doc/{festival.1,festival_client.1}
# create the directory where our log file will go.
diropts -m 0755 -o festival -g audio
keepdir /var/log/festival
}
pkg_postinst() {
elog
elog " Useful examples include saytime, text2wave. For example, try:"
elog " \"/usr/share/doc/${PF}/examples/saytime\""
elog
elog " Or for something more fun:"
elog ' "echo "Gentoo can speak" | festival --tts"'
elog
elog "This version also allows configuration of site specific"
elog "initialization in /etc/festival/siteinit.scm and"
elog "variables in /etc/festival/sitevars.scm."
elog
}
next reply other threads:[~2011-03-16 22:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 22:43 Jesus Rivero (neurogeek) [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-17 21:01 [gentoo-commits] gentoo-x86 commit in app-accessibility/festival: ChangeLog festival-2.1.ebuild Jesus Rivero (neurogeek)
2011-03-22 13:36 Jesus Rivero (neurogeek)
2011-08-26 19:39 Jesus Rivero (neurogeek)
2011-08-27 10:02 Markos Chandras (hwoarang)
2011-09-01 16:32 Jeroen Roovers (jer)
2011-09-04 13:48 Markus Meier (maekke)
2011-09-24 16:37 Raul Porcel (armin76)
2011-12-29 22:12 Mark Loeser (halcy0n)
2012-04-17 13:22 Jesus Rivero (neurogeek)
2015-06-09 12:50 Manuel Rueger (mrueg)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110316224305.2D16A20057@flycatcher.gentoo.org \
--to=neurogeek@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox