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 | 951632e082db9c3809920ae62535e7ffd1963985 (patch) | |
tree | 5a97e532b535f72772218fdec325d8d959a54c45 /app-accessibility/powiedz | |
parent | version bump (diff) | |
download | historical-951632e082db9c3809920ae62535e7ffd1963985.tar.gz historical-951632e082db9c3809920ae62535e7ffd1963985.tar.bz2 historical-951632e082db9c3809920ae62535e7ffd1963985.zip |
Initial commit.
Diffstat (limited to 'app-accessibility/powiedz')
-rw-r--r-- | app-accessibility/powiedz/ChangeLog | 12 | ||||
-rw-r--r-- | app-accessibility/powiedz/Manifest | 6 | ||||
-rw-r--r-- | app-accessibility/powiedz/files/digest-powiedz-1.0 | 1 | ||||
-rw-r--r-- | app-accessibility/powiedz/files/powiedz-dsp-handle-fix.patch | 13 | ||||
-rw-r--r-- | app-accessibility/powiedz/files/powiedz.desktop | 9 | ||||
-rw-r--r-- | app-accessibility/powiedz/metadata.xml | 9 | ||||
-rw-r--r-- | app-accessibility/powiedz/powiedz-1.0.ebuild | 50 |
7 files changed, 100 insertions, 0 deletions
diff --git a/app-accessibility/powiedz/ChangeLog b/app-accessibility/powiedz/ChangeLog new file mode 100644 index 000000000000..d3661d6a6cac --- /dev/null +++ b/app-accessibility/powiedz/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-accessibility/powiedz +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/powiedz/ChangeLog,v 1.1 2004/07/09 11:17:02 spock Exp $ + +*powiedz-1.0 (09 Jul 2004) + + 09 Jul 2004; Michal Januszewski <spock@gentoo.org> + +files/powiedz-dsp-handle-fix.patch, +files/powiedz.desktop, + +powiedz-1.0.ebuild: + Initial commit, ebuild submitted by Przemyslaw Maciag <p_maciag@wp.pl> in bug + #54572. Thanks! + diff --git a/app-accessibility/powiedz/Manifest b/app-accessibility/powiedz/Manifest new file mode 100644 index 000000000000..ff27b44f03ce --- /dev/null +++ b/app-accessibility/powiedz/Manifest @@ -0,0 +1,6 @@ +MD5 cebedae1bd82431d6eedfca17cdcb3fb powiedz-1.0.ebuild 1128 +MD5 ac93aae78fd69f0204652633c096b8f8 ChangeLog 488 +MD5 9561bdfabc1befe49c8b99cc6bacae06 metadata.xml 246 +MD5 4526d1e4265ddf9722695c2191433c44 files/digest-powiedz-1.0 59 +MD5 9b506e78c6b39860f012c53dbfd10713 files/powiedz.desktop 183 +MD5 d8c4b3e5bbece9797135eceff7b91715 files/powiedz-dsp-handle-fix.patch 427 diff --git a/app-accessibility/powiedz/files/digest-powiedz-1.0 b/app-accessibility/powiedz/files/digest-powiedz-1.0 new file mode 100644 index 000000000000..2389497d4b3c --- /dev/null +++ b/app-accessibility/powiedz/files/digest-powiedz-1.0 @@ -0,0 +1 @@ +MD5 e41665cc88c096473d48ff2fd32c4646 powiedz-1.0.tgz 68672 diff --git a/app-accessibility/powiedz/files/powiedz-dsp-handle-fix.patch b/app-accessibility/powiedz/files/powiedz-dsp-handle-fix.patch new file mode 100644 index 000000000000..f18761aff89e --- /dev/null +++ b/app-accessibility/powiedz/files/powiedz-dsp-handle-fix.patch @@ -0,0 +1,13 @@ +diff -urN aaa/powiedz/aufile.c powiedz/aufile.c +--- aaa/powiedz/aufile.c 2003-08-30 20:57:37.000000000 +0200 ++++ powiedz/aufile.c 2003-08-31 14:02:42.000000000 +0200 +@@ -217,8 +217,7 @@ + audio_open(int samp_rate,int disp) + { + int i; +-// esd_fd = open(dev_file, O_WRONLY | O_NDELAY); +- esd_fd = open(audio_dsp, O_WRONLY); ++ esd_fd = open(audio_dsp, O_WRONLY | O_NDELAY); + if (esd_fd < 0) + { + if (disp) perror(audio_dsp); diff --git a/app-accessibility/powiedz/files/powiedz.desktop b/app-accessibility/powiedz/files/powiedz.desktop new file mode 100644 index 000000000000..13aca56ecf36 --- /dev/null +++ b/app-accessibility/powiedz/files/powiedz.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Powiedz +Comment=Polish speak synthesizer +Comment[pl]=Polski syntezator mowy +Exec=powiedz +Type=Application +Encoding=UTF-8 +Terminal=0 +Categories=Application;Audio; diff --git a/app-accessibility/powiedz/metadata.xml b/app-accessibility/powiedz/metadata.xml new file mode 100644 index 000000000000..c5e95f0f5075 --- /dev/null +++ b/app-accessibility/powiedz/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>accessibility</herd> +<herd>sound</herd> +<maintainer> + <email>spock@gentoo.org</email> +</maintainer> +</pkgmetadata> 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 +} |