summaryrefslogtreecommitdiff
path: root/app-accessibility/powiedz
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility/powiedz')
-rw-r--r--app-accessibility/powiedz/Manifest7
-rw-r--r--app-accessibility/powiedz/files/powiedz-dsp-handle-fix.patch13
-rw-r--r--app-accessibility/powiedz/files/powiedz.desktop8
-rw-r--r--app-accessibility/powiedz/metadata.xml12
-rw-r--r--app-accessibility/powiedz/powiedz-1.0-r2.ebuild30
5 files changed, 70 insertions, 0 deletions
diff --git a/app-accessibility/powiedz/Manifest b/app-accessibility/powiedz/Manifest
new file mode 100644
index 000000000000..4e6698f16f59
--- /dev/null
+++ b/app-accessibility/powiedz/Manifest
@@ -0,0 +1,7 @@
+AUX powiedz-dsp-handle-fix.patch 427 SHA256 f6c92d9d71aced1897046cbf94f4515d9c176ab38d029d8cb37efe7795a24da9 SHA512 19f91e6f5c18ca0a63ce949d868b35594b781b0b7585c843de2f4d74aa303ee9b4cd8a72f514b419e1ffcb188747ac53d4b44c8ef9814241755f42b52f8492d8 WHIRLPOOL ecb5ca0430500c3a3d41bfd01043d2d4e3963e1742c54736397fc5339a5cb0710c7c4b94b4196d5da1ec20355ff0d24503fd66febe6d3729f1e8981a7d7a594c
+AUX powiedz.desktop 171 SHA256 d5d8dce7555cba7e21bd49b5fa1a2ed8039b270021ac36aad43f14b44e402421 SHA512 9f3be0578e15ce176edead31ba24c5576614689f9ede473a485c5478f0ad823f21bf411bd13f95799c042f31878aa91f246e9150ebaf299c28ad44d022ad72c0 WHIRLPOOL a0fc008da180676cb454976514e1d45bcbb69711f3a437591cf42227456155ae432dfc3cffc03407da498366d2a11d767f0d5826d7468ab2a6073d885b2393dc
+DIST powiedz-1.0.tgz 68672 SHA256 cd13de1b45c8dae8046b3bb522a0bbf6416d3205d74091e2995bd6c9a9834b5c SHA512 1a572ead0c6358b52ef4b5efc66dd633b2c7cb35c97bc911ce46f54fd84f626ca73b4be9951fb48688abaac4fab41f0a5087dbd89fecc91fc9e42f944e188eb3 WHIRLPOOL 2fde99fd75cfbc3ea82596aa3f43a580ea6a0c625dbf3ce78b3cb333467d36c6b56d49e5858fc4630428d0f7e5b6d0fb3810a4b3200b9d691c476d3e14ccddf8
+EBUILD powiedz-1.0-r2.ebuild 647 SHA256 88b00be91dcfd1d6776d97873d18f97c47f9805676934abf0358fb237dec360e SHA512 d3540542b2959fd388e977b9ea6bd6917e6a96ee33e4d7fa8fe069fd1b10dc09f16fcdbc15fb2a2cd719648a36d4e851dffbc501972d86e136ba662dab427dad WHIRLPOOL 30c336d6611cd6b938eb2a510a174128564851b4f68fb53bd1f5290dc52a27b38c277d4f62adda89553277fd46000da610418e7ceef388bfb270779bc0f080eb
+MISC ChangeLog 2501 SHA256 3489dfce3d263f64329148fe09b197e956cce1d23b7900dd7bcf99f910067b84 SHA512 168be89abfb97879507f6616170daf8e757a5ea39c65559ea12476df9193f40ef2672f7de8ce77013d85f14d911a49d4a63d462b76ced801d946c79788ca0bdb WHIRLPOOL 8d975a2d337a5428318248657ae28aaca6a347d0e5f56e0a30320d241c07bde7f999e19b730201624027f2b033fae1126c3884922089c7718bb1175bb7c4ec81
+MISC ChangeLog-2015 2543 SHA256 11d0ef9b90e9de60bce3ea475b3d96a97f87c7a7a29e66681672970fc6ce8582 SHA512 dfd6d0dc7589f10d2203050ef1b3f97e3e301ab057c5fd302019cb33ddd2dd1c49a33c023f895889c68fdaf4146e30651116d59b8cc79d6629f597d6c5e08f58 WHIRLPOOL 0fa1aee7ed5f65e7117139691520cf3a20a957b8b6ace197bfcc13caa405f4397c9768d722d3c389470cb32bcc612ddaa8525251976fdbbcf54eb27ea71e2aa0
+MISC metadata.xml 393 SHA256 fd8b3db52786aa051b4743609048dd788f9ba4da0f050cd60265c7b769123c1b SHA512 e667c596590296dc51b7125efdc97da72a5e4c4d7e83469b1fa0975f066fb3c78ce4dc91032f3401e01fa107e1f3fec165c9adbe9572aa3163f2dcb7380fc116 WHIRLPOOL 2c54847578dbd60fd987d4b8c3bc1cfe270a3b3ab9b3849f9bc7cb9273da0d2cb76a45f68122f09e5b4024efdc27cc1591171c111f81216d5f8872555af5132d
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..2ea1c4820f69
--- /dev/null
+++ b/app-accessibility/powiedz/files/powiedz.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Powiedz
+Comment=Polish speak synthesizer
+Comment[pl]=Polski syntezator mowy
+Exec=powiedz
+Type=Application
+Terminal=false
+Categories=AudioVideo;Audio;
diff --git a/app-accessibility/powiedz/metadata.xml b/app-accessibility/powiedz/metadata.xml
new file mode 100644
index 000000000000..2cb7080a0514
--- /dev/null
+++ b/app-accessibility/powiedz/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+ </maintainer>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/powiedz/powiedz-1.0-r2.ebuild b/app-accessibility/powiedz/powiedz-1.0-r2.ebuild
new file mode 100644
index 000000000000..1a1157f50c2c
--- /dev/null
+++ b/app-accessibility/powiedz/powiedz-1.0-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Polish speech 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="amd64 ppc ~sparc x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-dsp-handle-fix.patch
+}
+
+src_compile() {
+ emake -f Makefile_plain LDLIBS="-lm" CFLAGS="${CFLAGS}" DEFS="" CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin powiedz
+ domenu "${FILESDIR}"/${PN}.desktop
+}