summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Brannon <teiresias@gentoo.org>2014-11-23 19:43:18 +0000
committerChristopher Brannon <teiresias@gentoo.org>2014-11-23 19:43:18 +0000
commit1e401e10ced78b4ac38b35b2a3b6622228d48a6e (patch)
tree20c1a948488b1f485125f8075c0243b40c09644f /app-accessibility/flite
parentInstall zsh-completion files unconditionally. (diff)
downloadgentoo-2-1e401e10ced78b4ac38b35b2a3b6622228d48a6e.tar.gz
gentoo-2-1e401e10ced78b4ac38b35b2a3b6622228d48a6e.tar.bz2
gentoo-2-1e401e10ced78b4ac38b35b2a3b6622228d48a6e.zip
Remove old versions from the tree, now that 1.4 is stable.
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x6521e06d)
Diffstat (limited to 'app-accessibility/flite')
-rw-r--r--app-accessibility/flite/ChangeLog11
-rw-r--r--app-accessibility/flite/files/const.patch14
-rw-r--r--app-accessibility/flite/files/flite-1.2-tempfile.patch50
-rw-r--r--app-accessibility/flite/files/flite-1.3-alsa-support.patch333
-rw-r--r--app-accessibility/flite/files/flite-1.3-fix-static.patch29
-rw-r--r--app-accessibility/flite/files/flite-1.3-libm.patch11
-rw-r--r--app-accessibility/flite/files/flite-1.3-respect-ldflags.patch24
-rw-r--r--app-accessibility/flite/files/flite-1.3-shared-libs.patch170
-rw-r--r--app-accessibility/flite/files/flite-1.3-tempfile.patch50
-rw-r--r--app-accessibility/flite/flite-1.2-r1.ebuild70
-rw-r--r--app-accessibility/flite/flite-1.2-r2.ebuild78
-rw-r--r--app-accessibility/flite/flite-1.3-r1.ebuild73
-rw-r--r--app-accessibility/flite/flite-1.3.ebuild65
-rw-r--r--app-accessibility/flite/flite-1.4-r3.ebuild71
14 files changed, 10 insertions, 1039 deletions
diff --git a/app-accessibility/flite/ChangeLog b/app-accessibility/flite/ChangeLog
index 5f7536ea2a9c..ee0033f3d88c 100644
--- a/app-accessibility/flite/ChangeLog
+++ b/app-accessibility/flite/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-accessibility/flite
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v 1.64 2014/10/11 13:08:18 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v 1.65 2014/11/23 19:43:18 teiresias Exp $
+
+ 23 Nov 2014; Christopher Brannon <teiresias@gentoo.org> -flite-1.2-r1.ebuild,
+ -flite-1.2-r2.ebuild, -flite-1.3.ebuild, -flite-1.3-r1.ebuild,
+ -flite-1.4-r3.ebuild, -files/flite-1.2-tempfile.patch,
+ -files/flite-1.3-alsa-support.patch, -files/flite-1.3-fix-static.patch,
+ -files/flite-1.3-libm.patch, -files/flite-1.3-respect-ldflags.patch,
+ -files/flite-1.3-shared-libs.patch, -files/flite-1.3-tempfile.patch,
+ -files/const.patch:
+ Remove old versions from the tree.
11 Oct 2014; Markus Meier <maekke@gentoo.org> flite-1.4-r4.ebuild:
arm stable, bug #512012
diff --git a/app-accessibility/flite/files/const.patch b/app-accessibility/flite/files/const.patch
deleted file mode 100644
index cf5510f47f22..000000000000
--- a/app-accessibility/flite/files/const.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur flite-1.2-release.orig/tools/find_sts_main.c flite-1.2-release/tools/find_sts_main.c
---- tools/find_sts_main.c 2002-12-26 17:18:30.000000000 +0000
-+++ tools/find_sts_main.c 2004-05-31 10:28:14.399281736 +0000
-@@ -40,6 +40,10 @@
- #include <stdio.h>
- #include <math.h>
- #include <string.h>
-+
-+/* to allow some normally const fields to be manipulated during building */
-+#define const
-+
- #include "cst_wave.h"
- #include "cst_track.h"
- #include "cst_sigpr.h"
diff --git a/app-accessibility/flite/files/flite-1.2-tempfile.patch b/app-accessibility/flite/files/flite-1.2-tempfile.patch
deleted file mode 100644
index 09b54f64ea2e..000000000000
--- a/app-accessibility/flite/files/flite-1.2-tempfile.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From a85193f122b7ec0d377e0a39ac58c64f12c51085 Mon Sep 17 00:00:00 2001
-From: Rui Matos <tiagomatos@gmail.com>
-Date: Mon, 6 Jan 2014 13:45:00 +0000
-Subject: [PATCH] auserver.c: Only write audio data to a file in debug builds
-
-This isn't useful in regular builds and is actually a security
-concern.
----
- src/audio/auserver.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/audio/auserver.c b/src/audio/auserver.c
-index 29716d3..3e838d0 100644
---- a/src/audio/auserver.c
-+++ b/src/audio/auserver.c
-@@ -58,9 +58,11 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
- int q,i,n,r;
- unsigned char bytes[CST_AUDIOBUFFSIZE];
- short shorts[CST_AUDIOBUFFSIZE];
-+#ifdef DEBUG
- cst_file fff;
-
- fff = cst_fopen("/tmp/awb.wav",CST_OPEN_WRITE|CST_OPEN_BINARY);
-+#endif
-
- if ((audio_device = audio_open(header->sample_rate,1,
- (header->encoding == CST_SND_SHORT) ?
-@@ -107,7 +109,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
- for (q=r; q > 0; q-=n)
- {
- n = audio_write(audio_device,shorts,q);
-+#ifdef DEBUG
- cst_fwrite(fff,shorts,2,q);
-+#endif
- if (n <= 0)
- {
- audio_close(audio_device);
-@@ -116,7 +120,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
- }
- }
- audio_close(audio_device);
-+#ifdef DEBUG
- cst_fclose(fff);
-+#endif
-
- return CST_OK_FORMAT;
-
---
-1.8.3.1
-
diff --git a/app-accessibility/flite/files/flite-1.3-alsa-support.patch b/app-accessibility/flite/files/flite-1.3-alsa-support.patch
deleted file mode 100644
index 9d3415e3fe4b..000000000000
--- a/app-accessibility/flite/files/flite-1.3-alsa-support.patch
+++ /dev/null
@@ -1,333 +0,0 @@
-diff -uNr flite-1.3-release/configure.in flite-1.3-release-mod/configure.in
---- flite-1.3-release/configure.in 2005-08-13 13:43:21.000000000 +0200
-+++ flite-1.3-release-mod/configure.in 2006-11-13 21:16:27.000000000 +0200
-@@ -206,10 +206,10 @@
- AC_CHECK_HEADER(sys/audioio.h,
- [AUDIODRIVER="sun"
- AUDIODEFS=-DCST_AUDIO_SUNOS])
--dnl AC_CHECK_HEADER(sys/asoundlib.h,
--dnl [AUDIODRIVER="alsa"
--dnl AUDIODEFS=-DCST_AUDIO_ALSA
--dnl AUDIOLIBS=-lasound])
-+AC_CHECK_HEADER(alsa/asoundlib.h,
-+ [AUDIODRIVER="alsa"
-+ AUDIODEFS=-DCST_AUDIO_ALSA
-+ AUDIOLIBS=-lasound])
- AC_CHECK_HEADER(mmsystem.h,
- [AUDIODRIVER="wince"
- AUDIODEFS=-DCST_AUDIO_WINCE
-diff -uNr flite-1.3-release/src/audio/au_alsa.c flite-1.3-release-mod/src/audio/au_alsa.c
---- flite-1.3-release/src/audio/au_alsa.c 1970-01-01 02:00:00.000000000 +0200
-+++ flite-1.3-release-mod/src/audio/au_alsa.c 2006-11-13 21:16:54.000000000 +0200
-@@ -0,0 +1,311 @@
-+/*************************************************************************/
-+/* */
-+/* Language Technologies Institute */
-+/* Carnegie Mellon University */
-+/* Copyright (c) 2000 */
-+/* All Rights Reserved. */
-+/* */
-+/* Permission is hereby granted, free of charge, to use and distribute */
-+/* this software and its documentation without restriction, including */
-+/* without limitation the rights to use, copy, modify, merge, publish, */
-+/* distribute, sublicense, and/or sell copies of this work, and to */
-+/* permit persons to whom this work is furnished to do so, subject to */
-+/* the following conditions: */
-+/* 1. The code must retain the above copyright notice, this list of */
-+/* conditions and the following disclaimer. */
-+/* 2. Any modifications must be clearly marked as such. */
-+/* 3. Original authors' names are not deleted. */
-+/* 4. The authors' names are not used to endorse or promote products */
-+/* derived from this software without specific prior written */
-+/* permission. */
-+/* */
-+/* CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK */
-+/* DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING */
-+/* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT */
-+/* SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE */
-+/* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES */
-+/* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN */
-+/* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, */
-+/* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF */
-+/* THIS SOFTWARE. */
-+/* */
-+/*********************************************************************** */
-+/* Author: Lukas Loehrer ( */
-+/* Date: January 2005 */
-+/*************************************************************************/
-+/* */
-+/* Native access to alsa audio devices on Linux */
-+/* Tested with libasound version 1.0.10 */
-+/*************************************************************************/
-+
-+#include <stdlib.h>
-+#include <unistd.h>
-+#include <sys/types.h>
-+#include <assert.h>
-+#include <errno.h>
-+
-+#include "cst_string.h"
-+#include "cst_wave.h"
-+#include "cst_audio.h"
-+
-+#include <alsa/asoundlib.h>
-+
-+
-+/*static char *pcm_dev_name = "hw:0,0"; */
-+static char *pcm_dev_name ="default";
-+
-+static inline void print_pcm_state(snd_pcm_t *handle, char *msg)
-+{
-+ fprintf(stderr, "PCM state at %s = %s\n", msg,
-+ snd_pcm_state_name(snd_pcm_state(handle)));
-+}
-+
-+cst_audiodev *audio_open_alsa(int sps, int channels, cst_audiofmt fmt)
-+{
-+ cst_audiodev *ad;
-+ unsigned int real_rate;
-+ int err;
-+
-+ /* alsa specific stuff */
-+ snd_pcm_t *pcm_handle;
-+ snd_pcm_stream_t stream = SND_PCM_STREAM_PLAYBACK;
-+ snd_pcm_hw_params_t *hwparams;
-+ snd_pcm_format_t format;
-+ snd_pcm_access_t access = SND_PCM_ACCESS_RW_INTERLEAVED;
-+
-+ /* Allocate the snd_pcm_hw_params_t structure on the stack. */
-+ snd_pcm_hw_params_alloca(&hwparams);
-+
-+ /* Open pcm device */
-+ err = snd_pcm_open(&pcm_handle, pcm_dev_name, stream, 0);
-+ if (err < 0)
-+ {
-+ cst_errmsg("audio_open_alsa: failed to open audio device %s. %s\n",
-+ pcm_dev_name, snd_strerror(err));
-+ return NULL;
-+ }
-+
-+ /* Init hwparams with full configuration space */
-+ err = snd_pcm_hw_params_any(pcm_handle, hwparams);
-+ if (err < 0)
-+ {
-+ snd_pcm_close(pcm_handle);
-+ cst_errmsg("audio_open_alsa: failed to get hardware parameters from audio device. %s\n", snd_strerror(err));
-+ return NULL;
-+ }
-+
-+ /* Set access mode */
-+ err = snd_pcm_hw_params_set_access(pcm_handle, hwparams, access);
-+ if (err < 0)
-+ {
-+ snd_pcm_close(pcm_handle);
-+ cst_errmsg("audio_open_alsa: failed to set access mode. %s.\n", snd_strerror(err));
-+ return NULL;
-+ }
-+
-+ /* Determine matching alsa sample format */
-+ /* This could be implemented in a more */
-+ /* flexible way (byte order conversion). */
-+ switch (fmt)
-+ {
-+ case CST_AUDIO_LINEAR16:
-+ if (CST_LITTLE_ENDIAN)
-+ format = SND_PCM_FORMAT_S16_LE;
-+ else
-+ format = SND_PCM_FORMAT_S16_BE;
-+ break;
-+ case CST_AUDIO_LINEAR8:
-+ format = SND_PCM_FORMAT_U8;
-+ break;
-+ case CST_AUDIO_MULAW:
-+ format = SND_PCM_FORMAT_MU_LAW;
-+ break;
-+ default:
-+ snd_pcm_close(pcm_handle);
-+ cst_errmsg("audio_open_alsa: failed to find suitable format.\n");
-+ return NULL;
-+ break;
-+ }
-+
-+ /* Set samble format */
-+ err = snd_pcm_hw_params_set_format(pcm_handle, hwparams, format);
-+ if (err <0)
-+ {
-+ snd_pcm_close(pcm_handle);
-+ cst_errmsg("audio_open_alsa: failed to set format. %s.\n", snd_strerror(err));
-+ return NULL;
-+ }
-+
-+ /* Set sample rate near the disired rate */
-+ real_rate = sps;
-+ err = snd_pcm_hw_params_set_rate_near(pcm_handle, hwparams, &real_rate, 0);
-+ if (err < 0)
-+ {
-+ snd_pcm_close(pcm_handle);
-+ cst_errmsg("audio_open_alsa: failed to set sample rate near %d. %s.\n", sps, snd_strerror(err));
-+ return NULL;
-+ }
-+ /*FIXME: This is probably too strict */
-+ assert(sps == real_rate);
-+
-+ /* Set number of channels */
-+ assert(channels >0);
-+ err = snd_pcm_hw_params_set_channels(pcm_handle, hwparams, channels);
-+ if (err < 0)
-+ {
-+ snd_pcm_close(pcm_handle);
-+ cst_errmsg("audio_open_alsa: failed to set number of channels to %d. %s.\n", channels, snd_strerror(err));
-+ return NULL;
-+ }
-+
-+ /* Commit hardware parameters */
-+ err = snd_pcm_hw_params(pcm_handle, hwparams);
-+ if (err < 0)
-+ {
-+ snd_pcm_close(pcm_handle);
-+ cst_errmsg("audio_open_alsa: failed to set hw parameters. %s.\n", snd_strerror(err));
-+ return NULL;
-+ }
-+
-+ /* Make sure the device is ready to accept data */
-+ assert(snd_pcm_state(pcm_handle) == SND_PCM_STATE_PREPARED);
-+
-+ /* Write hardware parameters to flite audio device data structure */
-+ ad = cst_alloc(cst_audiodev, 1);
-+ assert(ad != NULL);
-+ ad->real_sps = ad->sps = sps;
-+ ad->real_channels = ad->channels = channels;
-+ ad->real_fmt = ad->fmt = fmt;
-+ ad->platform_data = (void *) pcm_handle;
-+
-+ return ad;
-+}
-+
-+int audio_close_alsa(cst_audiodev *ad)
-+{
-+ int result;
-+ snd_pcm_t *pcm_handle;
-+
-+ if (ad == NULL)
-+ return 0;
-+
-+ pcm_handle = (snd_pcm_t *) ad->platform_data;
-+ result = snd_pcm_close(pcm_handle);
-+ if (result < 0)
-+ {
-+ cst_errmsg("audio_close_alsa: Error: %s.\n", snd_strerror(result));
-+ }
-+ cst_free(ad);
-+ return result;
-+}
-+
-+/* Returns zero if recovery was successful. */
-+static int recover_from_error(snd_pcm_t *pcm_handle, ssize_t res)
-+{
-+ if (res == -EPIPE) /* xrun */
-+ {
-+ res = snd_pcm_prepare(pcm_handle);
-+ if (res < 0)
-+ {
-+ /* Failed to recover from xrun */
-+ cst_errmsg("recover_from_write_error: failed to recover from xrun. %s\n.", snd_strerror(res));
-+ return res;
-+ }
-+ }
-+ else if (res == -ESTRPIPE) /* Suspend */
-+ {
-+ while ((res = snd_pcm_resume(pcm_handle)) == -EAGAIN)
-+ {
-+ snd_pcm_wait(pcm_handle, 1000);
-+ }
-+ if (res < 0)
-+ {
-+ res = snd_pcm_prepare(pcm_handle);
-+ if (res <0)
-+ {
-+ /* Resume failed */
-+ cst_errmsg("audio_recover_from_write_error: failed to resume after suspend. %s\n.", snd_strerror(res));
-+ return res;
-+ }
-+ }
-+ }
-+ else if (res < 0)
-+ {
-+ /* Unknown failure */
-+ cst_errmsg("audio_recover_from_write_error: %s.\n", snd_strerror(res));
-+ return res;
-+ }
-+ return 0;
-+}
-+
-+int audio_write_alsa(cst_audiodev *ad, void *samples, int num_bytes)
-+{
-+ size_t frame_size;
-+ ssize_t num_frames, res;
-+ snd_pcm_t *pcm_handle;
-+ char *buf = (char *) samples;
-+
-+ /* Determine frame size in bytes */
-+ frame_size = audio_bps(ad->real_fmt) * ad->real_channels;
-+ /* Require that only complete frames are handed in */
-+ assert((num_bytes % frame_size) == 0);
-+ num_frames = num_bytes / frame_size;
-+ pcm_handle = (snd_pcm_t *) ad->platform_data;
-+
-+ while (num_frames > 0)
-+ {
-+ res = snd_pcm_writei(pcm_handle, buf, num_frames);
-+ if (res != num_frames)
-+ {
-+ if (res == -EAGAIN || (res > 0 && res < num_frames))
-+ {
-+ snd_pcm_wait(pcm_handle, 100);
-+ }
-+ else if (recover_from_error(pcm_handle, res) < 0)
-+ {
-+ return -1;
-+ }
-+ }
-+
-+ if (res >0)
-+ {
-+ num_frames -= res;
-+ buf += res * frame_size;
-+ }
-+ }
-+ return num_bytes;
-+}
-+
-+int audio_flush_alsa(cst_audiodev *ad)
-+{
-+ int result;
-+ result = snd_pcm_drain((snd_pcm_t *) ad->platform_data);
-+ if (result < 0)
-+ {
-+ cst_errmsg("audio_flush_alsa: Error: %s.\n", snd_strerror(result));
-+ }
-+ /* Prepare device for more data */
-+ result = snd_pcm_prepare((snd_pcm_t *) ad->platform_data);
-+if (result < 0)
-+ {
-+ cst_errmsg("audio_flush_alsa: Error: %s.\n", snd_strerror(result));
-+ }
-+ return result;
-+}
-+
-+int audio_drain_alsa(cst_audiodev *ad)
-+{
-+ int result;
-+ result = snd_pcm_drop((snd_pcm_t *) ad->platform_data);
-+ if (result < 0)
-+ {
-+ cst_errmsg("audio_drain_alsa: Error: %s.\n", snd_strerror(result));
-+ }
-+/* Prepare device for more data */
-+ result = snd_pcm_prepare((snd_pcm_t *) ad->platform_data);
-+if (result < 0)
-+ {
-+ cst_errmsg("audio_drain_alsa: Error: %s.\n", snd_strerror(result));
-+ }
-+ return result;
-+}
diff --git a/app-accessibility/flite/files/flite-1.3-fix-static.patch b/app-accessibility/flite/files/flite-1.3-fix-static.patch
deleted file mode 100644
index 156f145aa236..000000000000
--- a/app-accessibility/flite/files/flite-1.3-fix-static.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Naur flite-1.3-release/main/Makefile flite-1.3-release.new/main/Makefile
---- flite-1.3-release/main/Makefile 2014-02-12 12:08:32.222776141 -0800
-+++ flite-1.3-release.new/main/Makefile 2014-02-12 12:29:32.308048276 -0800
-@@ -48,15 +48,23 @@
- ALL = $(BINDIR)/flite$(EXEEXT) $(BINDIR)/flite_time$(EXEEXT) \
- $(BINDIR)/t2p$(EXEEXT)
-
-+include $(TOP)/config/common_make_rules
-+
- flite_LIBS = flite_$(FL_VOX) flite_$(FL_LANG) flite_$(FL_LEX)
- flite_LIBS_flags = -L$(LIBDIR) $(flite_LIBS:%=-l%)
-+ifdef SHFLAGS
- flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.so)
-+else
-+flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.a)
-+endif
-
- flite_time_LIBS = flite_cmu_time_awb flite_$(FL_LANG) flite_$(FL_LEX)
- flite_time_LIBS_flags = -L$(LIBDIR) $(flite_time_LIBS:%=-l%)
-+ifdef SHFLAGS
- flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.so)
--
--include $(TOP)/config/common_make_rules
-+else
-+flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.a)
-+endif
-
- $(BINDIR)/flite$(EXEEXT): flite_main.o $(FLITELIBS) $(flite_LIBS_deps)
- $(CC) $(CFLAGS) -o $@ flite_main.o $(flite_LIBS_flags) $(LDFLAGS)
diff --git a/app-accessibility/flite/files/flite-1.3-libm.patch b/app-accessibility/flite/files/flite-1.3-libm.patch
deleted file mode 100644
index 90eba91a3d6c..000000000000
--- a/app-accessibility/flite/files/flite-1.3-libm.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- flite-1.3-release/config/common_make_rules 2013-04-03 15:28:04.004893371 +0100
-+++ flite-1.3-release/config/common_make_rules 2013-04-03 15:27:50.574992901 +0100
-@@ -69,7 +69,7 @@
-
- ifdef SHFLAGS
- FLITELIBS = $(LIBDIR)/libflite.so
--LDFLAGS += -L$(LIBDIR) -lflite $(OTHERLIBS)
-+LDFLAGS += -L$(LIBDIR) -lflite -lm $(OTHERLIBS)
- else
- FLITELIBS = $(LIBDIR)/libflite.a
- LDFLAGS += -L$(LIBDIR) -lflite -lm $(AUDIOLIBS) $(OTHERLIBS)
diff --git a/app-accessibility/flite/files/flite-1.3-respect-ldflags.patch b/app-accessibility/flite/files/flite-1.3-respect-ldflags.patch
deleted file mode 100644
index a8a8cb6fb445..000000000000
--- a/app-accessibility/flite/files/flite-1.3-respect-ldflags.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur flite-1.3-release/config/common_make_rules flite-1.3-release.new/config/common_make_rules
---- flite-1.3-release/config/common_make_rules 2014-02-12 09:56:23.058678651 -0800
-+++ flite-1.3-release.new/config/common_make_rules 2014-02-12 11:27:18.039561163 -0800
-@@ -67,6 +67,11 @@
-
- BUILDDIRS=$(OBJDIR) $(BINDIR) $(LIBDIR)
-
-+ifndef SO_LDFLAGS
-+SO_LDFLAGS := $(LDFLAGS)
-+endif
-+export SO_LDFLAGS
-+
- ifdef SHFLAGS
- FLITELIBS = $(LIBDIR)/libflite.so
- LDFLAGS += -L$(LIBDIR) -lflite -lm $(OTHERLIBS)
-@@ -130,7 +135,7 @@
- @ rm -rf shared_os && mkdir shared_os
- @ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
- @ (cd shared_os && ar x ../$<)
-- @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os -L../ $($(@:%.so=%_LDLIBS)))
-+ @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} $(SO_LDFLAGS) -o ../$@.${PROJECT_VERSION} *.os -L../ $($(@:%.so=%_LDLIBS)))
- @ ln -s $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
- @ ln -s $@.${PROJECT_SHLIB_VERSION} $@
- @ rm -rf shared_os
diff --git a/app-accessibility/flite/files/flite-1.3-shared-libs.patch b/app-accessibility/flite/files/flite-1.3-shared-libs.patch
deleted file mode 100644
index ffab92551f30..000000000000
--- a/app-accessibility/flite/files/flite-1.3-shared-libs.patch
+++ /dev/null
@@ -1,170 +0,0 @@
-diff -uNr flite-1.3-release/config/common_make_rules flite-1.3-release-mod/config/common_make_rules
---- flite-1.3-release/config/common_make_rules 2004-12-20 00:20:43.000000000 +0200
-+++ flite-1.3-release-mod/config/common_make_rules 2006-11-12 12:17:25.000000000 +0200
-@@ -59,27 +59,35 @@
- endif
- OBJDIR=$(BUILDDIR)/obj/$(DIRNAME)
- BINDIR=$(BUILDDIR)/bin
-+LIBDIR=$(BUILDDIR)/lib
- ifeq ($(HOST_PLATFORM),$(TARGET_PLATFORM))
- BINDIR=$(TOP)/bin
-+LIBDIR=$(TOP)/lib
- endif
-
--LIBDIR=$(BUILDDIR)/lib
- BUILDDIRS=$(OBJDIR) $(BINDIR) $(LIBDIR)
-
--FLITELIBS = $(BUILDDIR)/lib/libflite.a
--LDFLAGS += -L$(BUILDDIR)/lib -lflite -lm $(AUDIOLIBS) $(OTHERLIBS)
-+ifdef SHFLAGS
-+FLITELIBS = $(LIBDIR)/libflite.so
-+LDFLAGS += -L$(LIBDIR) -lflite $(OTHERLIBS)
-+else
-+FLITELIBS = $(LIBDIR)/libflite.a
-+LDFLAGS += -L$(LIBDIR) -lflite -lm $(AUDIOLIBS) $(OTHERLIBS)
-+endif
-
- FULLOBJS = $(OBJS:%=$(OBJDIR)/%)
- ifdef SHFLAGS
- SOOBJS = $(OBJS:.o=.os)
--FULLSHOBJS = $(SOOBJS:%=$(OBJDIR)/%)
-+FULLSOOBJS = $(SOOBJS:%=$(OBJDIR)/%)
- ifdef LIBNAME
- ALL += $(OBJDIR)/.build_so
- endif
--endif
-+else
- ifdef LIBNAME
- ALL += $(OBJDIR)/.build_lib
- endif
-+endif
-+
- # Only do some directories when you are not cross compiling
- ifeq ($(HOST_PLATFORM),$(TARGET_PLATFORM))
- OTHER_BUILD_DIRS = $(HOST_ONLY_DIRS)
-@@ -117,14 +125,14 @@
- @ touch $(OBJDIR)/.build_so
-
- # Used in the lib/ directory and in building new voices
--$(OBJDIR)/%.so: %.shared.a
-+%.so: %.shared.a
- @ echo making $@
- @ rm -rf shared_os && mkdir shared_os
-- @ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
-+ @ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
- @ (cd shared_os && ar x ../$<)
-- @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
-- @ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
-- @ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
-+ @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os -L../ $($(@:%.so=%_LDLIBS)))
-+ @ ln -s $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
-+ @ ln -s $@.${PROJECT_SHLIB_VERSION} $@
- @ rm -rf shared_os
-
- $(OBJDIR)/.make_build_dirs:
-diff -uNr flite-1.3-release/lib/Makefile flite-1.3-release-mod/lib/Makefile
---- flite-1.3-release/lib/Makefile 1970-01-01 02:00:00.000000000 +0200
-+++ flite-1.3-release-mod/lib/Makefile 2006-11-12 12:17:40.000000000 +0200
-@@ -0,0 +1,73 @@
-+###########################################################################
-+## ##
-+## Language Technologies Institute ##
-+## Carnegie Mellon University ##
-+## Copyright (c) 1999 ##
-+## All Rights Reserved. ##
-+## ##
-+## Permission is hereby granted, free of charge, to use and distribute ##
-+## this software and its documentation without restriction, including ##
-+## without limitation the rights to use, copy, modify, merge, publish, ##
-+## distribute, sublicense, and/or sell copies of this work, and to ##
-+## permit persons to whom this work is furnished to do so, subject to ##
-+## the following conditions: ##
-+## 1. The code must retain the above copyright notice, this list of ##
-+## conditions and the following disclaimer. ##
-+## 2. Any modifications must be clearly marked as such. ##
-+## 3. Original authors' names are not deleted. ##
-+## 4. The authors' names are not used to endorse or promote products ##
-+## derived from this software without specific prior written ##
-+## permission. ##
-+## ##
-+## CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK ##
-+## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ##
-+## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ##
-+## SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE ##
-+## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ##
-+## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ##
-+## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ##
-+## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ##
-+## THIS SOFTWARE. ##
-+## ##
-+###########################################################################
-+## ##
-+## FLITE libraries ##
-+## ##
-+###########################################################################
-+TOP=..
-+DIRNAME=lib
-+BUILD_DIRS =
-+ALL_DIRS=
-+FILES = Makefile
-+LIBNAMES = flite flite_cmulex flite_usenglish \
-+ flite_cmu_us_kal flite_cmu_us_kal16 flite_cmu_time_awb
-+
-+STATICLIBS= $(LIBNAMES:%=lib%.a)
-+SHAREDARLIBS= $(LIBNAMES:%=lib%.shared.a)
-+#SHAREDLIBS = $(LIBNAMES:%=lib%.so)
-+SHAREDLIBS = $(SHAREDARLIBS:%.shared.a=%.so)
-+VERSIONSHAREDLIBS = $(SHAREDLIBS:%=%.${PROJECT_VERSION}) \
-+ $(SHAREDLIBS:%=%.${PROJECT_SHLIB_VERSION})
-+ALL_LIBS = $(SHAREDLIBS) $(VERSIONSHAREDLIBS)
-+
-+ALL = shared_libs
-+
-+LOCAL_CLEAN=*.a *.so *.so.${PROJECT_VERSION} *.so.${PROJECT_SHLIB_VERSION}
-+
-+include $(TOP)/config/common_make_rules
-+
-+ifdef SHFLAGS
-+shared_libs: $(SHAREDLIBS)
-+libflite_LDLIBS = -lm $(AUDIOLIBS)
-+libflite_cmulex_LDLIBS = -lflite
-+libflite_usenglish_LDLIBS = -lflite
-+libflite_cmu_us_kal_LDLIBS = -lflite_cmulex -lflite_usenglish
-+libflite_cmu_us_kal16_LDLIBS = -lflite_cmulex -lflite_usenglish
-+libflite_cmu_time_awb_LDLIBS = -lflite -lflite_cmulex -lflite_usenglish
-+else
-+shared_libs: nothing
-+endif
-+
-+install:
-+ @ tar cvf - $(ALL_LIBS) | ( cd $(INSTALLLIBDIR) && tar xf -)
-+
-diff -uNr flite-1.3-release/main/Makefile flite-1.3-release-mod/main/Makefile
---- flite-1.3-release/main/Makefile 2005-08-08 00:38:42.000000000 +0200
-+++ flite-1.3-release-mod/main/Makefile 2006-11-12 11:44:46.000000000 +0200
-@@ -50,11 +50,11 @@
-
- flite_LIBS = flite_$(FL_VOX) flite_$(FL_LANG) flite_$(FL_LEX)
- flite_LIBS_flags = -L$(LIBDIR) $(flite_LIBS:%=-l%)
--flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.a)
-+flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.so)
-
- flite_time_LIBS = flite_cmu_time_awb flite_$(FL_LANG) flite_$(FL_LEX)
- flite_time_LIBS_flags = -L$(LIBDIR) $(flite_time_LIBS:%=-l%)
--flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.a)
-+flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.so)
-
- include $(TOP)/config/common_make_rules
-
-diff -uNr flite-1.3-release/Makefile flite-1.3-release-mod/Makefile
---- flite-1.3-release/Makefile 2005-11-01 15:40:45.000000000 +0200
-+++ flite-1.3-release-mod/Makefile 2006-11-12 11:44:46.000000000 +0200
-@@ -41,7 +41,7 @@
- ###########################################################################
- TOP=.
- DIRNAME=
--BUILD_DIRS = include src lang doc
-+BUILD_DIRS = include src lang lib doc
- ALL_DIRS=config $(BUILD_DIRS) testsuite sapi palm tools main
- CONFIG=configure configure.in config.sub config.guess \
- missing install-sh mkinstalldirs
diff --git a/app-accessibility/flite/files/flite-1.3-tempfile.patch b/app-accessibility/flite/files/flite-1.3-tempfile.patch
deleted file mode 100644
index 09b54f64ea2e..000000000000
--- a/app-accessibility/flite/files/flite-1.3-tempfile.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From a85193f122b7ec0d377e0a39ac58c64f12c51085 Mon Sep 17 00:00:00 2001
-From: Rui Matos <tiagomatos@gmail.com>
-Date: Mon, 6 Jan 2014 13:45:00 +0000
-Subject: [PATCH] auserver.c: Only write audio data to a file in debug builds
-
-This isn't useful in regular builds and is actually a security
-concern.
----
- src/audio/auserver.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/audio/auserver.c b/src/audio/auserver.c
-index 29716d3..3e838d0 100644
---- a/src/audio/auserver.c
-+++ b/src/audio/auserver.c
-@@ -58,9 +58,11 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
- int q,i,n,r;
- unsigned char bytes[CST_AUDIOBUFFSIZE];
- short shorts[CST_AUDIOBUFFSIZE];
-+#ifdef DEBUG
- cst_file fff;
-
- fff = cst_fopen("/tmp/awb.wav",CST_OPEN_WRITE|CST_OPEN_BINARY);
-+#endif
-
- if ((audio_device = audio_open(header->sample_rate,1,
- (header->encoding == CST_SND_SHORT) ?
-@@ -107,7 +109,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
- for (q=r; q > 0; q-=n)
- {
- n = audio_write(audio_device,shorts,q);
-+#ifdef DEBUG
- cst_fwrite(fff,shorts,2,q);
-+#endif
- if (n <= 0)
- {
- audio_close(audio_device);
-@@ -116,7 +120,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
- }
- }
- audio_close(audio_device);
-+#ifdef DEBUG
- cst_fclose(fff);
-+#endif
-
- return CST_OK_FORMAT;
-
---
-1.8.3.1
-
diff --git a/app-accessibility/flite/flite-1.2-r1.ebuild b/app-accessibility/flite/flite-1.2-r1.ebuild
deleted file mode 100644
index aa01a8b97269..000000000000
--- a/app-accessibility/flite/flite-1.2-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.2-r1.ebuild,v 1.16 2013/08/25 14:42:09 jer Exp $
-
-inherit eutils
-
-DESCRIPTION="Flite text to speech engine"
-HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
-SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.bz2
- http://www.speech.cs.cmu.edu/flite/packed/${P}/${PN}_lexfix.tar.gz"
-
-LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
-SLOT="0"
-KEYWORDS=" ~alpha amd64 ppc sparc x86"
-IUSE="static"
-
-S=${WORKDIR}/${P}-release
-
-src_unpack() {
- unpack ${P}-release.tar.bz2
- unpack ${PN}_lexfix.tar.gz
-
- # Move the update into ${S}
- cd ${PN}
- tar -cf - . | (cd "${S}"; tar -xf -)
- cd "${S}"
- epatch "${FILESDIR}"/const.patch
-}
-
-src_compile() {
- local myconf
- if ! use static ; then
- myconf="${myconf} --enable-shared"
- fi
- myconf="${myconf} --with-vox=cmu_us_kal16"
-
- econf ${myconf} || die "Failed configuration"
- # -j2 borks when we make the shared libs
- emake -j1 || die "Failed compilation"
-}
-
-src_install() {
- dobin bin/* || die
- dodoc ACKNOWLEDGEMENTS README
-
- if use static ; then
- dolib.a lib/*.a
- else
- for lib in lib/*.so*; do
- if [ -f ${lib} ]; then
- dolib.so ${lib}
- lib=`basename ${lib}`
- majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
- noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
-
- dosym ${lib} /usr/lib/${majlib}
- dosym ${lib} /usr/lib/${noverlib}
- fi
- done
- fi
-
- insinto /usr/include/flite
- cd "${S}"/include
- for file in *.h; do
- doins ${file}
- dosed 's:#include "\(.*\)":#include <flite/\1>:g' /usr/include/flite/${file}
- done
-
- dosym flite/flite.h /usr/include/flite.h
-}
diff --git a/app-accessibility/flite/flite-1.2-r2.ebuild b/app-accessibility/flite/flite-1.2-r2.ebuild
deleted file mode 100644
index 8ed1b3c915c6..000000000000
--- a/app-accessibility/flite/flite-1.2-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.2-r2.ebuild,v 1.4 2014/08/02 11:19:45 armin76 Exp $
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Flite text to speech engine"
-HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
-SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.bz2
- http://www.speech.cs.cmu.edu/flite/packed/${P}/${PN}_lexfix.tar.gz"
-
-LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~ppc sparc ~x86"
-IUSE="static"
-
-S=${WORKDIR}/${P}-release
-
-src_unpack() {
- unpack ${P}-release.tar.bz2
- unpack ${PN}_lexfix.tar.gz
-
- # Move the update into ${S}
- cd ${PN}
- tar -cf - . | (cd "${S}"; tar -xf -)
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/const.patch
- epatch "${FILESDIR}"/${P}-tempfile.patch
-}
-
-src_configure() {
- local myconf
- if ! use static ; then
- myconf="${myconf} --enable-shared"
- fi
- myconf="${myconf} --with-vox=cmu_us_kal16"
-
- econf ${myconf}
- # -j2 borks when we make the shared libs
-}
-
-src_compile() {
- emake -j1
-}
-
-src_install() {
- dobin bin/*
- dodoc ACKNOWLEDGEMENTS README
-
- if use static ; then
- dolib.a lib/*.a
- else
- for lib in lib/*.so*; do
- if [ -f ${lib} ]; then
- dolib.so ${lib}
- lib=`basename ${lib}`
- majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
- noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
-
- dosym ${lib} /usr/lib/${majlib}
- dosym ${lib} /usr/lib/${noverlib}
- fi
- done
- fi
-
- insinto /usr/include/flite
- cd "${S}"/include
- for file in *.h; do
- doins ${file}
- sed -i -e 's:#include "\(.*\)":#include <flite/\1>:g' \
- "${D}"/usr/include/flite/${file} || die "sed failed"
- done
-
- dosym flite/flite.h /usr/include/flite.h
-}
diff --git a/app-accessibility/flite/flite-1.3-r1.ebuild b/app-accessibility/flite/flite-1.3-r1.ebuild
deleted file mode 100644
index f2a61f745e2d..000000000000
--- a/app-accessibility/flite/flite-1.3-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.3-r1.ebuild,v 1.6 2014/08/02 11:19:45 armin76 Exp $
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Flite text to speech engine"
-HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
-SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.gz"
-
-LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~ppc ~ppc64 sparc x86"
-IUSE="alsa static"
-
-S=${WORKDIR}/${P}-release
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-tempfile.patch
- if use alsa; then
- epatch "${FILESDIR}"/${P}-alsa-support.patch
- fi
- epatch "${FILESDIR}"/${P}-shared-libs.patch
- epatch "${FILESDIR}"/${P}-fix-static.patch
- epatch "${FILESDIR}"/${P}-respect-ldflags.patch
- epatch "${FILESDIR}"/${P}-libm.patch
-}
-
-src_configure() {
- local myconf
- if ! use static ; then
- myconf="--enable-shared"
- fi
- myconf="${myconf} --with-vox=cmu_us_kal16"
-
- econf ${myconf}
-}
-
-src_compile() {
- emake -j1
-}
-
-src_install() {
- dobin bin/*
- dodoc ACKNOWLEDGEMENTS README
-
- if use static ; then
- dolib.a lib/*.a
- else
- for lib in lib/*.so*; do
- if [ -f ${lib} ]; then
- dolib.so ${lib}
- lib=`basename ${lib}`
- majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
- noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
-
- dosym ${lib} /usr/lib/${majlib}
- dosym ${lib} /usr/lib/${noverlib}
- fi
- done
- fi
-
- insinto /usr/include/flite
- cd "${S}"/include
- for file in *.h; do
- doins ${file}
- sed -i -e 's:#include "\(.*\)":#include <flite/\1>:g' \
- "${D}"/usr/include/flite/${file} || die "sed failed"
- done
-
- dosym flite/flite.h /usr/include/flite.h
-}
diff --git a/app-accessibility/flite/flite-1.3.ebuild b/app-accessibility/flite/flite-1.3.ebuild
deleted file mode 100644
index e8969a441052..000000000000
--- a/app-accessibility/flite/flite-1.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.3.ebuild,v 1.14 2013/08/25 14:42:09 jer Exp $
-
-inherit eutils
-
-DESCRIPTION="Flite text to speech engine"
-HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
-SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.gz"
-
-LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86"
-IUSE="alsa static"
-
-S=${WORKDIR}/${P}-release
-
-src_unpack() {
- unpack ${P}-release.tar.gz
- if use alsa; then
- epatch "${FILESDIR}"/${P}-alsa-support.patch
- fi
- epatch "${FILESDIR}"/${P}-shared-libs.patch
-}
-
-src_compile() {
- local myconf
- if ! use static ; then
- myconf="--enable-shared"
- fi
- myconf="${myconf} --with-vox=cmu_us_kal16"
-
- econf ${myconf} || die "Failed configuration"
- emake -j1 || die "Failed compilation"
-}
-
-src_install() {
- dobin bin/* || die
- dodoc ACKNOWLEDGEMENTS README
-
- if use static ; then
- dolib.a lib/*.a
- else
- for lib in lib/*.so*; do
- if [ -f ${lib} ]; then
- dolib.so ${lib}
- lib=`basename ${lib}`
- majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
- noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
-
- dosym ${lib} /usr/lib/${majlib}
- dosym ${lib} /usr/lib/${noverlib}
- fi
- done
- fi
-
- insinto /usr/include/flite
- cd "${S}"/include
- for file in *.h; do
- doins ${file}
- dosed 's:#include "\(.*\)":#include <flite/\1>:g' /usr/include/flite/${file}
- done
-
- dosym flite/flite.h /usr/include/flite.h
-}
diff --git a/app-accessibility/flite/flite-1.4-r3.ebuild b/app-accessibility/flite/flite-1.4-r3.ebuild
deleted file mode 100644
index 5e526bd98c47..000000000000
--- a/app-accessibility/flite/flite-1.4-r3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.4-r3.ebuild,v 1.1 2014/02/12 21:21:11 teiresias Exp $
-
-EAPI=4
-inherit autotools eutils
-
-DESCRIPTION="Flite text to speech engine"
-HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
-SRC_URI=" http://www.speech.cs.cmu.edu/${PN}/packed/${P}/${P}-release.tar.bz2"
-
-LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
-SLOT="0"
-KEYWORDS=" ~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
-IUSE="alsa oss static-libs"
-
-DEPEND="alsa? ( >=media-libs/alsa-lib-1.0.24.1 )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${P}-release
-
-get_audio() {
- if use alsa; then
- echo alsa
- elif use oss; then
- echo oss
- else
- echo none
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-tempfile.patch
- epatch "${FILESDIR}"/${P}-fix-parallel-builds.patch
- epatch "${FILESDIR}"/${P}-respect-destdir.patch
- epatch "${FILESDIR}"/${P}-ldflags.patch
- epatch "${FILESDIR}"/${P}-audio-interface.patch
- sed -i main/Makefile \
- -e '/-rpath/s|$(LIBDIR)|$(INSTALLLIBDIR)|g' \
- || die
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if ! use static-libs; then
- myconf=--enable-shared
- fi
- myconf="${myconf} --with-audio=$(get_audio)"
- econf ${myconf}
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc ACKNOWLEDGEMENTS README
- if ! use static-libs; then
- rm -rf "${D}"/usr/lib*/*.a
- fi
-}
-
-pkg_postinst() {
- if [ "$(get_audio)" = "none" ]; then
- ewarn "you have built flite without audio support."
- ewarn "If you want audio support, re-emerge"
- ewarn "flite with alsa or oss in your use flags."
- fi
-}