diff options
author | Jan Breuer <jan.breuer@mobatime.cz> | 2018-04-09 11:50:50 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2018-05-24 17:57:47 -0400 |
commit | b200d21e293b99f166eadbaace8bbe1236a4199e (patch) | |
tree | 63aff70a6cdf2c0b96737ee4624cdb09950a8da4 /app-accessibility/epos | |
parent | app-accessibility/epos: fix running on GCC-6 (diff) | |
download | gentoo-b200d21e293b99f166eadbaace8bbe1236a4199e.tar.gz gentoo-b200d21e293b99f166eadbaace8bbe1236a4199e.tar.bz2 gentoo-b200d21e293b99f166eadbaace8bbe1236a4199e.zip |
app-accessibility/epos: install usable voices
Bug: https://bugs.gentoo.org/526224
Closes: https://bugs.gentoo.org/526224
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-accessibility/epos')
-rw-r--r-- | app-accessibility/epos/Manifest | 1 | ||||
-rw-r--r-- | app-accessibility/epos/epos-2.5.37-r3.ebuild | 54 | ||||
-rw-r--r-- | app-accessibility/epos/metadata.xml | 3 |
3 files changed, 58 insertions, 0 deletions
diff --git a/app-accessibility/epos/Manifest b/app-accessibility/epos/Manifest index 5b1848f15f7c..ee944e90543d 100644 --- a/app-accessibility/epos/Manifest +++ b/app-accessibility/epos/Manifest @@ -1 +1,2 @@ DIST epos-2.5.37.tar.gz 976240 BLAKE2B 9304ea32f9506f130d13f5c1d14ad2dcc448cf978d0f7cd26f6bc97397f4590bd5456c9a529dbb941eb53f19cd64b849a1cbf5aee402a8eb171dbacfc85ada03 SHA512 870718a5e7b5048eafd62c478963de92fe8a90b3e755f79ea665dc33ad762c0ec4ebaf7c99d5f2be8983a0deacba284ae07b24d9a31bdd1a1eff5924327255ef +DIST epos-tdp.tgz 31145030 BLAKE2B 9cfb9ae85c2db44050be7a8536da2ce2a9511c82dd9f4ae4ea9dc1ce70b29931b791518236b9649b86d8713c22535592af99875978cfd443fdbc88fc08b38eac SHA512 0ba7f22d4e150c63ab60537bcba570ee54caa84cb9e36290b46a2d48a7202969f188a9cc8fdf521154da29f1b935fb15dbe38fe4df7e3cdac19f400bbff93720 diff --git a/app-accessibility/epos/epos-2.5.37-r3.ebuild b/app-accessibility/epos/epos-2.5.37-r3.ebuild new file mode 100644 index 000000000000..37ac103df46c --- /dev/null +++ b/app-accessibility/epos/epos-2.5.37-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="language independent text-to-speech system" +HOMEPAGE="http://epos.ufe.cz/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + voices? ( mirror://sourceforge/${PN}/voices/Czech%20_%20Machac%2BViolka%2C%20July%2005/epos-tdp.tgz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="+voices" + +DEPEND=">=app-text/sgmltools-lite-3.0.3-r9 + dev-util/byacc" +RDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-2.5.37-gcc43.patch + "${FILESDIR}"/${PN}-2.5.37-gcc45.patch + "${FILESDIR}"/${PN}-2.5.37-gcc47.patch + "${FILESDIR}"/${PN}-2.5.37-disable-tests.patch + "${FILESDIR}"/${PN}-2.5.37-gcc7.patch +) + +src_prepare() { + default + sed -i -e "s/CCC/#CCC/" configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --enable-charsets \ + --disable-portaudio \ + CXXFLAGS=-fno-delete-null-pointer-checks \ + YACC=byacc +} + +src_install() { + default + + doinitd "${FILESDIR}/eposd" + dodoc WELCOME THANKS Changes "${FILESDIR}/README.gentoo" + if use voices ; then + insinto /usr/share/${PN}/inv/ + doins -r ../tdp + fi +} diff --git a/app-accessibility/epos/metadata.xml b/app-accessibility/epos/metadata.xml index ff924802b4d4..8c2b0ba300d4 100644 --- a/app-accessibility/epos/metadata.xml +++ b/app-accessibility/epos/metadata.xml @@ -8,4 +8,7 @@ <upstream> <remote-id type="sourceforge">epos</remote-id> </upstream> + <use> + <flag name="voices">Adds additional voices</flag> + </use> </pkgmetadata> |