Skip to content

Commit

Permalink
app-accessibility/eflite: revision bump for /sbin/openrc-run migration
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
RepoMan-Options: --force
  • Loading branch information
williamh committed May 6, 2016
1 parent 13db339 commit c455513
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
46 changes: 46 additions & 0 deletions app-accessibility/eflite/eflite-0.4.1-r3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"
inherit autotools eutils user

DESCRIPTION="A speech server that allows emacspeak and other screen readers to interact with festival lite"
HOMEPAGE="http://eflite.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
IUSE="+16k_voice"

DEPEND=">=app-accessibility/flite-1.4"
RDEPEND="${DEPEND}"

src_prepare() {
sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' *
epatch "${FILESDIR}"/${PN}-0.4.1-flite14.patch
eautoreconf
}

src_configure() {
local myconf
if use 16k_voice; then
myconf='--with-vox=cmu_us_kal16'
fi
econf ${myconf}
}

src_install() {
einstall
dodoc ChangeLog README INSTALL eflite_test.txt

insinto /etc/eflite
doins "${FILESDIR}"/es.conf

newinitd "${FILESDIR}"/eflite.rc eflite
}

pkg_postinst() {
enewgroup speech
}
2 changes: 1 addition & 1 deletion app-accessibility/eflite/files/eflite.rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/sbin/runscript
#!/sbin/openrc-run
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
Expand Down

0 comments on commit c455513

Please sign in to comment.