diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-07-09 11:17:02 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-07-09 11:17:02 +0000 |
commit | 9ad44062598754de0d6ceb5727c0874fdba36fa6 (patch) | |
tree | 6344609276e740b19230e4e90d51173448a417eb /app-accessibility/powiedz/powiedz-1.0.ebuild | |
parent | version bump (Manifest recommit) (diff) | |
download | gentoo-2-9ad44062598754de0d6ceb5727c0874fdba36fa6.tar.gz gentoo-2-9ad44062598754de0d6ceb5727c0874fdba36fa6.tar.bz2 gentoo-2-9ad44062598754de0d6ceb5727c0874fdba36fa6.zip |
Initial commit.
Diffstat (limited to 'app-accessibility/powiedz/powiedz-1.0.ebuild')
-rw-r--r-- | app-accessibility/powiedz/powiedz-1.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-accessibility/powiedz/powiedz-1.0.ebuild b/app-accessibility/powiedz/powiedz-1.0.ebuild new file mode 100644 index 000000000000..e542aec85fac --- /dev/null +++ b/app-accessibility/powiedz/powiedz-1.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/powiedz/powiedz-1.0.ebuild,v 1.1 2004/07/09 11:17:02 spock Exp $ + +inherit eutils + +IUSE="arts esd" + +DESCRIPTION="Polish speak synthesizer based on rsynth" +HOMEPAGE="http://kadu.net/index.php?page=download&lang=en" +SRC_URI="http://kadu.net/download/additions/powiedz-1.0.tgz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="esd? ( media-sound/esound ) + arts? ( kde-base/arts )" + +S=${WORKDIR}/${PN} + +src_compile() { + cflags=${CFLAGS} + + if use esd; then + ldlibs="${ldlibs} -lesd" + defs="${defs} -DUSE_ESD=1" + fi + + if use arts; then + ldlibs="${ldlibs} `artsc-config --libs`" + defs="${defs} -DUSE_ARTS=1" + cflags="${cflags} `artsc-config --cflags`" + fi + + cd ${S} + + epatch ${FILESDIR}/${PN}-dsp-handle-fix.patch || die "patching failed" + emake -f Makefile_plain LDLIBS="${ldlibs}" CFLAGS="${cflags}" DEFS="${defs}" || die "make failed" +} + +src_install() { + cd ${S} + + exeinto /usr/bin + doexe powiedz + + insinto /usr/share/applications + doins ${FILESDIR}/${PN}.desktop +} |