diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-07-21 07:15:25 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-07-21 07:15:25 +0000 |
commit | c9d955878e02fd93bcf1a081dab37fbc98037a5f (patch) | |
tree | a2471694ab9135ac0ea8c9f3f47d24628ff2be82 | |
parent | Whoops... forgot to include ringbuffer.c (diff) | |
download | gentoo-2-c9d955878e02fd93bcf1a081dab37fbc98037a5f.tar.gz gentoo-2-c9d955878e02fd93bcf1a081dab37fbc98037a5f.tar.bz2 gentoo-2-c9d955878e02fd93bcf1a081dab37fbc98037a5f.zip |
Version bump for bug #78983. Added support for portaudio.
(Portage version: 2.0.51.22-r2)
-rw-r--r-- | app-accessibility/epos/ChangeLog | 9 | ||||
-rw-r--r-- | app-accessibility/epos/Manifest | 8 | ||||
-rw-r--r-- | app-accessibility/epos/epos-2.5.35.ebuild | 53 | ||||
-rw-r--r-- | app-accessibility/epos/files/digest-epos-2.5.35 | 1 | ||||
-rw-r--r-- | app-accessibility/epos/files/epos-2.5.35-destdir.patch | 32 | ||||
-rw-r--r-- | app-accessibility/epos/files/epos-2.5.35-sysportaudio.patch | 43 |
6 files changed, 143 insertions, 3 deletions
diff --git a/app-accessibility/epos/ChangeLog b/app-accessibility/epos/ChangeLog index 310015473d98..3325dfc84538 100644 --- a/app-accessibility/epos/ChangeLog +++ b/app-accessibility/epos/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-accessibility/epos # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/epos/ChangeLog,v 1.8 2005/01/01 10:47:11 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/epos/ChangeLog,v 1.9 2005/07/21 07:15:25 eradicator Exp $ + +*epos-2.5.35 (20 Jul 2005) + + 20 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org> + +files/epos-2.5.35-destdir.patch, +files/epos-2.5.35-sysportaudio.patch, + +epos-2.5.35.ebuild: + Version bump for bug #78983. Added support for portaudio. 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> epos-2.5.23-r1.ebuild: diff --git a/app-accessibility/epos/Manifest b/app-accessibility/epos/Manifest index 362a930b9a1a..ea0cb049e57d 100644 --- a/app-accessibility/epos/Manifest +++ b/app-accessibility/epos/Manifest @@ -1,7 +1,11 @@ MD5 d471425c8fb06eb7907b48db82dbae42 ChangeLog 1000 -MD5 050ab8f1df8b68e12e804df6698c533d metadata.xml 231 MD5 ed1c8a94add02640c0b860edb1c3071e epos-2.5.23-r1.ebuild 755 +MD5 050ab8f1df8b68e12e804df6698c533d metadata.xml 231 +MD5 fdc2a4343df6c1ce7d0ae3be0579b954 epos-2.5.35.ebuild 1200 MD5 d41676ea75dabd569433cfca8d1f2bf2 files/README.gentoo 108 -MD5 ab56a6d2d8704c792114afd7bbf3743a files/epos 546 MD5 44bb6900b1cf61e43f4397bacc00adf1 files/digest-epos-2.5.23-r1 63 +MD5 ab56a6d2d8704c792114afd7bbf3743a files/epos 546 MD5 0de01cc62d24c39fab9e80bde38db840 files/epos-waveform.patch 433 +MD5 c8df3770b8aa63afc1ffde3af9922208 files/digest-epos-2.5.35 63 +MD5 ef0ee59a21cd088198c030a2fc5c6fd5 files/epos-2.5.35-destdir.patch 1038 +MD5 365c1b4554293b822779986973f88ac5 files/epos-2.5.35-sysportaudio.patch 1517 diff --git a/app-accessibility/epos/epos-2.5.35.ebuild b/app-accessibility/epos/epos-2.5.35.ebuild new file mode 100644 index 000000000000..cb3afee272e6 --- /dev/null +++ b/app-accessibility/epos/epos-2.5.35.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/epos/epos-2.5.35.ebuild,v 1.1 2005/07/21 07:15:25 eradicator Exp $ + +IUSE="portaudio" + +inherit eutils + +DESCRIPTION="language independent text-to-speech system" +HOMEPAGE="http://epos.ure.cas.cz/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" + +RDEPEND="portaudio? ( >=media-libs/portaudio-18.1-r1 )" +DEPEND="app-text/sgmltools-lite + >=sys-devel/autoconf-2.57 + =sys-devel/automake-1.7* + sys-devel/libtool + ${RDEPEND}" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-destdir.patch + epatch ${FILESDIR}/${P}-sysportaudio.patch + + export WANT_AUTOMAKE=1.8 + export WANT_AUTOCONF=2.5 + libtoolize --force --copy || die + aclocal || die + automake -a -f -c || die + autoheader || die + autoconf || die +} + +src_compile() { + econf $(use_enable portaudio) --enable-charsets + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + mv ${D}/usr/bin/say ${D}/usr/bin/epos_say + + exeinto /etc/init.d + doexe ${FILESDIR}/epos + + dodoc WELCOME THANKS Changes ${FILESDIR}/README.gentoo +} diff --git a/app-accessibility/epos/files/digest-epos-2.5.35 b/app-accessibility/epos/files/digest-epos-2.5.35 new file mode 100644 index 000000000000..e848d1d93e69 --- /dev/null +++ b/app-accessibility/epos/files/digest-epos-2.5.35 @@ -0,0 +1 @@ +MD5 b59377e69de8bf30b2f68ed631bbba99 epos-2.5.35.tar.gz 884652 diff --git a/app-accessibility/epos/files/epos-2.5.35-destdir.patch b/app-accessibility/epos/files/epos-2.5.35-destdir.patch new file mode 100644 index 000000000000..dbfa4b7daf6f --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.35-destdir.patch @@ -0,0 +1,32 @@ +diff -Naurp epos-2.5.35.orig/cfg/Makefile.am epos-2.5.35/cfg/Makefile.am +--- epos-2.5.35.orig/cfg/Makefile.am 2005-05-22 23:23:38.000000000 +0000 ++++ epos-2.5.35/cfg/Makefile.am 2005-07-20 22:22:51.000000000 +0000 +@@ -17,23 +17,23 @@ version: $(top_srcdir)/configure.ac + + install-data-local: installdirs + @cd $(srcdir) && for i in $(DATA_DIRS); do \ +- $(mkinstalldirs) $(pkgdatadir)/$$i;\ ++ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$i;\ + done + cd $(srcdir) && for i in $(DATA_FILES); do \ +- $(INSTALL_DATA) $$i $(pkgdatadir)/$$i;\ ++ $(INSTALL_DATA) $$i $(DESTDIR)$(pkgdatadir)/$$i;\ + done + + uninstall-local: + for i in $(DATA_FILES); do \ +- rm -f $(pkgdatadir)/$$i;\ ++ rm -f $(DESTDIR)$(pkgdatadir)/$$i;\ + done + DATA_DIRS_REVERSED=;\ + for i in $(DATA_DIRS); do \ + DATA_DIRS_REVERSED="$$i $$DATA_DIRS_REVERSED";\ + done;\ + for i in $$DATA_DIRS_REVERSED; do \ +- chmod o+w $(pkgdatadir)/$$i/..;\ +- rmdir $(pkgdatadir)/$$i;\ ++ chmod o+w $(DESTDIR)$(pkgdatadir)/$$i/..;\ ++ rmdir $(DESTDIR)$(pkgdatadir)/$$i;\ + done + + diff --git a/app-accessibility/epos/files/epos-2.5.35-sysportaudio.patch b/app-accessibility/epos/files/epos-2.5.35-sysportaudio.patch new file mode 100644 index 000000000000..b47fbb84b51b --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.35-sysportaudio.patch @@ -0,0 +1,43 @@ +diff -Naurp epos-2.5.35.orig/configure.ac epos-2.5.35/configure.ac +--- epos-2.5.35.orig/configure.ac 2005-07-02 01:01:47.000000000 -0700 ++++ epos-2.5.35/configure.ac 2005-07-20 15:58:24.000000000 -0700 +@@ -42,7 +42,7 @@ AC_ARG_ENABLE(portaudio, AC_HELP_STRING( + ;; + xyes) + EXTRA_PORTAUDIO_DEFS="" +- EXTRA_PORTAUDIO_LIBS="-lportaudio -lpablio -L../libs/portaudio/lib -lpthread" ++ EXTRA_PORTAUDIO_LIBS="-lportaudio -lpablio -lpthread" + ;; + *) AC_MSG_ERROR(bad value $enableval for --enable-portaudio) ;; + esac], +diff -Naurp epos-2.5.35.orig/libs/Makefile.am epos-2.5.35/libs/Makefile.am +--- epos-2.5.35.orig/libs/Makefile.am 2005-04-07 13:13:53.000000000 -0700 ++++ epos-2.5.35/libs/Makefile.am 2005-07-20 15:57:51.000000000 -0700 +@@ -3,12 +3,6 @@ + include $(top_srcdir)/Makefile.common + include data_files.am + +-if PORTAUDIO +-MAYBE_PORTAUDIO=portaudio +-else !PORTAUDIO +-MAYBE_PORTAUDIO= +-endif !PORTAUDIO +- +-SUBDIRS = regex $(MAYBE_PORTAUDIO) ++SUBDIRS = regex + + EXTRA_DIST = $(DATA_FILES) +diff -Naurp epos-2.5.35.orig/src/waveform.cc epos-2.5.35/src/waveform.cc +--- epos-2.5.35.orig/src/waveform.cc 2005-07-02 02:09:34.000000000 -0700 ++++ epos-2.5.35/src/waveform.cc 2005-07-20 15:57:51.000000000 -0700 +@@ -396,8 +396,8 @@ wavefm::written_bytes() + + #ifdef WANT_PORTAUDIO_PABLIO + +-#include "../libs/portaudio/pa_common/portaudio.h" +-#include "../libs/portaudio/pablio/pablio.h" ++#include <portaudio/portaudio.h> ++#include <portaudio/pablio.h> + + inline const char *pa_get_error_text(PaError err) + { |