summaryrefslogtreecommitdiff
path: root/app-accessibility
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-accessibility
reinit the tree, so we can have metadata
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/SphinxTrain/Manifest9
-rw-r--r--app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild40
-rw-r--r--app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild39
-rw-r--r--app-accessibility/SphinxTrain/files/gcc.patch34
-rw-r--r--app-accessibility/SphinxTrain/files/gcc34.patch11
-rw-r--r--app-accessibility/SphinxTrain/metadata.xml21
-rw-r--r--app-accessibility/accerciser/Manifest5
-rw-r--r--app-accessibility/accerciser/accerciser-3.22.0.ebuild65
-rw-r--r--app-accessibility/accerciser/metadata.xml13
-rw-r--r--app-accessibility/at-spi2-atk/Manifest16
-rw-r--r--app-accessibility/at-spi2-atk/at-spi2-atk-2.22.0.ebuild48
-rw-r--r--app-accessibility/at-spi2-atk/at-spi2-atk-2.24.1.ebuild48
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-collection.xml20
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-document.xml7
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-editable-text.xml9
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-hypertext.xml6
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-image.xml7
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-selection.xml16
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-table.xml70
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-text.xml9
-rw-r--r--app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-value.xml6
-rw-r--r--app-accessibility/at-spi2-atk/metadata.xml8
-rw-r--r--app-accessibility/at-spi2-core/Manifest8
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.22.1.ebuild60
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.24.1.ebuild60
-rw-r--r--app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch13
-rw-r--r--app-accessibility/at-spi2-core/metadata.xml8
-rw-r--r--app-accessibility/brltty/Manifest11
-rw-r--r--app-accessibility/brltty/brltty-5.2-r1.ebuild189
-rw-r--r--app-accessibility/brltty/files/brltty-5.2-fix-ldflags.patch56
-rw-r--r--app-accessibility/brltty/files/brltty-5.2-major.patch59
-rw-r--r--app-accessibility/brltty/files/brltty-5.2-respect-AR.patch12
-rw-r--r--app-accessibility/brltty/files/brltty-5.2-udev.patch28
-rw-r--r--app-accessibility/brltty/files/brltty.rc12
-rw-r--r--app-accessibility/brltty/files/brltty.tmpfiles.conf1
-rw-r--r--app-accessibility/brltty/metadata.xml29
-rw-r--r--app-accessibility/caribou/Manifest5
-rw-r--r--app-accessibility/caribou/caribou-0.4.21.ebuild92
-rw-r--r--app-accessibility/caribou/metadata.xml15
-rw-r--r--app-accessibility/edbrowse/Manifest6
-rw-r--r--app-accessibility/edbrowse/edbrowse-3.5.1.ebuild60
-rw-r--r--app-accessibility/edbrowse/files/edbrowse-3.5.1-implicit-decl.patch22
-rw-r--r--app-accessibility/edbrowse/metadata.xml12
-rw-r--r--app-accessibility/eflite/Manifest8
-rw-r--r--app-accessibility/eflite/eflite-0.4.1-r3.ebuild45
-rw-r--r--app-accessibility/eflite/files/eflite-0.4.1-flite14.patch24
-rw-r--r--app-accessibility/eflite/files/eflite.rc28
-rw-r--r--app-accessibility/eflite/files/es.conf11
-rw-r--r--app-accessibility/eflite/metadata.xml33
-rw-r--r--app-accessibility/emacspeak-ss/Manifest6
-rw-r--r--app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild31
-rw-r--r--app-accessibility/emacspeak-ss/files/gentoo-apollo-fix.patch24
-rw-r--r--app-accessibility/emacspeak-ss/metadata.xml23
-rw-r--r--app-accessibility/emacspeak/Manifest6
-rw-r--r--app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild80
-rw-r--r--app-accessibility/emacspeak/emacspeak-9999.ebuild80
-rw-r--r--app-accessibility/emacspeak/metadata.xml23
-rw-r--r--app-accessibility/epos/Manifest11
-rw-r--r--app-accessibility/epos/epos-2.5.37-r2.ebuild44
-rw-r--r--app-accessibility/epos/files/README.gentoo2
-rw-r--r--app-accessibility/epos/files/epos-2.5.37-disable-tests.patch16
-rw-r--r--app-accessibility/epos/files/epos-2.5.37-gcc43.patch23
-rw-r--r--app-accessibility/epos/files/epos-2.5.37-gcc45.patch15
-rw-r--r--app-accessibility/epos/files/epos-2.5.37-gcc47.patch16
-rw-r--r--app-accessibility/epos/files/eposd20
-rw-r--r--app-accessibility/epos/metadata.xml11
-rw-r--r--app-accessibility/espeak/Manifest9
-rw-r--r--app-accessibility/espeak/espeak-1.47.11-r1.ebuild97
-rw-r--r--app-accessibility/espeak/espeak-1.48.04-r1.ebuild100
-rw-r--r--app-accessibility/espeak/espeak-1.48.04.ebuild97
-rw-r--r--app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch13
-rw-r--r--app-accessibility/espeak/metadata.xml14
-rw-r--r--app-accessibility/espeakup/Manifest10
-rw-r--r--app-accessibility/espeakup/espeakup-0.71-r1.ebuild58
-rw-r--r--app-accessibility/espeakup/espeakup-0.80.ebuild62
-rw-r--r--app-accessibility/espeakup/espeakup-9999.ebuild62
-rw-r--r--app-accessibility/espeakup/files/espeakup.confd9
-rw-r--r--app-accessibility/espeakup/files/espeakup.rc12
-rw-r--r--app-accessibility/espeakup/metadata.xml18
-rw-r--r--app-accessibility/festival-fi/Manifest8
-rw-r--r--app-accessibility/festival-fi/festival-fi-20041119.ebuild46
-rw-r--r--app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch18
-rw-r--r--app-accessibility/festival-fi/metadata.xml12
-rw-r--r--app-accessibility/festival-freebsoft-utils/Manifest7
-rw-r--r--app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.10.ebuild31
-rw-r--r--app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.2.ebuild23
-rw-r--r--app-accessibility/festival-freebsoft-utils/metadata.xml11
-rw-r--r--app-accessibility/festival-hts/Manifest10
-rw-r--r--app-accessibility/festival-hts/festival-hts-2.1.ebuild27
-rw-r--r--app-accessibility/festival-hts/metadata.xml12
-rw-r--r--app-accessibility/festival-it/Manifest5
-rw-r--r--app-accessibility/festival-it/festival-it-1.0-r2.ebuild82
-rw-r--r--app-accessibility/festival-it/metadata.xml18
-rw-r--r--app-accessibility/festival-ru/Manifest5
-rw-r--r--app-accessibility/festival-ru/festival-ru-0.5.ebuild34
-rw-r--r--app-accessibility/festival-ru/metadata.xml15
-rw-r--r--app-accessibility/festival/Manifest18
-rw-r--r--app-accessibility/festival/festival-2.1-r1.ebuild126
-rw-r--r--app-accessibility/festival/files/festival-2.1-gcc4.7.patch29
-rw-r--r--app-accessibility/festival/files/festival-2.1-gentoo-system.patch124
-rw-r--r--app-accessibility/festival/files/festival-2.1-init-scm.patch24
-rw-r--r--app-accessibility/festival/files/festival-2.1-ldflags.patch12
-rw-r--r--app-accessibility/festival/metadata.xml12
-rw-r--r--app-accessibility/flite/Manifest10
-rw-r--r--app-accessibility/flite/files/flite-1.4-audio-interface.patch22
-rw-r--r--app-accessibility/flite/files/flite-1.4-fix-parallel-builds.patch25
-rw-r--r--app-accessibility/flite/files/flite-1.4-ldflags.patch35
-rw-r--r--app-accessibility/flite/files/flite-1.4-respect-destdir.patch59
-rw-r--r--app-accessibility/flite/files/flite-1.4-tempfile.patch50
-rw-r--r--app-accessibility/flite/flite-1.4-r4.ebuild74
-rw-r--r--app-accessibility/flite/metadata.xml12
-rw-r--r--app-accessibility/freetts/Manifest8
-rw-r--r--app-accessibility/freetts/files/jsapi-gentoo.diff194
-rw-r--r--app-accessibility/freetts/freetts-1.2.1-r2.ebuild65
-rw-r--r--app-accessibility/freetts/freetts-1.2.2.ebuild86
-rw-r--r--app-accessibility/freetts/metadata.xml19
-rw-r--r--app-accessibility/julius/Manifest7
-rw-r--r--app-accessibility/julius/files/julius-4.2.2-install.patch344
-rw-r--r--app-accessibility/julius/files/julius-4.2.2-ldflags.patch11
-rw-r--r--app-accessibility/julius/julius-4.2.2.ebuild62
-rw-r--r--app-accessibility/julius/metadata.xml11
-rw-r--r--app-accessibility/mbrola/Manifest28
-rw-r--r--app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild99
-rw-r--r--app-accessibility/mbrola/metadata.xml12
-rw-r--r--app-accessibility/metadata.xml39
-rw-r--r--app-accessibility/nfbtrans/Manifest10
-rw-r--r--app-accessibility/nfbtrans/files/nfbtrans-7.74-gentoo-fix.patch11
-rw-r--r--app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch40
-rw-r--r--app-accessibility/nfbtrans/files/nfbtrans-7.74-respect-ldflags.patch24
-rw-r--r--app-accessibility/nfbtrans/metadata.xml11
-rw-r--r--app-accessibility/nfbtrans/nfbtrans-7.74-r1.ebuild41
-rw-r--r--app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild46
-rw-r--r--app-accessibility/nfbtrans/nfbtrans-7.74.ebuild38
-rw-r--r--app-accessibility/orca/Manifest7
-rw-r--r--app-accessibility/orca/metadata.xml18
-rw-r--r--app-accessibility/orca/orca-3.22.2.ebuild72
-rw-r--r--app-accessibility/orca/orca-3.24.0.ebuild72
-rw-r--r--app-accessibility/perlbox-voice/Manifest5
-rw-r--r--app-accessibility/perlbox-voice/metadata.xml8
-rw-r--r--app-accessibility/perlbox-voice/perlbox-voice-0.09-r2.ebuild23
-rw-r--r--app-accessibility/pidgin-festival/Manifest5
-rw-r--r--app-accessibility/pidgin-festival/metadata.xml11
-rw-r--r--app-accessibility/pidgin-festival/pidgin-festival-2.4.ebuild24
-rw-r--r--app-accessibility/pocketsphinx/Manifest5
-rw-r--r--app-accessibility/pocketsphinx/metadata.xml11
-rw-r--r--app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild50
-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
-rw-r--r--app-accessibility/simon/Manifest12
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-libdir.patch16
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-linguas.patch87
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch24
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-opencv-include.patch20
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-sphinx.patch16
-rw-r--r--app-accessibility/simon/metadata.xml12
-rw-r--r--app-accessibility/simon/simon-0.4.1.ebuild89
-rw-r--r--app-accessibility/simon/simon-0.4.90.ebuild63
-rw-r--r--app-accessibility/sound-icons/Manifest5
-rw-r--r--app-accessibility/sound-icons/metadata.xml14
-rw-r--r--app-accessibility/sound-icons/sound-icons-0.1.ebuild28
-rw-r--r--app-accessibility/speech-dispatcher/Manifest7
-rw-r--r--app-accessibility/speech-dispatcher/metadata.xml19
-rw-r--r--app-accessibility/speech-dispatcher/speech-dispatcher-0.8.1.ebuild109
-rw-r--r--app-accessibility/speech-dispatcher/speech-dispatcher-0.8.3.ebuild108
-rw-r--r--app-accessibility/speech-tools/Manifest8
-rw-r--r--app-accessibility/speech-tools/files/speech-tools-2.1-underlinking.patch11
-rw-r--r--app-accessibility/speech-tools/metadata.xml12
-rw-r--r--app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild107
-rw-r--r--app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild117
-rw-r--r--app-accessibility/speechd-el/Manifest5
-rw-r--r--app-accessibility/speechd-el/metadata.xml18
-rw-r--r--app-accessibility/speechd-el/speechd-el-2.5.ebuild41
-rw-r--r--app-accessibility/sphinx2/Manifest6
-rw-r--r--app-accessibility/sphinx2/files/sphinx2-0.6-as-needed.patch25
-rw-r--r--app-accessibility/sphinx2/metadata.xml15
-rw-r--r--app-accessibility/sphinx2/sphinx2-0.6.ebuild29
-rw-r--r--app-accessibility/sphinx3/Manifest7
-rw-r--r--app-accessibility/sphinx3/files/sphinx3-0.8-libutil.patch18
-rw-r--r--app-accessibility/sphinx3/files/sphinx3-0.8_heap_fix.patch34
-rw-r--r--app-accessibility/sphinx3/metadata.xml11
-rw-r--r--app-accessibility/sphinx3/sphinx3-0.8-r1.ebuild60
-rw-r--r--app-accessibility/sphinxbase/Manifest7
-rw-r--r--app-accessibility/sphinxbase/files/sphinxbase-0.8-automake113.patch25
-rw-r--r--app-accessibility/sphinxbase/files/sphinxbase-0.8-unbundle-lapack.patch85
-rw-r--r--app-accessibility/sphinxbase/metadata.xml11
-rw-r--r--app-accessibility/sphinxbase/sphinxbase-0.8.ebuild79
-rw-r--r--app-accessibility/yasr/Manifest9
-rw-r--r--app-accessibility/yasr/files/yasr-0.6.9-automake113.patch17
-rw-r--r--app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch26
-rw-r--r--app-accessibility/yasr/files/yasr-0.6.9-gettext018.patch13
-rw-r--r--app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch29
-rw-r--r--app-accessibility/yasr/metadata.xml11
-rw-r--r--app-accessibility/yasr/yasr-0.6.9-r1.ebuild53
196 files changed, 6507 insertions, 0 deletions
diff --git a/app-accessibility/SphinxTrain/Manifest b/app-accessibility/SphinxTrain/Manifest
new file mode 100644
index 000000000000..50f373f4327c
--- /dev/null
+++ b/app-accessibility/SphinxTrain/Manifest
@@ -0,0 +1,9 @@
+AUX gcc.patch 816 SHA256 b56ed4d770fd9a3587e2145042433ef97ffba11e3e97173ed76c532dab19d5f7 SHA512 24684e55ae3f1d419711172439f9a7faf63c8ae661982ea8609d7d054dd1c94d0b2cf6d4bc056165495604e6b6d68f68d051196357bc468f800a48c3edc21016 WHIRLPOOL a709c0256ed39a82dfa73f7405fbe2fa9a7a38241312b0acf870bc4cb521a0b0e3a18349899f6baf475576bb6849ea9ef21812843bc6965e28e23467c0fb00e9
+AUX gcc34.patch 333 SHA256 c107b0c9f0478d6c4ad268c35c94162c4acaeb2ea1e1b115dc28db7cbe7abda9 SHA512 99199433c702a28451e08270d2388773d65460b00bcc5d68544017d9a99ede9242078c63393d59a945fb54e725bed37987d80d68516b8dbd05911b463f7faa16 WHIRLPOOL efce2fa61e83c689831c62599e60e6b16193e76068579899907b11a20fe689789f9fdd6e19b3e1ca2d89d62745bd9b4743381d2e9fa150b9412750e20016a51d
+DIST SphinxTrain-0.9.1-beta.tar.gz 469617 SHA256 c1a4b74a3e26777b80ddd7a026547aad194040cca8595e6fe1be320a19f99d18 SHA512 1b33a58a6e05069369fe1ba668609e5a25d6a49fbf2fed1f5d86bdc1fc43d4544627c438e61d46003c2dbd8d7fa6f41c686b57cbca215f73b6c4ba0d7682076d WHIRLPOOL 6399233f803f37d8d267a5005a5cb158513cb64b2b7b3727cb9ee93c46781f29e5ed0729c1d7d1e586de49ede098a7d9658c285399bae0d633f34657000074c8
+DIST sphinxtrain-1.0.8.tar.gz 8925803 SHA256 548e3e513ceaa1b2fd6fd7ed1724349e0a4bf7bdeb11be9c91787e6f2b865203 SHA512 465d2c4ade9acc7b49c1d975449c38ac01d5a3ff332f9841be66cd8ca9d2f0b68fd36cc8a46384c8b510042efa91c3887a080481e84f2d0deb9775a598835f2b WHIRLPOOL d9ccbe09d125579e15167fa625bb72c86e114f9c394e909488216ae2f4e6af4c7b968d469455b65c4aff2a41a7d97701ac290df2cbc6b0450c64c94b042ae94d
+EBUILD SphinxTrain-0.9.1-r1.ebuild 932 SHA256 3d3b459051a70dd01040c2a9aa66709f0d108b46fb902fe994cb892cf4e93539 SHA512 be4dab7912c5b7becb3a861eb0b2c049e8c1d66f800386820101cde9280d4004bd401b0e39d6a9261504a1952c4274a82cdc9597d8bfb250ecc95b051ff42cce WHIRLPOOL 2be42455de13db703bba1280c9bb264aba2457139ba9fb05e1d50f787b57a75badb818c46e304184d28fef5aa40919376fe959ffc4f6b6a7aeb5cc50c38884fc
+EBUILD SphinxTrain-1.0.8.ebuild 912 SHA256 f68189fe0e0ea071679cf7ec6416a431aa8f24e6b0d3b413ab9c37e4b21df036 SHA512 0749bae26704e502550088fea9f1d4f6d34910c4668828c6ddc10a571fe2befc1e41f5444ed1ecbef71586858231f04ebf16b5debb0617091099624111293f4a WHIRLPOOL 3ae9d0f8e429ea790c6d21d7501384a0d63207f14f1b870050fd6cf9d9d2bd3536353c77e5309b602043c297752796a7d5036c12c0a1345c64d6725aba1eb44e
+MISC ChangeLog 2554 SHA256 2f9c9b3b580442e3538573a883f05e4a48f2ba9ab980209e6cb19ea8f4bad788 SHA512 fae5e5e6c0b53693294fbdf5d6c5621b06febad77b7de7769f5743e903d561574bc738e45b171bc3d065ede5a24947e2fd1f5ad26e802936fc0d8c62c50b53f2 WHIRLPOOL 2ab9996757370ea662cef856a974ee8468da98c67f4788bb7ff7ef74fee24b409b922e505f55067336ff55acc79871d37e0a3a971e54c1380118256909c94894
+MISC ChangeLog-2015 3258 SHA256 2008ab765091991847d23f944ff6e25907d9171865c97f980b0d7a6bcd84ab71 SHA512 5eea411b3c7884da50d3ce1e2c3a40e97a444c93341c22f785d9fbc492a55848d78560880e2c19e9d8bc74b026e22407aecfef31cd71d764e17c9299982728e4 WHIRLPOOL fa152fba914bd6a10d2e85837ee56f9ae45f82bc9f3c2896e268f8566a78ef85f78ac86558839957c1f320a5be153bf5cca4096d84532936256d4121c76fae11
+MISC metadata.xml 664 SHA256 97c64e241d17d7e4e0dde0462773363d0723d58624b9d003e97c3e4850989070 SHA512 1175faeff9cb4d6e0d231a613f0768d839e94d68b499193d218430894fc7ad7374e2028e0f07d707178394d9ef5322e7c061a179b70b69ee79b2bddf35f5195c WHIRLPOOL 895f0492f0f42f4cc502899d6caedcb7c0b1bf363b0b45c561c30effff2b3f67af91a5bc444c3241929381109de7874d52db731ef9d4dba2bf54338174f79312
diff --git a/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild b/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..a8b4f8a1fbb5
--- /dev/null
+++ b/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Speech Recognition (Training Module)"
+HOMEPAGE="http://cmusphinx.sourceforge.net/html/cmusphinx.php"
+SRC_URI="http://www.speech.cs.cmu.edu/${PN}/${P}-beta.tar.gz"
+
+LICENSE="BSD-with-attribution"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+DEPEND="app-accessibility/sphinx2
+ app-accessibility/festival"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/gcc.patch
+ epatch "${FILESDIR}"/gcc34.patch
+ tc-export CC AR RANLIB
+}
+
+src_install() {
+ # dobin bin.*/* fails ... see bug #73586
+ find bin.* -mindepth 1 -maxdepth 1 -type f -exec dobin '{}' \; || die
+
+ dodoc README etc/*cfg
+ dohtml doc/*{txt,html,sgml}
+}
+
+pkg_postinst() {
+ elog "Detailed usage and training instructions can be found at"
+ elog "http://www.speech.cs.cmu.edu/SphinxTrain/"
+}
diff --git a/app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild b/app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild
new file mode 100644
index 000000000000..6b11a50e8c74
--- /dev/null
+++ b/app-accessibility/SphinxTrain/SphinxTrain-1.0.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit multilib python-single-r1
+
+DESCRIPTION="Speech Recognition (Training Module)"
+HOMEPAGE="http://cmusphinx.sourceforge.net/html/cmusphinx.php"
+SRC_URI="mirror://sourceforge/cmusphinx/sphinxtrain-${PV}.tar.gz"
+
+LICENSE="BSD-with-attribution"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="app-accessibility/sphinxbase
+ dev-lang/perl
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/sphinxtrain-${PV}
+
+src_install() {
+ default
+ dodoc README etc/*cfg
+
+ python_fix_shebang "${D}"/usr/bin/sphinxtrain
+ python_optimize "${D}"/usr/$(get_libdir)/sphinxtrain/python/cmusphinx
+}
+
+pkg_postinst() {
+ elog "Detailed usage and training instructions can be found at"
+ elog "http://cmusphinx.sourceforge.net/wiki/"
+}
diff --git a/app-accessibility/SphinxTrain/files/gcc.patch b/app-accessibility/SphinxTrain/files/gcc.patch
new file mode 100644
index 000000000000..e3c51275f910
--- /dev/null
+++ b/app-accessibility/SphinxTrain/files/gcc.patch
@@ -0,0 +1,34 @@
+--- src/programs/count_3phone/wrec.h.orig 2003-09-28 18:51:49.000000000 +0900
++++ src/programs/count_3phone/wrec.h 2003-09-28 18:52:23.000000000 +0900
+@@ -44,7 +44,7 @@
+ #define WREC_H
+
+ #include "phrec.h"
+-#include <varargs.h>
++#include <stdarg.h>
+
+ int quit (int status, char *fmt, ...);
+
+--- src/programs/count_3phone/quit.c.orig 2003-09-28 19:12:56.000000000 +0900
++++ src/programs/count_3phone/quit.c 2003-09-28 19:13:12.000000000 +0900
+@@ -74,17 +74,14 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <varargs.h>
++#include <stdarg.h>
+
+-int quit (status,fmt,va_alist)
+- int status;
+- char *fmt;
+- va_dcl
++int quit (int status,char *fmt,...)
+ {
+ va_list args;
+
+ fflush(stdout);
+- va_start(args);
++ va_start(args, fmt);
+ (void) vfprintf(stderr, fmt, args);
+ va_end(args);
+ exit(status);
diff --git a/app-accessibility/SphinxTrain/files/gcc34.patch b/app-accessibility/SphinxTrain/files/gcc34.patch
new file mode 100644
index 000000000000..124aa993edc9
--- /dev/null
+++ b/app-accessibility/SphinxTrain/files/gcc34.patch
@@ -0,0 +1,11 @@
+--- SphinxTrain/src/programs/count_3phone/phone_word_io.c~ 2001-04-05 16:00:33.000000000 -0400
++++ SphinxTrain/src/programs/count_3phone/phone_word_io.c 2005-05-01 12:48:42.000000000 -0400
+@@ -71,7 +71,7 @@
+ #ifdef __alpha
+ void *malloc();
+ #else
+-char *malloc();
++//char *malloc();
+ #endif
+
+ extern int Num_Phones, Num_Words;
diff --git a/app-accessibility/SphinxTrain/metadata.xml b/app-accessibility/SphinxTrain/metadata.xml
new file mode 100644
index 000000000000..fa02e6314d59
--- /dev/null
+++ b/app-accessibility/SphinxTrain/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+ <longdescription lang="en">
+ SphinxTrain is CMU Sphinx's training package.
+</longdescription>
+ <longdescription lang="ja">
+ SphinxTrainはCMU Sphinxの調教パッケージです。
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">cmusphinx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/accerciser/Manifest b/app-accessibility/accerciser/Manifest
new file mode 100644
index 000000000000..89bb70220dbf
--- /dev/null
+++ b/app-accessibility/accerciser/Manifest
@@ -0,0 +1,5 @@
+DIST accerciser-3.22.0.tar.xz 3060756 SHA256 883306274442c7ecc076b24afca5190c835c40871ded1b9790da69347e9ca3c5 SHA512 980db5dcd0bdc78314ab87cce95cfcfa018bf302acc66ea2dd1bddfb61de5bfe2e64344cff63740c38be33124ff49c75699aa6867d5e85b25d422b5af1b025c1 WHIRLPOOL b30adca45e02d5fb684adbbbb4a3b608d8703fad0e5e5b9ed690f339419792e3bcd9ef486ca4508ceb7c870ae227243b383daf3cac0af1f6bc39323f0c28b1ef
+EBUILD accerciser-3.22.0.ebuild 1440 SHA256 79877d296ff3f6e7c8fa0326c2a3d50474ed6fbe9506f43584e7bfa1ccde1fe1 SHA512 a4b1c965682e3e152c1083edf149c0a8d772423d1ce9f4a18d0fa66d5cb489357b88cf65649f607564419a4d0bd3aa4010cbfbab3072ba58b6dce8f061aa2514 WHIRLPOOL ab118bc346681ef468cd84d7ee3512997d3094f5de62fd3b0a221c16e301c79ef9d1ec03e25bc3eb1a9afc4b1616bd9edc3aa58562e2673e1ba35cdf9dcd18f8
+MISC ChangeLog 3453 SHA256 e001b62c02cadc171bfb1ef94bd99d7cc0b1917217540e859d951e99a57e1f49 SHA512 5714cd6f2ac2b5680826a713cc7533c8d49fdc006edca87fcc47cd905749d31daf9fdc735d73e780f04742d3d7e8776da6595f276ee894dbc395d8fd8b4c015f WHIRLPOOL 95abf3c87e90194a506480be5f0f3432e04192d28edd1dd6b3900db902c704dffa3fdd5e0516a8397ac5110f2a0dad6956c7175a0cbdd80eb8f23d65450ccecf
+MISC ChangeLog-2015 6560 SHA256 7cf3f5070607b53f350494ff5921af7f999437949b02129b4cc40c8c6c21264a SHA512 26fbec15c82209c0d4fdc4ba0f295bf1db18ca3d805541e47c1a094a9e214072aefb6e120742901f5ea3bbbada9c8e53805833975dc7c4b3db72f18c963e6d2c WHIRLPOOL 2078b0b719c1c9e2ab0d411744637db8ef293b85352093866d2cb30242ed3bb292ed9f19051e174adaf835ab1f52ca946305d91358f173138e5388433befee98
+MISC metadata.xml 738 SHA256 efa00e13497196a77e7c5775b6ebdb465811f31a835280768725e953e98c583d SHA512 78780d3254a608f95d3532de8a7438e891bd2e194ac8a255f2d224e8f4b41c2928b2efe04ae16050d0092f9e25f77800728f0be9b7cb3bcb955455532d4154e6 WHIRLPOOL 2bb819201f2889353b460005c9effac56084fb499aa56f073c0319378d68c90614b976010051d79d71b059985d27ea78fc0081d7b7e79a00ed07737710b147ca
diff --git a/app-accessibility/accerciser/accerciser-3.22.0.ebuild b/app-accessibility/accerciser/accerciser-3.22.0.ebuild
new file mode 100644
index 000000000000..202c73d492ab
--- /dev/null
+++ b/app-accessibility/accerciser/accerciser-3.22.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{3_4,3_5} )
+PYTHON_REQ_USE="xml"
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Interactive Python accessibility explorer"
+HOMEPAGE="https://wiki.gnome.org/Apps/Accerciser"
+
+LICENSE="BSD CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.5.2:2
+ >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
+ >=x11-libs/gtk+-3.1.13:3[introspection]
+
+ dev-libs/atk[introspection]
+ >=dev-libs/glib-2.28:2
+ dev-libs/gobject-introspection:=
+ >=dev-python/ipython-0.11[${PYTHON_USEDEP}]
+ >=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ x11-libs/gdk-pixbuf[introspection]
+ x11-libs/libwnck:3[introspection]
+ x11-libs/pango[introspection]
+ ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}
+ app-text/yelp-tools
+ >=dev-util/intltool-0.35
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Leave shebang alone
+ sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die
+
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir gnome2_src_configure
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_install() {
+ installing() {
+ gnome2_src_install
+ python_doscript src/accerciser
+ }
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/app-accessibility/accerciser/metadata.xml b/app-accessibility/accerciser/metadata.xml
new file mode 100644
index 000000000000..b361a7a06606
--- /dev/null
+++ b/app-accessibility/accerciser/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">
+Accerciser is an interactive Python accessibility explorer for the GNOME desktop. It uses AT-SPI to inspect and control widgets, allowing you to check if an application is providing correct information to assistive technologies and automated test frameworks. Accerciser has a simple plugin framework which you can use to create custom views of accessibility information.
+
+In essence, Accerciser is a next generation at-poke tool.
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/at-spi2-atk/Manifest b/app-accessibility/at-spi2-atk/Manifest
new file mode 100644
index 000000000000..bbc4c6a0b864
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/Manifest
@@ -0,0 +1,16 @@
+AUX at-spi2-atk-2.20.0-tests-data/test-collection.xml 877 SHA256 c6e4019911c9e704ab1533030c4c9253b615510c7b782d46458d31e80f3db835 SHA512 b9ecedf2551b4cf61a70863b807c064460f0b29c8c60b9a76adb151bcd0c65a466f5e827ef31ae6f6101eb68b89ffad4b5670598b79bcd3533804414c6ee5987 WHIRLPOOL 68e05127b1b58ac9eefdcd042a741b0a2455bf67bad5dc32837acf498f94806de25579594b75f1fbd3322d7bc35f66a02da07ba4170da2b1be2305e9a3499334
+AUX at-spi2-atk-2.20.0-tests-data/test-document.xml 369 SHA256 e5c652933c72a2f8b1e7991f31f56f5bfe9151b38baebf69fbf551349fef9415 SHA512 1c840c308794dc3000167629af3a230e962c30955a31b48e5e44e3865d35d8ddefd052d3bfecf38d1a54ad5691945ffbdef9f0fb9caa3bf8b8d1fac7c4cb2205 WHIRLPOOL 87551c78ee9c1dc983cf1b7a1434b8c0c65bd90fe383f6acebeb426a333d172c75b2f3376b9d32050b2538547246ed7ba48a5fdfcc95142a979c9171b79fce1e
+AUX at-spi2-atk-2.20.0-tests-data/test-editable-text.xml 434 SHA256 5e98c71274cf35e263a503a37c39899aa9c74aac77011271d2b31bbcc4b298f4 SHA512 b15bff81787556b22df0db4ff076f2c048cacb20b56bd322066c48457510df3906161eddc2292061a189462bb3e16422a0d859b2d5c402ddf90886d8028512aa WHIRLPOOL 0c2dafc5af44e1422bdf9472142e3373e8f5280deb585024cda30f68bbd0df62727e71f494e6dfaaa835040d07a2943bb55a47d53fd3172d4d03ea5bd498a718
+AUX at-spi2-atk-2.20.0-tests-data/test-hypertext.xml 342 SHA256 cfbb1f7ddc69901f20746421737efabea709023d2463f02a558c66df997fdfa1 SHA512 3af7a51f182252ed7e234c2296c19f4ab1fc2fb6685bec7cf74489443d0ca694ce04d721dcb440f274f37fe07773f6b70952ff56e882d3d83129cf696a835edd WHIRLPOOL f872938433a4b63bf0a28329d8157a81a7dfeb3d09ac5777cea68b789e13bc1cee60e61035f93ab9447d8268cd2b9c96f1fc33a40c229cb0adba6b1b9ddaa532
+AUX at-spi2-atk-2.20.0-tests-data/test-image.xml 452 SHA256 0df49fa6e548ceac63fea8b96345eedb01b75024bb1eba1cb3b5ec3810b544ef SHA512 841e18395864d66658abfb7ca1fe45a781456da456e5084f13e0ecb7e8e9262db6e67bdbc1eb38df313fa016261ef8843fcca236cc97be903d91f503c26b5af0 WHIRLPOOL f1f09cdbb8e4961bbab684ce6b0d34b6c05a08bd8b686b86b8e81240cc8e30aee3285052e2eca9880e616014a2077baade43d9d16504c2ea7cbd10f7f390658a
+AUX at-spi2-atk-2.20.0-tests-data/test-selection.xml 770 SHA256 ceb6d497f1c2fd2a18cad4af14341e4202f5a0a0aada6e4630c8e87fe053a1dc SHA512 6771c5866050fcd0ba1397be23d0cfda6bd9c85b244511fbc85fe563d85c3fe8a2250bd63d764658e76960718cc10443a5eb04908748b6492bff8863e85c74f3 WHIRLPOOL 1896f77ca3300e8aa55d9778fcbe845a50a537d652124c8bffe53d6fe6c76b705cb9e207a265449916d6f3c8534d1fe37547f7357deb2e6654f02e4652e8b73d
+AUX at-spi2-atk-2.20.0-tests-data/test-table.xml 3651 SHA256 fe77283e8dce64dfa4b25751276200259c440a346aa567b5f113708b3c331901 SHA512 6c9a17ca1c548a9f3981101c2dcee35447d20e19dd117d7b7e5e3d557807adecbc8a589b317ef693366fcd4bdcc8988ba6ebcb7b3b3fa78a447a692ae43a5fb2 WHIRLPOOL 6a5a164a2f0e771bde6335b05568eb5b22473cbaabf596b49cec08484a69e781bedbc4c8e67658371f630eaa0d970e8b51df257aa80e7422ef04ea64f753b6e6
+AUX at-spi2-atk-2.20.0-tests-data/test-text.xml 561 SHA256 b0e1ef2ecf0aa252057de75a5304709eae242276913f136e10add4342fa3ef48 SHA512 ccb09491bb24d744633d88b555af94fa86739d1b226e9ad7fc15cb7ac3dec67a8cbe1a3c8b8d7272a681a978b1a72842bb88b2dd20567c3aa69b3d5797f6499a WHIRLPOOL cf45d128ecfb093300a5f1aa9d83f5f9fc9a64ffd9b5f8f8ff453a7ec9cabdb2191775af1686eefb4dcc1d686703fcd42b84ce673abc42bf5f14329fe480e822
+AUX at-spi2-atk-2.20.0-tests-data/test-value.xml 289 SHA256 d4c917c33fc0c611112d3304dfa10052e121de8db42eb7094170f50678e69580 SHA512 d099f5ac14396a6d6093efe1dd44f8455a1a737a41f208f728480de662d280d4fb17f846cf9c86966230315a344023fbb2c36c3511699d45f22208a16551bc33 WHIRLPOOL 79ed152ece546eac3576f873c3c5a66a3452cafaa8a3148ea76546876e7a0ed85cdee3382b7ac71a783837956745a982a2e571cb9887b021ca5b622bf375a103
+DIST at-spi2-atk-2.22.0.tar.xz 306148 SHA256 e8bdedbeb873eb229eb08c88e11d07713ec25ae175251648ad1a9da6c21113c1 SHA512 9b815eecbe01164df8a3341a3b0e1fe57a4f333964a0836f89f54712512a32d69c333c0c099eb194716d081f5460bb6e6d2c852f7218df51549e88e75880f284 WHIRLPOOL 830b19dda735aa1cd03296a852d22117e957b69de20f798f4728993594e7b578558f413f38ddfcf81a8a9ad544480722db7d088f2b38827ca4293b141eb18370
+DIST at-spi2-atk-2.24.1.tar.xz 308576 SHA256 60dc90ac4f74b8ffe96a9363c25208a443b381bacecfefea6de549f20ed6957d SHA512 5dbc186c7ea4f7f34aa0acaf90f683e549162caa274ba5b5818ae9992b52f1b475923d9818870978e87e3dacdf1018db31810d2d53b39bb4f068bcb64a423f23 WHIRLPOOL f946814957e463b746db598909884b688a0cc3bc47a9b48e1f7a10dc9ef1988784246cd6fdecb896f108557c379c611cd8614fa3aea7a74e03a6ed139d198b98
+EBUILD at-spi2-atk-2.22.0.ebuild 1305 SHA256 8527a310c791004c1079826e2ba871d9453e6f83fd01aa74fce69ccb700c79d6 SHA512 e9a31fbdabb3ed984bb7909faa53c4ea34915d551b2e24791282610819989168da73215586d470b4862620d334b68b0bd8832370c6a1b36b0482bdbbbdd225cf WHIRLPOOL af5508964ae69576b825ed9ee5b09ec7cb4ccaf0a562a2799cfed610f76f08843f88bffc9457e15e5c5fe5512a2804886dd07c363cbaaabe10966a28458653a8
+EBUILD at-spi2-atk-2.24.1.ebuild 1314 SHA256 6f4739617f5ddb6143639c3c57ab0a07cfd3cb128cce55496dfe8dccf1c6c1f8 SHA512 682d6dae219b7d16e32cf2cf6990dee0dd2361aa6b69e1fe0bc645292a48231c6764e4d75c64bf2bf4769c8df4d56dfcc7d74cb9eb88bb198c431398a5eeddba WHIRLPOOL a3dcf8591d6d08fcb2f19e213313ceee67f54540959e00a47bd53eefec7896cd9e794b79ca8ee1cbf5c3566d35cc60e3504535204ccb454212f3de0fd109223d
+MISC ChangeLog 8397 SHA256 f7eab45a8a977397a03ddea668f565682014a3cfaa49115a3028961e5561701e SHA512 b33be267cb15891fcc3d0534d113742a3fb7b3183b7813e6b3226d7d2177fb8f10c835a89bd81089ee9ae21981ebf3f6195fd086d96650c7690036af3b83a3b9 WHIRLPOOL b10937abe94f79ef2eb431b80c8d3829e5c859939d5f4743afa551073ab3cfe7d1701ff5ab3b6fded59690c8d285ab0652f01d087e17bd3a0adf489a296d9e8f
+MISC ChangeLog-2015 11131 SHA256 94de92058a0736f3840217523e5b1d587a655f243b41753c39a8c03f10c9544a SHA512 97ff2fdbc93d0813503fdf49092fae21729ce4f163f410dee7c2fce5e6c6773260480dcff92ff07d76c7fce1f4ea37530d8c54e29f5a833245c57f80109efa90 WHIRLPOOL 3760d91fa41b46c0a2578386759af1e58d1d4aa09e7a168681c534e2262267057e3abae36b9654d527c5dedb2a90db07cf9dbba1d0089b0ad1d2847be7efa74c
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/app-accessibility/at-spi2-atk/at-spi2-atk-2.22.0.ebuild b/app-accessibility/at-spi2-atk/at-spi2-atk-2.22.0.ebuild
new file mode 100644
index 000000000000..a2e617415d76
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/at-spi2-atk-2.22.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 multilib-minimal virtualx
+
+DESCRIPTION="Gtk module for bridging AT-SPI to Atk"
+HOMEPAGE="https://wiki.gnome.org/Accessibility"
+
+LICENSE="LGPL-2+"
+SLOT="2"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+COMMON_DEPEND="
+ >=app-accessibility/at-spi2-core-2.17.90[${MULTILIB_USEDEP}]
+ >=dev-libs/atk-2.15.4[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
+ >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
+"
+RDEPEND="${COMMON_DEPEND}
+ !<gnome-extra/at-spi-1.32.0-r1
+"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ test? ( >=dev-libs/libxml2-2.9.1 )
+"
+
+src_prepare() {
+ # Upstream forgot to put this in tarball, upstream #770615
+ cp -n "${FILESDIR}"/${PN}-2.20.0-tests-data/*.xml "${S}"/tests/data/ || die
+
+ gnome2_src_prepare
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure --enable-p2p $(use_with test tests)
+}
+
+multilib_src_test() {
+ virtx emake check TESTS_ENVIRONMENT="dbus-run-session"
+}
+
+multilib_src_compile() { gnome2_src_compile; }
+multilib_src_install() { gnome2_src_install; }
diff --git a/app-accessibility/at-spi2-atk/at-spi2-atk-2.24.1.ebuild b/app-accessibility/at-spi2-atk/at-spi2-atk-2.24.1.ebuild
new file mode 100644
index 000000000000..13c9a1bdd7fd
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/at-spi2-atk-2.24.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 multilib-minimal virtualx
+
+DESCRIPTION="Gtk module for bridging AT-SPI to Atk"
+HOMEPAGE="https://wiki.gnome.org/Accessibility"
+
+LICENSE="LGPL-2+"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+COMMON_DEPEND="
+ >=app-accessibility/at-spi2-core-2.17.90[${MULTILIB_USEDEP}]
+ >=dev-libs/atk-2.15.4[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
+ >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
+"
+RDEPEND="${COMMON_DEPEND}
+ !<gnome-extra/at-spi-1.32.0-r1
+"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ test? ( >=dev-libs/libxml2-2.9.1 )
+"
+
+src_prepare() {
+ # Upstream forgot to put this in tarball, upstream #770615
+ cp -n "${FILESDIR}"/${PN}-2.20.0-tests-data/*.xml "${S}"/tests/data/ || die
+
+ gnome2_src_prepare
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure --enable-p2p $(use_with test tests)
+}
+
+multilib_src_test() {
+ virtx emake check TESTS_ENVIRONMENT="dbus-run-session"
+}
+
+multilib_src_compile() { gnome2_src_compile; }
+multilib_src_install() { gnome2_src_install; }
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-collection.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-collection.xml
new file mode 100644
index 000000000000..7086ede8554c
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-collection.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible description="first child" name="obj1" role="alert">
+ <state state_enum="modal"/>
+ <state state_enum="multi-line"/>
+ </accessible>
+ <accessible description="second child" name="obj2" role="animation">
+ <accessible description="first prechild" name="obj2/1" role="arrow">
+ <relation relation_type="2" target_name="obj2"/>
+ <state state_enum="modal"/>
+ <state state_enum="multi-line"/>
+ </accessible>
+ <accessible description="second prechild" name="obj2/2" role="canvas"/>
+ </accessible>
+ <accessible description="third child" name="obj3" role="check box">
+ <state state_enum="modal"/>
+ <state state_enum="multi-line"/>
+ <accessible description="first prechild" name="obj3/1" role="check menu item"/>
+ </accessible>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-document.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-document.xml
new file mode 100644
index 000000000000..7363a622e76d
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-document.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible description="first child" name="test" role="alert"/>
+ <accessible_document description="image child" name="my_document" role="text">
+ <document page_numer="7" page_no="2"/>
+ </accessible_document>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-editable-text.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-editable-text.xml
new file mode 100644
index 000000000000..ae8084c2cc4b
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-editable-text.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible_editable_text description="first child" name="obj0" role="entry">
+ <text_edit_node text="test text"/>
+ </accessible_editable_text>
+ <accessible_editable_text description="second child" name="obj1" role="entry">
+ <text_edit_node text="second test text"/>
+ </accessible_editable_text>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-hypertext.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-hypertext.xml
new file mode 100644
index 000000000000..1b6be6d4b1f3
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-hypertext.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible_hypertext description="first child" name="obj0" role="alert">
+ <hypertext text="This is article about know downhill portals href='dh-zone.com' href='pinkbike.com'" />
+ </accessible_hypertext>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-image.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-image.xml
new file mode 100644
index 000000000000..b678ac250745
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-image.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible description="first child" name="obj1" role="alert"/>
+ <accessible_image description="image child" name="obj0" role="image">
+ <image image_description="image description" width="100" height="50" x="500" y="50" image_extents="png" image_locale="image_locale"/>
+ </accessible_image>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-selection.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-selection.xml
new file mode 100644
index 000000000000..2fc173334492
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-selection.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible_selection description="first child" name="obj1" role="alert">
+ <accessible description="first prechild" name="obj2/1" role="arrow">
+ <state state_enum="selected"/>
+ </accessible>
+ <accessible description="second prechild" name="obj2/2" role="canvas" selected="1">
+ <state state_enum="selected"/>
+ </accessible>
+ <accessible description="first prechild" name="obj2/1" role="arrow"/>
+ <accessible description="second prechild" name="obj2/2" role="canvas"/>
+ <accessible description="first prechild" name="obj3/1" role="check menu item">
+ <state state_enum="selected"/>
+ </accessible>
+ </accessible_selection>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-table.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-table.xml
new file mode 100644
index 000000000000..9d6cb502d74c
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-table.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible_table description="first_child" name="obj0" role="table">
+ <accessible description="table caption" name="caption name" role="caption"/>
+ <accessible description="table summary" name="table summary name" role="heading"/>
+ <accessible description="first column" name="col1" role="table column header">
+ <accessible description="first column header" name="column 1 header" role="header"/>
+ </accessible>
+ <accessible description="second column" name="col2" role="table column header">
+ <state state_enum="selected"/>
+ <accessible description="second column header" name="column 2 header" role="header"/>
+ </accessible>
+ <accessible description="third column" name="col3" role="table column header">
+ <accessible description="thrid column header" name="column 3 header" role="header"/>
+ </accessible>
+ <accessible description="first row" name="row1" role="table row header">
+ <state state_enum="selected"/>
+ <accessible description="first row header" name="row 1 header" role="header"/>
+ </accessible>
+ <accessible description="second row" name="row2" role="table row header">
+ <accessible description="second row header" name="row 2 header" role="header"/>
+ </accessible>
+ <accessible description="third row" name="row3" role="table row header">
+ <state state_enum="selected"/>
+ <accessible description="third row header" name="row 3 header" role="header"/>
+ </accessible>
+ <accessible description="fourth row" name="row4" role="table row header">
+ <accessible description="fourth row header" name="row 4 header" role="header"/>
+ </accessible>
+ <accessible_table_cell description="table cell 1" name="cell 0/0" role="table cell">
+ <table_cell cell_x="0" cell_y="0" row_span="2"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 5" name="cell 1/0" role="table cell">
+ <table_cell cell_x="1" cell_y="0" column_span="3"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 9" name="cell 2/0" role="table cell">
+ <state state_enum="selected"/>
+ <table_cell cell_x="2" cell_y="0"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 2" name="cell 0/1" role="table cell">
+ <table_cell cell_x="0" cell_y="1"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 6" name="cell 1/1" role="table cell">
+ <table_cell cell_x="1" cell_y="1"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 10" name="cell 2/1" role="table cell">
+ <table_cell cell_x="2" cell_y="1"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 3" name="cell 0/2" role="table cell">
+ <table_cell cell_x="0" cell_y="2"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 7" name="cell 1/2" role="table cell">
+ <table_cell cell_x="1" cell_y="2"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 11" name="cell 2/2" role="table cell">
+ <table_cell cell_x="2" cell_y="2"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 4" name="cell 0/3" role="table cell">
+ <table_cell cell_x="0" cell_y="3"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 8" name="cell 1/3" role="table cell">
+ <table_cell cell_x="1" cell_y="3"/>
+ </accessible_table_cell>
+ <accessible_table_cell description="table cell 12" name="cell 2/3" role="table cell">
+ <table_cell cell_x="2" cell_y="3"/>
+ </accessible_table_cell>
+ </accessible_table>
+</accessible>
+
+
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-text.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-text.xml
new file mode 100644
index 000000000000..ab72522afd53
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-text.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible_text description="first child" name="obj0" role="text">
+ <text_node text="text0 it works!." x="100" y="33" width="110" height="30" bold_text="on" underline_text="off"/>
+ </accessible_text>
+ <accessible_text description="second child" name="obj1" role="text">
+ <text_node text="First sentence./n Second sentence." x="66" y="44" width="550" height="40" bold_text="off" underline_text="off"/>
+ </accessible_text>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-value.xml b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-value.xml
new file mode 100644
index 000000000000..83172d5f8b8a
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/files/at-spi2-atk-2.20.0-tests-data/test-value.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<accessible description="Root of the accessible tree" name="root_object" role="accelerator label">
+ <accessible_value description="first child" name="obj0" role="alert">
+ <value_node min="1.1" current="2.1" max="3.1" step="0.1"/>
+ </accessible_value>
+</accessible>
diff --git a/app-accessibility/at-spi2-atk/metadata.xml b/app-accessibility/at-spi2-atk/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/at-spi2-core/Manifest b/app-accessibility/at-spi2-core/Manifest
new file mode 100644
index 000000000000..fa6613aa5c04
--- /dev/null
+++ b/app-accessibility/at-spi2-core/Manifest
@@ -0,0 +1,8 @@
+AUX at-spi2-core-2.0.2-disable-teamspaces-test.patch 302 SHA256 5834cf41154379002d3050810fce1da8a41c9bd1cce06593c1e7d5bdee083aef SHA512 866a2e372999491a74aa3bd230e666151b8fbf74554f70b7ff01891c62a6b2e87459107d885340076c049ebba656e399cb13ea6cb93af88552a328e17b4f8753 WHIRLPOOL 912c7cafdaecd93fb6fffec89a581346bf4c199c1e8a122483df4f3d36aca87ab11384380b49353910b70f70b96718133977e9ce7b4e9b02f54136da783cc309
+DIST at-spi2-core-2.22.1.tar.xz 454048 SHA256 6f8f39f091bfe2c57870cb8bfbb02edac4fc85cda69665e6967937daf7201c42 SHA512 2376b57ce744351ed09a13cd02f0c02264c0998860710cfcdac59f0efb78061512986f5d7305a2f6c594d70213722f81795620e8cd2c6587c6d3f1335477171f WHIRLPOOL a3bd869b286e7fd974242c5846d219c9be3b5fb4322f7bd82f9c039cd032bbfc0917e2e54dc900283eb13a1bba14906eec3f2ef9d9b3caae1aef6bdce24fe3be
+DIST at-spi2-core-2.24.1.tar.xz 452440 SHA256 1e90d064b937aacfe79a96232ac7e63d28d716e85bd9ff4333f865305a959b5b SHA512 e7f354a90204f12d4e464a6b4e4cb27141af3715d7c5ec253bdd2ebe65bc7d191ae7b775c45470a1bd1fe2c0accdd4e84feeb5e1eb1a6c05f3e5e734371027be WHIRLPOOL 3a3d47b49ea5be77458b325cc23405153859251052dd1b123d38b5953e3dd5d6896959703ca7941baed8a3d9ca9194183a12459f88fb6d580cee364258303291
+EBUILD at-spi2-core-2.22.1.ebuild 1771 SHA256 b85b9749476b75268769e92706a3afaf84b9224e52a799a86343c67500c1094a SHA512 824732f4a7c7fc484fb591a7862d8a18a5326ad58150e3c23befb8f23d089d5a5fe7cd71ac7914877aff6015b99b10c086bc4a3cf6fb9b1ad71ab8085e9ba722 WHIRLPOOL c6fdf16d8e7aad54ccfdbda0425caeca1a8cefea0bc3eea7b0fbb111b543c3b98cf95338db72051ae2b037484390492a068a79428d2d998561fdec96cdcf1314
+EBUILD at-spi2-core-2.24.1.ebuild 1780 SHA256 4463bc25009c54a5a3aeea8ec6925b37fb49427796755bf700c624733e72f8c3 SHA512 67dd60c666a87d9f052bed1acdf7c9460224443e1fd30608ef06a13e556ec50a9b9a7503bd8af8b0d22aeaca98abb407bf2971f7cb3c06918f720a18010f55d5 WHIRLPOOL 7180d73d515062a8d39ab8e880c7375ab34519c6dbcef837c79e115cc7477272bc56fdf3adef8f31803759698976a2f70a47540b36b3ab139db5e5bb20b30d85
+MISC ChangeLog 7419 SHA256 4ca11356e36dacc56185de2300d527ff3ed438ef73e5b2316d03ff06ce36e887 SHA512 b9e5c453da683ecfdaf08450574c3c593973f09ea9a66b80dadaab9370616a6886c640bb265cde606072354e38ca28dfa27afeb8e0d4b0a34f83b16fed3cc031 WHIRLPOOL 32619c78b965d3bab798d4bfa2abd5de57b2d3bfeb4402d9c1015d3d534a590fc4c546179d67c5913046c3b12c360922e4bd7da95df143b238c14c81f9a6c57a
+MISC ChangeLog-2015 12541 SHA256 336ad1d8009ba7b740aae7c356026791252be7ddaec0c1c9d33ed586f882c620 SHA512 9cffbf791a6df5e90d05e382beaac9bb1f7da22453445734092be1798386d984f218b42512076c2f4b2c348a741b8c31b674a6a676dd506e01305e48c793696a WHIRLPOOL a9dee88fbe5b5a8e3845bb8bc8b935ffaf7507127b13e720abb016398ace7ff3305a5dec53148789b7b99668c16e3dc8882418d7394cda2bee569d663d0a937f
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.22.1.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.22.1.ebuild
new file mode 100644
index 000000000000..59c26497b8d0
--- /dev/null
+++ b/app-accessibility/at-spi2-core/at-spi2-core-2.22.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit eutils gnome2 multilib-minimal
+
+DESCRIPTION="D-Bus accessibility specifications and registration daemon"
+HOMEPAGE="https://wiki.gnome.org/Accessibility"
+
+LICENSE="LGPL-2+"
+SLOT="2"
+IUSE="X +introspection"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
+
+# x11-libs/libSM is needed until upstream #719808 is solved either
+# making the dep unneeded or fixing their configure
+# Only libX11 is optional right now
+RDEPEND="
+ >=dev-libs/glib-2.36:2[${MULTILIB_USEDEP}]
+ >=sys-apps/dbus-1[${MULTILIB_USEDEP}]
+ x11-libs/libSM[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ x11-libs/libXtst[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+ X? (
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ x11-libs/libXtst[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.9
+ >=dev-util/intltool-0.40
+ sys-devel/gettext
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+"
+
+PATCHES=(
+ # disable teamspaces test since that requires Novell.ICEDesktop.Daemon
+ "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
+)
+
+multilib_src_configure() {
+ # xevie is deprecated/broken since xorg-1.6/1.7
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure \
+ --disable-xevie \
+ $(multilib_native_use_enable introspection) \
+ $(use_enable X x11)
+
+ # work-around gtk-doc out-of-source brokedness
+ if multilib_is_native_abi; then
+ ln -s "${S}"/doc/libatspi/html doc/libatspi/html || die
+ fi
+}
+
+multilib_src_compile() { gnome2_src_compile; }
+multilib_src_install() { gnome2_src_install; }
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.24.1.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.24.1.ebuild
new file mode 100644
index 000000000000..7a3aed291611
--- /dev/null
+++ b/app-accessibility/at-spi2-core/at-spi2-core-2.24.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit eutils gnome2 multilib-minimal
+
+DESCRIPTION="D-Bus accessibility specifications and registration daemon"
+HOMEPAGE="https://wiki.gnome.org/Accessibility"
+
+LICENSE="LGPL-2+"
+SLOT="2"
+IUSE="X +introspection"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
+
+# x11-libs/libSM is needed until upstream #719808 is solved either
+# making the dep unneeded or fixing their configure
+# Only libX11 is optional right now
+RDEPEND="
+ >=dev-libs/glib-2.36:2[${MULTILIB_USEDEP}]
+ >=sys-apps/dbus-1[${MULTILIB_USEDEP}]
+ x11-libs/libSM[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ x11-libs/libXtst[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+ X? (
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ x11-libs/libXtst[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.9
+ >=dev-util/intltool-0.40
+ sys-devel/gettext
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+"
+
+PATCHES=(
+ # disable teamspaces test since that requires Novell.ICEDesktop.Daemon
+ "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
+)
+
+multilib_src_configure() {
+ # xevie is deprecated/broken since xorg-1.6/1.7
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure \
+ --disable-xevie \
+ $(multilib_native_use_enable introspection) \
+ $(use_enable X x11)
+
+ # work-around gtk-doc out-of-source brokedness
+ if multilib_is_native_abi; then
+ ln -s "${S}"/doc/libatspi/html doc/libatspi/html || die
+ fi
+}
+
+multilib_src_compile() { gnome2_src_compile; }
+multilib_src_install() { gnome2_src_install; }
diff --git a/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch b/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch
new file mode 100644
index 000000000000..269236d177e7
--- /dev/null
+++ b/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch
@@ -0,0 +1,13 @@
+diff --git a/dbind/dbtest.c b/dbind/dbtest.c
+index e8bbb63..9843c3d 100644
+--- a/dbind/dbtest.c
++++ b/dbind/dbtest.c
+@@ -417,7 +417,7 @@ int main (int argc, char **argv)
+
+ test_helpers ();
+ test_marshalling ();
+- test_teamspaces (bus);
++ /* test_teamspaces (bus); */
+
+ return 0;
+ }
diff --git a/app-accessibility/at-spi2-core/metadata.xml b/app-accessibility/at-spi2-core/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/app-accessibility/at-spi2-core/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/brltty/Manifest b/app-accessibility/brltty/Manifest
new file mode 100644
index 000000000000..20faaaf1e4f7
--- /dev/null
+++ b/app-accessibility/brltty/Manifest
@@ -0,0 +1,11 @@
+AUX brltty-5.2-fix-ldflags.patch 2168 SHA256 6d9022614cb0d1d65ad11f0f924c369a860a7f2e02bfec77f8a61c60350daa75 SHA512 72ce6b722e90deb9e3d6d537b54ce2f8625154a5920eb555fb5fab1b65703a4ff88a2e0907b74a11454231507ebd9741533ee9b77ec5dfeffd3870179ebd98e8 WHIRLPOOL 9214b7f5810aee65e5bbaf16830eb9c5f63e4c25d26a2f484fc7b700412db32ddc3adf34026f9dc7c98fe111c28d11431e28346d6d6bab8c7a017702a0649df2
+AUX brltty-5.2-major.patch 1511 SHA256 7cedbac7af5c031a679f970125b34483b5d414ede869e579cd145a1de2be2887 SHA512 88d1eb5340e105c8e975e89071d8f9f7818d417931442c69cd1fff5cdb197dc1c40e4618c6a9b62b15f972e03523ac9d3a18deb0e7d1be6b6c1aed1b309e29cf WHIRLPOOL 5c92e3c65b43edf0dd5bff041220b1e3b2aef0cd605cf19b0fc9242e69b34b46a5f882bbf7261bcca606adbed3b0ff2e0acb890b84417b59a8821f887485830b
+AUX brltty-5.2-respect-AR.patch 433 SHA256 9ccf9500cd65d994eebf60181c307240e59e150cf2095d7b1a3f11f9e92afcf1 SHA512 ce778cded4ee6f9ac45faedd3727c58746e780cff944d2c39ff71f792905c7f214b104641aef72a233d07df74a92cc2a596ac6bac1b76873d82d2c1383e994e9 WHIRLPOOL c5426441bd5dae68d65651e96cb83c7d3f34238d36ed5c21dbb97b81b864040376294e3ab289ef53aa75c92dc6685b96ee748d619baabf4ce504bd22ca3fe9c8
+AUX brltty-5.2-udev.patch 1208 SHA256 8aea1d60da2d7323b9d4a4c11cabe8bdcf4a34a03942361b1c105505682764c7 SHA512 0a1873dbdee7b97385199bd1f7158847bd8c52f7678783add4353c990ad5a93bc5378f38e52e3b1b30d071167802750cfccad227260dab8eba52e88cb230cefd WHIRLPOOL dd3bf4a95339de3f42a5a151a7bc57bed2ab159070664512bb5682494012cb899351baf8c20e02d474614e2b25efbb877ea4304a15d9365bd3795c65c7826454
+AUX brltty.rc 242 SHA256 4dd0338d2f9943165d5922c8964ca3456e8e8b67b37cf5f2652435bc1f644c41 SHA512 067dc15ca297774ad773512f57e0b828ce97a07ac7156e4c72fc25b8b045eeca313ae566564c954193be83c72928dc3a26e1fadc4b2cc1755c607f515590cb9a WHIRLPOOL 7c6bb6e80381165404d98e9824c1828e12852ad744030efc225db86991a353a0ae7cd7dbf7df332215312a39fa84367deea361a9f3d707e9bbb38f98b2614269
+AUX brltty.tmpfiles.conf 31 SHA256 45c13fe100502b1896bd758f6c59a46fa2250ce093ad719f41854911349a0a71 SHA512 3d52a11e0d266ac508ab5447b6515f006f610e3bcb2ec396c3fe4c58a68874c9568f7fd6a143829f69c1b87680f1157953eae9fe326f5db3723c7e4b46390bf7 WHIRLPOOL eb4e009f97fe75ac90c15a222ec4b85bc7888adf09e6e0ac699718376debd9907156838ff61ee9efa35a0df94419456864659c8c66f128af10e0ec7b447b2087
+DIST brltty-5.2.tar.xz 2532684 SHA256 f1293940317a675d0eaeaf3f363bbfe4bfaa5225c2116123a61ce2d3c71943f7 SHA512 8e16701e9c9d776c76e3ad0cb4319b2753295fea229bd3f60cb0dffc0b6946037e6f98daafae873238c4eff90d4b8ddb697b7d425e700c5a098aba8fed9eed3f WHIRLPOOL 33fcf326be381309f2baa3f59807145a0ca3a614f32b0b27e4b76af1c1f46f6459f7be1d629002538588ce71ab017b52bfc642fc06aa2c3f883aba272e61f20e
+EBUILD brltty-5.2-r1.ebuild 5006 SHA256 e2e7eb52407acab30f1d156dabcbf1be3b69698d58bc20903050b8a2e3745225 SHA512 8fcaf6f0cfdcf88686b9063c8b4b3c3ef732ed08814a0e20f9d41b3b3809407d96434a223c752738cc34ee070673f9f07cfe7f27c56dc946d923b3f7c6910284 WHIRLPOOL 249b5919929206cb789958eaa06e5502db9cb43b1c506f2dd5fee3c458e849dd98ebf5f16387d136827e82e876c092495100a7efd0c807d46eb0558974b09d1e
+MISC ChangeLog 3549 SHA256 8ccc3310bb11fdad89c6f559a93e9017f948cef302d8ec29ffe5140d5f2df498 SHA512 6257d8febb09c6d8047bbeb43ba4df7a698195b1c3dc8ecaee9bf421015e635f3b1145df9d11d2690bf2237179d4a602089e7bd97186602573683a90ec5e78ad WHIRLPOOL 9865f46306a29bfe211c348f9a2d9766d3ace50570b9147958efa54c6f6f8ebc558e7e40bfd95a05776ebd009314f739b2f91ba61e7856ed8cd3c98cbfad4d24
+MISC ChangeLog-2015 23237 SHA256 8fc3cf404f61c659366a012099b0dc19c76a9757db85edbc3fc15ecc7de1b21c SHA512 aa2b731ce80792292106cdfac475c6ce16bad4e40c73620af34103fc53975a57d745a6a1653e1972e582651e0fa2722d28de78e91b1556255118eb0538ef8087 WHIRLPOOL 276ae3806e6a53dd65e5beb2f569efddcd2c8a4cd19cf2c7684233e087ef8e8c03ffcbae0c4ce9b96ecf37621b4e2fecc10ab0f822c168110cf1222b685bf3d5
+MISC metadata.xml 1502 SHA256 6dd73403f50f0ce43a5678157957b0688b968621a488d550aaa20788f7dc7965 SHA512 337bf98d4e2ffac2ea0721a042bd31958809de5089090b0a79d73457f700d57fb8ffe637f4ad9e896992e98a13fdbe1ac9a3f7758d8ad2703334db8edfb7c32c WHIRLPOOL c272e4523d17f01fc060bc0ab593c999ea2615e811b3aa214939f5c8739a8ddd8149ed9bf629af6f5f41341415ddcbee77f87a880ea8e21afaaceedaec6675d7
diff --git a/app-accessibility/brltty/brltty-5.2-r1.ebuild b/app-accessibility/brltty/brltty-5.2-r1.ebuild
new file mode 100644
index 000000000000..59aa9142308b
--- /dev/null
+++ b/app-accessibility/brltty/brltty-5.2-r1.ebuild
@@ -0,0 +1,189 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+FINDLIB_USE="ocaml"
+
+inherit findlib eutils multilib toolchain-funcs java-pkg-opt-2 flag-o-matic \
+ autotools udev systemd python-r1
+
+DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
+HOMEPAGE="http://brltty.com/"
+SRC_URI="http://brltty.com/archive/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 x86"
+IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu
+ java +midi ncurses nls ocaml +pcm python usb +speech
+ tcl X"
+REQUIRED_USE="doc? ( api )
+ java? ( api )
+ ocaml? ( api )
+ python? ( api ${PYTHON_REQUIRED_USE} )
+ tcl? ( api )"
+
+COMMON_DEP="bluetooth? ( net-wireless/bluez )
+ gpm? ( >=sys-libs/gpm-1.20 )
+ iconv? ( virtual/libiconv )
+ icu? ( dev-libs/icu:= )
+ python? ( ${PYTHON_DEPS} )
+ ncurses? ( sys-libs/ncurses:0= )
+ nls? ( virtual/libintl )
+ tcl? ( >=dev-lang/tcl-8.4.15:0= )
+ usb? ( virtual/libusb:0 )
+ X? ( x11-libs/libXaw )"
+DEPEND="virtual/pkgconfig
+ java? ( >=virtual/jdk-1.4 )
+ python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
+ ${COMMON_DEP}"
+RDEPEND="java? ( >=virtual/jre-1.4 )
+ ${COMMON_DEP}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-ldflags.patch \
+ "${FILESDIR}"/${P}-udev.patch \
+ "${FILESDIR}"/${P}-respect-AR.patch \
+ "${FILESDIR}"/${P}-major.patch
+
+ java-pkg-opt-2_src_prepare
+
+ # The code runs `pkg-config` directly instead of locating a suitable
+ # pkg-config wrapper (or respecting $PKG_CONFIG).
+ sed -i \
+ -e 's/\<pkg-config\>/${PKG_CONFIG:-pkg-config}/' \
+ aclocal.m4 configure.ac || die
+
+ # We run eautoconf instead of using eautoreconf because brltty uses
+ # a custom build system that uses autoconf without the rest of the
+ # autotools.
+ eautoconf
+ python_copy_sources
+}
+
+src_configure() {
+ tc-export AR LD PKG_CONFIG
+ # override prefix in order to install into /
+ # braille terminal needs to be available as soon in the boot process as
+ # possible
+ # Also override localstatedir so that the lib/brltty directory is installed
+ # correctly.
+ # Disable stripping since we do that ourselves.
+ local myconf=(
+ --prefix=/
+ --localedir=/usr/share/locale
+ --includedir=/usr/include
+ --localstatedir=/var
+ --disable-stripping
+ --with-install-root="${D}"
+ --with-writable-directory="/run/brltty"
+ $(use_enable api)
+ $(use_with beeper beep-package)
+ $(use_enable contracted-braille)
+ $(use_with fm fm-package)
+ $(use_enable gpm)
+ $(use_enable iconv)
+ $(use_enable icu)
+ $(use_enable java java-bindings)
+ $(use_with midi midi-package)
+ $(use_enable nls i18n)
+ $(use_enable ocaml ocaml-bindings)
+ $(use_with pcm pcm-package)
+ $(use_enable speech speech-support)
+ $(use_enable tcl tcl-bindings)
+ $(use_enable X x)
+ $(use_with bluetooth bluetooth-package)
+ $(use_with ncurses curses)
+ $(use_with usb usb-package) )
+
+ econf "${myconf[@]}"
+
+ if use python; then
+ myconf+=( $(use_enable python python-bindings ) )
+
+ python_configure() {
+ econf "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+ fi
+}
+
+src_compile() {
+ local JAVAC_CONF=""
+ local OUR_JNI_FLAGS=""
+ if use java; then
+ OUR_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
+ JAVAC_CONF="${JAVAC} -encoding UTF-8 $(java-pkg_javac-args)"
+ fi
+
+ emake JAVA_JNI_FLAGS="${OUR_JNI_FLAGS}" JAVAC="${JAVAC_CONF}"
+
+ if use python; then
+ python_build() {
+ cd "Bindings/Python" || die
+ emake
+ }
+ python_foreach_impl run_in_build_dir python_build
+ fi
+}
+
+src_install() {
+ if use ocaml; then
+ findlib_src_preinst
+ fi
+
+ emake OCAML_LDCONF= install
+
+ if use python; then
+ python_install() {
+ cd "Bindings/Python" || die
+ emake install
+ }
+ python_foreach_impl run_in_build_dir python_install
+ fi
+
+ if use java; then
+ # make install puts the _java.so there, and no it's not $(get_libdir)
+ rm -rf "${D}/usr/lib/java"
+ java-pkg_doso Bindings/Java/libbrlapi_java.so
+ java-pkg_dojar Bindings/Java/brlapi.jar
+ fi
+
+ insinto /etc
+ doins Documents/brltty.conf
+ udev_newrules Autostart/Udev/udev.rules 70-brltty.rules
+ newinitd "${FILESDIR}"/brltty.rc brltty
+ systemd_dounit Autostart/Systemd/brltty.service
+ systemd_dotmpfilesd "${FILESDIR}/${PN}.tmpfiles.conf"
+
+ libdir="$(get_libdir)"
+ mkdir -p "${D}"/usr/${libdir}/
+ mv "${D}"/${libdir}/*.a "${D}"/usr/${libdir}/
+ gen_usr_ldscript libbrlapi.so
+
+ cd Documents
+ mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt
+ mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt
+ mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt
+ dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt
+ dohtml -r Manual-BRLTTY
+ if use doc; then
+ dohtml -r Manual-BrlAPI
+ dodoc BrlAPI-*.txt
+ fi
+
+ keepdir /var/lib/brlapi
+ rmdir "${D}/run/brltty"
+ rmdir "${D}/run"
+}
+
+pkg_postinst() {
+ elog
+ elog please be sure "${ROOT}"etc/brltty.conf is correct for your system.
+ elog
+ elog To make brltty start on boot, type this command as root:
+ elog
+ elog rc-update add brltty boot
+}
diff --git a/app-accessibility/brltty/files/brltty-5.2-fix-ldflags.patch b/app-accessibility/brltty/files/brltty-5.2-fix-ldflags.patch
new file mode 100644
index 000000000000..e60ea9a4e509
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-5.2-fix-ldflags.patch
@@ -0,0 +1,56 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -377,7 +377,7 @@
+ case "${host_os}"
+ in
+ linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|cygwin*|mingw*|elf*)
+- brltty_mkmod_ld_make="-shared"
++ brltty_mkmod_ld_make="-shared ${LDFLAGS}"
+ ;;
+ solaris*)
+ brltty_mkmod_ld_make="-G"
+@@ -404,7 +404,7 @@
+ esac
+ if test "${GCC}" = "yes"
+ then
+- brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o"
++ brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o"
+ else
+ brltty_cv_prog_mkmod="\$(LD) ${brltty_mkmod_ld_make} ${brltty_mkmod_ld_options} -o"
+ fi])
+@@ -414,7 +414,7 @@
+ case "${host_os}"
+ in
+ linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|elf*)
+- brltty_mklib_ld_make="-shared"
++ brltty_mklib_ld_make="-shared ${LDFLAGS}"
+ brltty_mklib_ld_options="-soname"
+ ;;
+ solaris*)
+@@ -449,7 +449,7 @@
+ esac
+ if test "${GCC}" = "yes"
+ then
+- brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o"
++ brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o"
+ else
+ brltty_cv_prog_mklib="\$(LD) ${brltty_mklib_ld_make} ${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>} -o"
+ fi])
+--- a/Bindings/OCaml/Makefile.in
++++ b/Bindings/OCaml/Makefile.in
+@@ -55,13 +55,13 @@
+ all : $(OCAML_FILES)
+
+ $(OCAML_CLIBS) : brlapi_stubs.$O brlapi
+- $(OCAMLMKLIB) $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
++ $(OCAMLMKLIB) -ldopt "$(LDFLAGS)" $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
+
+ $(OCAML_BCLIB) : $(OCAML_CLIBS) brlapi.cmo
+ $(OCAMLC) -a $(OCAMLMKLIB_FLAGS) -o $(OCAML_LIB).cma brlapi.cmo
+
+ $(OCAML_NCLIB) : $(OCAML_CLIBS) brlapi.cmx
+- $(OCAMLMKLIB) $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
++ $(OCAMLMKLIB) -ldopt "$(LDFLAGS)" $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
+
+ brlapi.cmi: brlapi.mli
+ $(OCAMLC) -o $@ -c brlapi.mli
diff --git a/app-accessibility/brltty/files/brltty-5.2-major.patch b/app-accessibility/brltty/files/brltty-5.2-major.patch
new file mode 100644
index 000000000000..7c591b1cc0e9
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-5.2-major.patch
@@ -0,0 +1,59 @@
+Bug: https://bugs.gentoo.org/581130
+diff --git a/Programs/system_linux.c b/Programs/system_linux.c
+index c73bd39..ef7d807 100644
+--- a/Programs/system_linux.c
++++ b/Programs/system_linux.c
+@@ -25,6 +25,12 @@
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
+
++#ifdef MAJOR_IN_MKDEV
++#include <sys/mkdev.h>
++#elif defined MAJOR_IN_SYSMACROS
++#include <sys/sysmacros.h>
++#endif
++
+ #include "log.h"
+ #include "file.h"
+ #include "device.h"
+diff --git a/configure.ac b/configure.ac
+index 96305f7..dcae1e1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -555,6 +555,8 @@ BRLTTY_ARG_DISABLE(
+ ])
+ AC_SUBST([install_messages])
+
++AC_HEADER_MAJOR
++
+ AC_CHECK_FUNC([wcslen], [AC_CHECK_HEADERS([wchar.h], [dnl
+ AC_CHECK_FUNCS([wcwidth])
+ ])])
+diff --git a/config.h.in b/config.h.in
+index 71341c6..ff201c2 100644
+--- a/config.h.in
++++ b/config.h.in
+@@ -457,2 +457,10 @@ extern "C" {
+
++/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
++ */
++#undef MAJOR_IN_MKDEV
++
++/* Define to 1 if `major', `minor', and `makedev' are declared in
++ <sysmacros.h>. */
++#undef MAJOR_IN_SYSMACROS
++
+ /* Define this to be a string containing the path to the root of the Mikropuhe package. */
+diff --git a/Programs/brlapi_client.c b/Programs/brlapi_client.c
+index bd6497b..df63b30 100644
+--- a/Programs/brlapi_client.c
++++ b/Programs/brlapi_client.c
+@@ -32,2 +32,8 @@
+
++#ifdef MAJOR_IN_MKDEV
++#include <sys/mkdev.h>
++#elif defined MAJOR_IN_SYSMACROS
++#include <sys/sysmacros.h>
++#endif
++
+ #ifndef __MINGW32__
diff --git a/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch b/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch
new file mode 100644
index 000000000000..95451dc98b77
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch
@@ -0,0 +1,12 @@
+diff -Naur brltty-5.2/Programs/Makefile.in brltty-5.2-new/Programs/Makefile.in
+--- brltty-5.2/Programs/Makefile.in 2014-11-06 07:28:41.000000000 -0800
++++ brltty-5.2-new/Programs/Makefile.in 2014-11-20 05:41:57.144219093 -0800
+@@ -434,7 +434,7 @@
+ [ ! -f lib.def ] || mv lib.def $(API_DEF)
+
+ $(API_ARC): $(API_CLIENT_OBJECTS)
+- ar rc $@ $(API_CLIENT_OBJECTS)
++ $(AR) rc $@ $(API_CLIENT_OBJECTS)
+ $(RANLIB) $@
+
+ brlapi_client.$O:
diff --git a/app-accessibility/brltty/files/brltty-5.2-udev.patch b/app-accessibility/brltty/files/brltty-5.2-udev.patch
new file mode 100644
index 000000000000..dbbc29897662
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-5.2-udev.patch
@@ -0,0 +1,28 @@
+diff -Naur brltty-5.2/Autostart/Udev/udev.rules brltty-5.2-new/Autostart/Udev/udev.rules
+--- brltty-5.2/Autostart/Udev/udev.rules 2014-11-06 07:28:41.000000000 -0800
++++ brltty-5.2-new/Autostart/Udev/udev.rules 2014-11-20 05:28:44.404885312 -0800
+@@ -182,20 +182,22 @@
+ # FreedomScientific [Focus Blue]
+ ENV{PRODUCT}=="f4e/114/*", ENV{BRLTTY_BRAILLE_DRIVER}="fs", GOTO="brltty_usb_run"
+
++# Seika rules are commented out, because they conflict with USB-to-serial
++# converters.
+ # Device: 10C4:EA60
+ # Generic Identifier
+ # Vendor: Cygnal Integrated Products, Inc.
+ # Product: CP210x UART Bridge / myAVR mySmartUSB light
+ # BrailleMemo [Pocket]
+ # Seika [Braille Display]
+-ENV{PRODUCT}=="10c4/ea60/*", ENV{BRLTTY_BRAILLE_DRIVER}="mm,sk", GOTO="brltty_usb_run"
++#ENV{PRODUCT}=="10c4/ea60/*", ENV{BRLTTY_BRAILLE_DRIVER}="mm,sk", GOTO="brltty_usb_run"
+
+ # Device: 10C4:EA80
+ # Generic Identifier
+ # Vendor: Cygnal Integrated Products, Inc.
+ # Product: CP210x UART Bridge
+ # Seika [Note Taker]
+-ENV{PRODUCT}=="10c4/ea80/*", ENV{BRLTTY_BRAILLE_DRIVER}="sk", GOTO="brltty_usb_run"
++#ENV{PRODUCT}=="10c4/ea80/*", ENV{BRLTTY_BRAILLE_DRIVER}="sk", GOTO="brltty_usb_run"
+
+ # Device: 1148:0301
+ # BrailleMemo [Smart]
diff --git a/app-accessibility/brltty/files/brltty.rc b/app-accessibility/brltty/files/brltty.rc
new file mode 100644
index 000000000000..0bc6c6c5375b
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty.rc
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command=/bin/brltty
+pidfile=/var/run/brltty.pid
+command_args="-P $pidfile -q"
+
+depend() {
+ before *
+ after clock
+}
diff --git a/app-accessibility/brltty/files/brltty.tmpfiles.conf b/app-accessibility/brltty/files/brltty.tmpfiles.conf
new file mode 100644
index 000000000000..18cc4021e33b
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty.tmpfiles.conf
@@ -0,0 +1 @@
+d /run/brltty 0755 root root -
diff --git a/app-accessibility/brltty/metadata.xml b/app-accessibility/brltty/metadata.xml
new file mode 100644
index 000000000000..53e30d6595d9
--- /dev/null
+++ b/app-accessibility/brltty/metadata.xml
@@ -0,0 +1,29 @@
+<?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>
+ <use>
+ <flag name="api">build brltty's application program interface</flag>
+ <flag name="beeper">support the console tone generator</flag>
+ <flag name="contracted-braille">support in-line contracted braille</flag>
+ <flag name="fm">support for the sound card synthesizer</flag>
+ <flag name="midi">support the musical instrument digital interface</flag>
+ <flag name="pcm">support for sound card digital audio</flag>
+ <flag name="speech">speech support</flag>
+</use>
+<longdescription lang="en">
+BRLTTY is a background process (daemon) which provides access to the Linux/Unix
+console (when in text mode) for a blind person using a refreshable braille
+display. It drives the braille display, and provides complete screen review
+functionality. Some speech capability has also been incorporated.
+</longdescription>
+<longdescription lang="ja">
+BRLTTYは、盲人用ブライユ点字ディスプレイのためのLinux/Unixコンソールを制御するバ
+ックグラウンド・プロセス(デーモン)です。ブライユ点字ディスプレイを動かし、その多
+機能な完全なスクリーン・レビューを提供します。幾つかの台詞読み上げ機能も統合され
+ています。
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/caribou/Manifest b/app-accessibility/caribou/Manifest
new file mode 100644
index 000000000000..80b61ea613e3
--- /dev/null
+++ b/app-accessibility/caribou/Manifest
@@ -0,0 +1,5 @@
+DIST caribou-0.4.21.tar.xz 426516 SHA256 9c43d9f4bd30f4fea7f780d4e8b14f7589107c52e9cb6bd202bd0d1c2064de55 SHA512 5fc0cf54a1cad50d41e659adbbb932b51d69d18951562f87497e99aaae17ac72b453b759dd7289ff8f68a79574dfce510b9de6bedc61408c14cb48b83eaf08da WHIRLPOOL 530a1b061cdadb12c31ad2e7b5686ca21db3da8066579fc6ba25a2b26418febeb58224eda61f27977507ed46db1cdbfd6afe4b555a970acdf9a580b30ac2174e
+EBUILD caribou-0.4.21.ebuild 2407 SHA256 d333dde7093b7a1937bfc8a629e2202a6541b1077b8dc393014c86c890ac68c1 SHA512 45416b8cf24b6060227f2d9861e22b9f934e5d1baabf82a22c5223be6a6363fe267f7e8afc462d1da607ee1acbba1b855c91a6ca78d77644139972cee100869c WHIRLPOOL d8dabd201fb44929f2b213dd2aeea67a220db12b7562a08ac77748922346afea0b5acc0d8cb154f5ee9bdc1a077af2a8c7a5be5ae7a678affbea48992f3b32d2
+MISC ChangeLog 4496 SHA256 8f9a45b47b2a2dd149d856f93851ac73b15c20f09f1941c62eb5e84460fee7f0 SHA512 c312229a74d615905e3992f18ccfeacc16e159aba7d07610f0039c5dd73dab7b03aabbd1c74839ac16bf9aca69ffff0cccc353872987abf66967f4e66e8b6909 WHIRLPOOL 694cc5ce31a1abfda5c485ab5d5060b25628d78200bfb2ec04a850f98b4b630db3f158030f278b2974b56f43dbb6a93ac26130b2f11fb0b30d64fabdb4197eb9
+MISC ChangeLog-2015 6305 SHA256 25259c1811656815efdb79a34551898ab8b2b34f57b63150690eb67424ddf355 SHA512 11c562ad09ff85fcf2d1a4745fdeebbb3e7a5a829cfd2e7e16df800fa94cadb9ab3eaec8320bbf0ab2bb10d0971a994d1fb1145b79b78a55c8f76a81eca7cccc WHIRLPOOL 9c5dd38ca001e8de51d951ce8bd09971c30c8c60640d67d7db5a9348209e28487b86409a513719db46bf5cc12aa691422226112547d9579d8090a162b6dd256e
+MISC metadata.xml 682 SHA256 9e0f2e7b7909762b582a65b8b05841c29fbcb0fa6981eba9b1c5f129269e38ec SHA512 bec00e1cbb64bfec610e3f4e724e8afb8539a4b676b1e443a17b7eaf2263bef1fbf5787d77de253d84ebb0a54b3ca4bd386ba421826c0bb903164bb7ecf5223d WHIRLPOOL 5e392728f301f38beacb0d3edf5513649419986a36430ead3eeac4d351c04889c1ca5b698f5aa9e60f6c8ca5ddb2f9698ae1107bfb684b0c4e3f0ef2b4aae096
diff --git a/app-accessibility/caribou/caribou-0.4.21.ebuild b/app-accessibility/caribou/caribou-0.4.21.ebuild
new file mode 100644
index 000000000000..e97c8589f1e6
--- /dev/null
+++ b/app-accessibility/caribou/caribou-0.4.21.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Input assistive technology intended for switch and pointer users"
+HOMEPAGE="https://wiki.gnome.org/Projects/Caribou"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ app-accessibility/at-spi2-core
+ >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
+ >=x11-libs/gtk+-3:3[introspection]
+ x11-libs/gtk+:2
+ >=dev-libs/gobject-introspection-0.10.7:=
+ dev-libs/libgee:0.8
+ dev-libs/libxml2
+ >=media-libs/clutter-1.5.11:1.0[introspection]
+ x11-libs/libX11
+ x11-libs/libxklavier
+ x11-libs/libXtst
+ ${PYTHON_DEPS}
+"
+# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key
+# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed
+# librsvg needed to load svg images in css styles
+RDEPEND="${COMMON_DEPEND}
+ dev-libs/glib[dbus]
+ >=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}]
+ >=gnome-base/gsettings-desktop-schemas-3
+ gnome-base/librsvg:2
+ sys-apps/dbus
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ >=dev-util/intltool-0.35.5
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # FIXME: Now this supports python3 too...
+ # delete custom PYTHONPATH, useless on Gentoo and potential bug source
+ # + caribou is python2 only so fix the shell scripts
+# sed -e '/export PYTHONPATH=.*python/ d' \
+# -e "s:@PYTHON@:${EPREFIX}/usr/bin/python2:" \
+# -i bin/{antler-keyboard,caribou-preferences}.in ||
+# die "sed failed"
+
+ gnome2_src_prepare
+
+ prepare_caribou() {
+ mkdir -p "${BUILD_DIR}" || die
+ }
+ python_foreach_impl prepare_caribou
+}
+
+src_configure() {
+ ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir \
+ gnome2_src_configure \
+ --disable-docs \
+ --disable-static \
+ --enable-gtk3-module \
+ --enable-gtk2-module \
+ VALAC=$(type -P true)
+ # vala is not needed for tarball builds, but configure checks for it...
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_install() {
+ python_foreach_impl run_in_build_dir gnome2_src_install
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=769323
+ dodoc AUTHORS NEWS README # ChangeLog simply points to git log
+}
diff --git a/app-accessibility/caribou/metadata.xml b/app-accessibility/caribou/metadata.xml
new file mode 100644
index 000000000000..3a82b0ba211a
--- /dev/null
+++ b/app-accessibility/caribou/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+<longdescription lang="en">
+Caribou is a text entry and UI navigation application being developed as an
+alternative to the Gnome On-screen Keyboard. The overarching goal for Caribou
+is to create a usable solution for people whose primary way of accessing a
+computer is a switch device. The initial goal is to make an in-place on-screen
+keyboard suitable for people who can use a mouse but not a hardware keyboard.
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/edbrowse/Manifest b/app-accessibility/edbrowse/Manifest
new file mode 100644
index 000000000000..cc38accc80d1
--- /dev/null
+++ b/app-accessibility/edbrowse/Manifest
@@ -0,0 +1,6 @@
+AUX edbrowse-3.5.1-implicit-decl.patch 777 SHA256 f84099bc491733c042b066a41345f53577febe485cd7f77dee55a59cc9fa81ef SHA512 f8fc77759b14480ddef08b8f893eaf6791cfcced347b2cc8d5356c8ae4e3ee381d5eb3685a8bef529cc4dae3bc615f6a5b47a35bf829c6a204553c6545acdcd8 WHIRLPOOL 39088c65981c678d3738da10b7dda841c6e3b994cd48daefc565a42360efebe8b2f1e70198678f4273117233778df4705952be30f13144d0cc74cdf34c032ab5
+DIST edbrowse-3.5.1.zip 745277 SHA256 e379cffb1098cfedf56ceedaaa7e20064551a0737ad6cd8ad5124fdfb18d9a5f SHA512 83bdb1d49afa04a41a84b71e86969880b518d8d6c1e448380d70710ad2373ed57cb3699d3ad50226ea4d5776f511ff50b9510655b27d26948213113699512fc2 WHIRLPOOL e7517c5ae60a438d6d651fbfdbfd7f625c2369f43bb2ba92c1c974e34a7d8ddbb6d441cb1ef79c4354cf88e2796f05110bb0e5ff1b1699cb55b23221c2bd000b
+EBUILD edbrowse-3.5.1.ebuild 1420 SHA256 c261ba636ae5cd6adda6fd6587d34f417d34ecca652b5f9120d4fa0d10c66a95 SHA512 d1197dca946b138c64de82fb6e4e2ac6e2268d7d2d335ece41cb5ddafe7006ded0ee70bea1997234bd6bc67d15b5bbb6f7b90207c58034e9264d889cd4ffb28f WHIRLPOOL e9f4c2e692b11b570b8d071d7df67bc07c67de06fbd9e87c16096eabda0ce7e76474781cd4ab5c075f07936e5fb0252ad13818da7c01b1a7f3fac4de0adc2375
+MISC ChangeLog 2922 SHA256 c85c5cb74106bc85260e88f6b72a825c0721eb437a1eceb57921dafd8a1d0172 SHA512 c7b0a31bb9767dbf07993bc3509f9adf84e7b77fa35585e4d9b6f7c380dbeb496db28c626a23136493acd43bb4afb2ebbe1eb0fae42e5f3881320ae9fe3fd147 WHIRLPOOL f2620943fb4bfb8e90e965807bc17519147907b0955451cbe0eb6be403838fc6282cd3ef6b6d286f96f09707dd41a8eb139c3a7d179d9364d7c693878bf04fad
+MISC ChangeLog-2015 2989 SHA256 bd4a7dd75b2c4857d35bb36f601248e4b9a7729d4ca08d889224bd6151b02942 SHA512 2496889b3736774aa96555d54e9a049699e1e2cc8a966f252b04bebfcd138586db8449839f4e29b6b28ca6db5788b8e20fe8d1c320b7837d426519286a441828 WHIRLPOOL b958b78a67657c2fd3680f9bbbab318395aa33782a72c24cddedd47a7ffac8c0851460459b86072d5be415a133ba07c72759b89eb5d53b6af32cb14c569f9a60
+MISC metadata.xml 394 SHA256 c45676b7da66749569cac6ee421822d488c614fc9d72e6f8fe721d7cbbdfc01a SHA512 76561a6366dca32455b5bff45b655fd155199b36a7a3243cb900e80382f64be642c64d6ee9095a0857484eaaca98fde8bd370b164d346d13d8744763d4b5e916 WHIRLPOOL a9cffa310516b35c83b4a1b14403e3660a1b84d72a4d87c7c2e492fafd589f675e2cc550c79e2edaad3195f26313248efb91db7b8edc04b79d00c5246e16468d
diff --git a/app-accessibility/edbrowse/edbrowse-3.5.1.ebuild b/app-accessibility/edbrowse/edbrowse-3.5.1.ebuild
new file mode 100644
index 000000000000..c8e5ad5fdf8b
--- /dev/null
+++ b/app-accessibility/edbrowse/edbrowse-3.5.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit eutils
+
+DESCRIPTION="editor, browser, and mail client using the /bin/ed interface"
+HOMEPAGE="http://the-brannons.com/edbrowse/"
+SRC_URI="http://the-brannons.com/${PN}/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl odbc l10n_fr"
+
+COMMON_DEPEND=">=dev-lang/spidermonkey-24.0:24
+ >=sys-libs/readline-6.0
+ >=net-misc/curl-7.36.0
+ >=dev-libs/libpcre-7.8
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ odbc? ( dev-db/unixODBC )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ app-arch/unzip"
+RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-implicit-decl.patch"
+}
+
+src_compile() {
+ jscppflags=$(pkg-config --cflags mozjs-24)
+ jslib=$(pkg-config --libs mozjs-24)
+ emake prefix=/usr JSLIB="${jslib}" JS_CXXFLAGS="${jscppflags}" STRIP=''
+ if use odbc; then
+ # Top-level makefile doesn't have this target.
+ cd src
+ emake prefix=/usr JSLIB="${jslib}" JS_CXXFLAGS="${jscppflags}" STRIP=''
+ cd ..
+ fi
+}
+
+src_install() {
+ cd src
+ emake prefix=/usr DESTDIR="${D}" install
+ if use odbc; then
+ dobin edbrowseodbc
+ fi
+ cd ..
+ dodoc CHANGES README todo
+ cd doc
+ dobin setup.ebrc
+ dohtml usersguide.html philosophy.html
+ dodoc sample.ebrc
+ if use l10n_fr; then
+ dohtml usersguide_fr.html philosophy_fr.html
+ dodoc sample_fr.ebrc
+ fi
+}
diff --git a/app-accessibility/edbrowse/files/edbrowse-3.5.1-implicit-decl.patch b/app-accessibility/edbrowse/files/edbrowse-3.5.1-implicit-decl.patch
new file mode 100644
index 000000000000..1880d2b3bfe0
--- /dev/null
+++ b/app-accessibility/edbrowse/files/edbrowse-3.5.1-implicit-decl.patch
@@ -0,0 +1,22 @@
+diff -Naur edbrowse-3.5.1/src/fetchmail.c edbrowse-3.5.1.new/src/fetchmail.c
+--- edbrowse-3.5.1/src/fetchmail.c 2014-09-23 21:50:37.000000000 -0700
++++ edbrowse-3.5.1.new/src/fetchmail.c 2014-09-29 02:29:46.193856866 -0700
+@@ -6,6 +6,7 @@
+ * This file is part of the edbrowse project, released under GPL.
+ */
+
++#define _GNU_SOURCE
+ #include "eb.h"
+
+ #define MHLINE 200 /* length of a mail header line */
+diff -Naur edbrowse-3.5.1/src/sendmail.c edbrowse-3.5.1.new/src/sendmail.c
+--- edbrowse-3.5.1/src/sendmail.c 2014-09-23 21:50:37.000000000 -0700
++++ edbrowse-3.5.1.new/src/sendmail.c 2014-09-29 02:29:37.105874233 -0700
+@@ -5,6 +5,7 @@
+ * This file is part of the edbrowse project, released under GPL.
+ */
+
++#define _GNU_SOURCE
+ #include "eb.h"
+
+ #include <time.h>
diff --git a/app-accessibility/edbrowse/metadata.xml b/app-accessibility/edbrowse/metadata.xml
new file mode 100644
index 000000000000..53850bf1c4d0
--- /dev/null
+++ b/app-accessibility/edbrowse/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>
+<longdescription>
+ edbrowse is a line editor, web browser and email client using the /bin/ed
+ user interface.
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/eflite/Manifest b/app-accessibility/eflite/Manifest
new file mode 100644
index 000000000000..7dedff66d4d3
--- /dev/null
+++ b/app-accessibility/eflite/Manifest
@@ -0,0 +1,8 @@
+AUX eflite-0.4.1-flite14.patch 1070 SHA256 aace5d43a4ace3cdb9218e53c5498a5870dda6f02034322633cce6a82d64e945 SHA512 fabf260a517c1d7fd3af66fd6972f200d9c7d129ed36090ae77f493142728cd6207db77b1b02710fd22fd0e81e59857fb21b113ef5fb30ff6035778e143a3304 WHIRLPOOL 72ad2f226abe4014514a9b6fef19edf1133acdfbc8a77a502af3193422faf662dbb2df02e8296c2440fa6d39040eb13f03b5b98ee5b9ce32298652e3e1277823
+AUX eflite.rc 645 SHA256 82f53890af178346638e66ebefcebcd57c7756bf4971dce78f88872bad5b7d4b SHA512 81a918cc412500ed2ccd15eede7c2e800d6a0c04916b0e86e490027543430c8c0bd84b0e0d28280d4b22f3def37d8f94cfb0ad1d1df1446650c17f8bcbe7b7ca WHIRLPOOL 9a5a3592e1ebf6d8a61fe1ab37eb4bf971afa9719c19dbda3f9df25ffc6c775956fed9925bac33dbaa30895cfb014a898463ca7efe7ac04dc61222eb0afe67fc
+AUX es.conf 213 SHA256 20de1fd6979f3a4254fb5e7cac4f135647c8abce030ceef88648b6db0c745d27 SHA512 19e8b5aefb7aa650d1e023a8cd5cf7361acf6f390f2f3f34de1da0b9c2bdddf632bc247f4e6c8eac025118c76d64f375837c13aff8f02342f17acc974beb9547 WHIRLPOOL e0a239a5f86a8cd9c5cb9107ff4ce9180fa4b6b331daef2375cdb04fd4cd845f29e8a37b27bfb1d9fbbe9db3e695abdf7a7bd76f45e649e9e4dc27270da8624f
+DIST eflite-0.4.1.tar.gz 63192 SHA256 91ad85855e55a3fc3b97a1a525db5fd1d211d54342bbfc88d1026813104f1721 SHA512 0060980fd5bb65ad94f1609f6d87cb89b91e680228b603fa590e6ba70b51e894493dda4271dca4d8c97f38cdefbd456c3be0447e5f88a0be7ae39324baa2c796 WHIRLPOOL 50e5e31bd0e8759fdfae1b5183c3fc4b9d1d03d2aa04dd7102651e2aaebafc9b312b1e20082c20bdcb745b7c7fad47bd64f145e392551e6c1d31fa01af5b7969
+EBUILD eflite-0.4.1-r3.ebuild 925 SHA256 21ebd9b45585b5983794e03fa54efcacf542d01f4f0be83074d7cbd85aa12360 SHA512 40ddda73dc2d7f34dbadcd4894e408cf73c4a29054061d50cf82bad32a3c5aa26e58af2820f25022358450735a395b2a40c2f4ee8a76b630027cab43b36319df WHIRLPOOL b3fdd67b3a366b22f6241525ca3eeb784e1d5299f2a8124d8f74f5507de8f910c12794a3ec2e8b01d4066c2b1303a72a5267ab6341dcb24197cf74cc249128bc
+MISC ChangeLog 2880 SHA256 25ff53f98805b6f6a9ad78070abc50cbd256421eb95980da18da0701d685b4f5 SHA512 2a324ed926e05d4c7459816e54ca17d6025142f57e450aafe131daa3716511eb6e2a8c25d8de1aa8ae06d153f68f12d8074715ee4c7ca744d573970fed3154ef WHIRLPOOL c7bd4da4bca1fa5bee940466cc8b8ed4bdbdad98f0a812be830b09e72aa5b1369626c3d44eaffbefcdf8c4721b8af6227c9322fe947d2bd40a15ef001cca2a2c
+MISC ChangeLog-2015 6153 SHA256 fa5279e4a1d0ca022acecd0c2acd33d118569bdf7b1bffccccb857a6e13303d8 SHA512 04bef443906d6d537e2d60ce73c231ea269f13bffb292df8c2b00bbd5bd88bb1c8dd456468fe45fd9dd0515b662f281e6b6738def456c06aa0d09301c0c1f589 WHIRLPOOL ad9b0894f5098691111d2c5ca0d89347a40f6df4faaf87a10c59322798da3008c1a54f4bbc295b7b1d9e2e0e9242509de04f92d7d25fdf69d5ac51666371493f
+MISC metadata.xml 1230 SHA256 feeb3e6bd59a91f032f6a1c4ee27f1c79a0b8fd6bc81f94238fd21d78d7c3518 SHA512 12e9252ad64880f82a2c030444f2ead9139a5762d482e8cb7a0b3d19d3a9abc9039dc31aae988dcbc11d682b3135a0a7fab8e0699eb8d7a06d2b5ea0a3d3e4d3 WHIRLPOOL e757f2cc4c4f5cd29a4132b4f3e29689a1737d63734ad064b1f318cb9882de8a1f82ffc89ae8bc053c1da837f7c93ed874bba056db6b2faa55dfa79e4777b0ee
diff --git a/app-accessibility/eflite/eflite-0.4.1-r3.ebuild b/app-accessibility/eflite/eflite-0.4.1-r3.ebuild
new file mode 100644
index 000000000000..fd08c28eb243
--- /dev/null
+++ b/app-accessibility/eflite/eflite-0.4.1-r3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+inherit autotools eutils user
+
+DESCRIPTION="A speech server that allows screen readers to interact with festival lite"
+HOMEPAGE="http://eflite.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
+IUSE="+16k_voice"
+
+DEPEND=">=app-accessibility/flite-1.4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' *
+ epatch "${FILESDIR}"/${PN}-0.4.1-flite14.patch
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ if use 16k_voice; then
+ myconf='--with-vox=cmu_us_kal16'
+ fi
+ econf ${myconf}
+}
+
+src_install() {
+ einstall
+ dodoc ChangeLog README INSTALL eflite_test.txt
+
+ insinto /etc/eflite
+ doins "${FILESDIR}"/es.conf
+
+ newinitd "${FILESDIR}"/eflite.rc eflite
+}
+
+pkg_postinst() {
+ enewgroup speech
+}
diff --git a/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch b/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch
new file mode 100644
index 000000000000..cb3096d88a43
--- /dev/null
+++ b/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch
@@ -0,0 +1,24 @@
+diff -Naur eflite-0.4.1/Makefile.in eflite-0.4.1-new/Makefile.in
+--- eflite-0.4.1/Makefile.in 2007-01-18 18:01:09.000000000 -0600
++++ eflite-0.4.1-new/Makefile.in 2010-07-23 20:06:45.000000000 -0500
+@@ -34,7 +34,7 @@
+ $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) $(FLITE_LIBS) $(AUDIOLIBS)
+
+ fs.o: fs.c
+- $(CC) $(CFLAGS) @AUDIODEFS@ -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(subst cmu_us_kal16,cmu_us_kal,$(FL_VOX)) -DSTANDALONE -DEFLITE -c -o $@ $<
++ $(CC) $(CFLAGS) @AUDIODEFS@ -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(FL_VOX) -DSTANDALONE -DEFLITE -c -o $@ $<
+
+ tone.o: tone.c
+ $(CC) $(CFLAGS) -I$(flite_include_dir) -DEFLITE -c -o $@ $<
+diff -Naur eflite-0.4.1/fs.c eflite-0.4.1.new/fs.c
+--- eflite-0.4.1/fs.c 2007-01-18 16:01:09.000000000 -0800
++++ eflite-0.4.1.new/fs.c 2013-09-08 09:31:57.417262688 -0700
+@@ -523,7 +523,7 @@
+ int playlen, skip;
+ if (type == SPEECH)
+ {
+- skip = (187 * wptr->sample_rate) / speed;
++ skip = 0;
+ playlen = wptr->num_samples - (skip * 2);
+ if (playlen > 0 && playlen < 500) playlen += (skip * 2) / 3;
+ }
diff --git a/app-accessibility/eflite/files/eflite.rc b/app-accessibility/eflite/files/eflite.rc
new file mode 100644
index 000000000000..2a65b04d0a8a
--- /dev/null
+++ b/app-accessibility/eflite/files/eflite.rc
@@ -0,0 +1,28 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use alsasound
+ use modules
+ use hotplug
+}
+
+start() {
+ ebegin "Starting eflite"
+ start-stop-daemon --start --exec /usr/bin/eflite --background \
+ --quiet --pidfile /var/run/eflite.pid --make-pidfile -- -D || eend 1
+
+ SOCKET=`egrep '^sockname=' /etc/eflite/es.conf | sed 's/^sockname=//'`
+ [ ! -S ${SOCKET} ] && SOCKET=/tmp/es.socket
+
+ chown root:speech ${SOCKET}
+ chmod 660 ${SOCKET}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping eflite"
+ start-stop-daemon --stop --quiet --pidfile /var/run/eflite.pid
+ eend $?
+}
diff --git a/app-accessibility/eflite/files/es.conf b/app-accessibility/eflite/files/es.conf
new file mode 100644
index 000000000000..17443d3e42ba
--- /dev/null
+++ b/app-accessibility/eflite/files/es.conf
@@ -0,0 +1,11 @@
+# What socket do we listen on
+sockname=/tmp/es.socket
+
+# What volume do we set?
+tone_volume=8192
+
+# Do we use the PC Speaker? (0/1)
+speaker_tones=0
+
+# Do we use the sound card (via flite)? (0/1)
+soundcard_tones=1
diff --git a/app-accessibility/eflite/metadata.xml b/app-accessibility/eflite/metadata.xml
new file mode 100644
index 000000000000..9c8a9fdaf58f
--- /dev/null
+++ b/app-accessibility/eflite/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ </maintainer>
+ <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>
+ <use>
+ <flag name="16k_voice">Use a higher-quality voice.</flag>
+ </use>
+ <longdescription lang="en">
+ EFlite is a speech server for Emacspeak and other screen readers
+ that allows them to interface with Festival Lite, a free
+ text-to-speech engine developed at the CMU Speech Center as an
+ off-shoot of Festival.
+</longdescription>
+ <longdescription lang="ja">
+ EFliteはEmacspeakと他のスクリーン読取り装置のスピーチサーバ。この
+ サーバーで前のプログラムはFestival Lite(CMU Speech Centerで開発した
+ Festivalのようにスピーチにテキストを変わるエンジン。)と
+ インタフェスすることが出来る。
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">eflite</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/emacspeak-ss/Manifest b/app-accessibility/emacspeak-ss/Manifest
new file mode 100644
index 000000000000..8a30466efe6f
--- /dev/null
+++ b/app-accessibility/emacspeak-ss/Manifest
@@ -0,0 +1,6 @@
+AUX gentoo-apollo-fix.patch 1003 SHA256 5c57ab0be3c35f72845a6c3943a01fdb39c8c52245905f87224554e822b346a1 SHA512 c2de19874664e4bd537a42e151f5b2b1326d07e3444e37f8ce34c5004b3667606ac5213ce41e36158da4e16903e9d6226b66ef44a0bc879a84b8722e85ecdd19 WHIRLPOOL 4cd8f2cd7eebed5b23785ee455138dc224d2400ad9ecc5b15595522d9e989e064f6d16387757036199a4a79fa65ff742eccab798804be2d85d6176deaec99e8e
+DIST emacspeak-ss-1.9.1.tar.gz 49077 SHA256 67131f9958381fd62be38b9c27b49d77d2d2d5cc4af1106d0dc9d74d2d9cf94e SHA512 a95505a1eaa0b45732d6d8e7322fb75bebc59b876233ae07c5912f1582f0be29d3258dfd5659993ce4b03f72eb316469de95688dcefb7ec61b4ef328f2f50335 WHIRLPOOL 54e838777f957a6e9f2f495db51b639448b7d71f2b9b6668fce58f6567998df56fd6f1582ed6d2435cac0c631efcc4054b766f692ddff805ec24f2f17cad5813
+EBUILD emacspeak-ss-1.9.1.ebuild 665 SHA256 4910a9561474ca8bbcb2b244c3366823eaccfe922b36af614053a3ef9777afca SHA512 00b8ea0b2d21557dec9dc19bd957a8bfd019259edbe7317d535a8a2d2e2a83ace934e4d311da78681d9fcd8265427f72db025f1e41b3cc2568e56f1356bdf5fb WHIRLPOOL ccea6e0b27582e250a1c4199ba91c686736b01f1ae32b1dbc1f5a43519770c00e1d9109eb9c1a193f2fd136d401717fb3ef7feffc996773ed6343ad8092bd84d
+MISC ChangeLog 2483 SHA256 ef4f46d9d4823686747470d457fe15d69150009d6a33fb122fc6d9c8e56c1cb2 SHA512 782c00475c11aea5b9162dbb08d545233f90a4efac3e651384589700ac5b262fdb708bf7145cc34f803ccb0839b7b6b395a06fdd11430434cac88539dc5aeee6 WHIRLPOOL 9b66d5b0be61d7f9fe492b218a83afe54aea41ed680c7fa05ffb62cc4d35a5cba0396821555748fcce749b9a7c0314623da125de772496a06c7329a8f0d15428
+MISC ChangeLog-2015 1531 SHA256 12402260d4d414e5c51fbed3ac49b4fae39d0121d51c55e05bcdd2c5e6344f71 SHA512 e9d3d25d6261a40c30d4c0b7db55f3a32143f0a165bdceb941cd7039ff3aa723a428da54771da185c6f38c03aaabadc1c93e163ec37628fcbf3439f7abb85e52 WHIRLPOOL c6ae819acb78c20bbd76a591096b9f56fc99f318a0cda3e928e27960f0fe75644391dea6759e6ccdefd2dc0fcfe77915759fdcd8e8ee6be5b66b4e640604d15f
+MISC metadata.xml 918 SHA256 4cdc55d73885b5bbde95912f6aa2499e474f54020b7fc4979ce5b17d1cc449ec SHA512 2f94f53457f12149d9f4a234166be93a6ff4de9bd8a446d8e3494db4fb8b2980ca1fa02e19cc060dd03d121498eef01b07b32f7df097c96d01a94da733d7b7c7 WHIRLPOOL 6e0fd87898a76e4aecc0be7c1075a8fe6e70e6f7e99790a5fa31966da13a01da01a26973bcc5fcfd7a2d6cd38265d44f51d197e4bde062a03e2af3ade3fd0431
diff --git a/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild b/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild
new file mode 100644
index 000000000000..b073c4626208
--- /dev/null
+++ b/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="adds support for several speech synthesizers to emacspeak"
+HOMEPAGE="http://leb.net/blinux/"
+SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=app-accessibility/emacspeak-18"
+
+src_prepare() {
+ epatch "${FILESDIR}"/gentoo-apollo-fix.patch
+ tc-export CC
+}
+
+src_install() {
+ emake \
+ prefix="${D}"/usr \
+ man1dir="${D}"/usr/share/man/man1 \
+ install
+ dodoc CREDITS ChangeLog OtherSynthesizers TODO TROUBLESHOOTING README*
+}
diff --git a/app-accessibility/emacspeak-ss/files/gentoo-apollo-fix.patch b/app-accessibility/emacspeak-ss/files/gentoo-apollo-fix.patch
new file mode 100644
index 000000000000..3d8aa016453a
--- /dev/null
+++ b/app-accessibility/emacspeak-ss/files/gentoo-apollo-fix.patch
@@ -0,0 +1,24 @@
+diff -Naur emacspeak-ss-1.9.1.old/Makefile.in emacspeak-ss-1.9.1/Makefile.in
+--- emacspeak-ss-1.9.1.old/Makefile.in 2000-05-07 18:51:21.000000000 -0500
++++ emacspeak-ss-1.9.1/Makefile.in 2004-04-22 18:43:20.635283200 -0500
+@@ -3,7 +3,7 @@
+ man1dir=@mandir@/man1
+ exec_prefix = @exec_prefix@
+ bindir=$(prefix)/share/emacs/site-lisp/emacspeak/
+-libdir=$(prefix)/lib/emacs/common/emacspeak/
++libdir=$(prefix)/lib/emacspeak-ss
+
+ INSTALL=@INSTALL@
+ VERSION=@VERSION@
+diff -Naur emacspeak-ss-1.9.1.old/apollo.in emacspeak-ss-1.9.1/apollo.in
+--- emacspeak-ss-1.9.1.old/apollo.in 2000-05-07 18:27:31.000000000 -0500
++++ emacspeak-ss-1.9.1/apollo.in 2004-04-22 18:35:09.255401085 -0500
+@@ -101,7 +101,7 @@
+ # write the argument to the synthesizer, and return its response if any
+ proc tts_ping {query} {
+ global tts
+- set status [exec /usr/lib/emacs/common/emacspeak/ping-apollo "$query" $tts(port) ]
++ set status [exec /usr/lib/emacspeak-ss/ping-apollo "$query" $tts(port) ]
+ return $status
+ }
+
diff --git a/app-accessibility/emacspeak-ss/metadata.xml b/app-accessibility/emacspeak-ss/metadata.xml
new file mode 100644
index 000000000000..0e62f358f949
--- /dev/null
+++ b/app-accessibility/emacspeak-ss/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>williamh@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+</maintainer>
+<longdescription lang="en">
+ Emacspeak speech servers for DoubleTalk PC and AT,
+ Braille 'n Speak, Type 'n Speak, Braille Lite from Blazie,
+ Accent SA, Apollo 2, JUNO, and JUNO-sp from Dolphin,
+ Spanish ciber 232 (+plus), Spanish PC Hablado notebook.
+</longdescription>
+<longdescription lang="ja">
+ DoubleTalkPC and ATとBraille 'n SpeakとType 'n SpeakとBlazieから
+ Braille LiteとAccent SAとApollo SAとApollo 2とDolphinからJUNO
+ and JUNO-spとSpanish ciber 232 (+plus)とSpanish PC Hablado
+ notebookのEmacspeakスピーチサーバーです。
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/emacspeak/Manifest b/app-accessibility/emacspeak/Manifest
new file mode 100644
index 000000000000..024b63657c92
--- /dev/null
+++ b/app-accessibility/emacspeak/Manifest
@@ -0,0 +1,6 @@
+DIST emacspeak-39.0.tar.bz2 4989631 SHA256 aff805271ea02ad7e08c121d42886d1a774d1b58a42bf2c570cc6722b903fc71 SHA512 c0a0c503d6ccc2abb53a8be580997b44e0449c2225e8a64cee73c24d69a28c3f47c0e660a95a6e77dd4d660272ad562ff747ce3c0a989f8fe7c8171f60349173 WHIRLPOOL 9f4c3cdd2d2695b7351f83733454afcdfe569921f8d304447132a973fa9a02b572ee149a7b0d0ee0b914c00e37fcacb26aaef270f8fa43a93b528591af12e862
+EBUILD emacspeak-39.0-r2.ebuild 2147 SHA256 d546be1b2943088774ce584e52b403e64a3d7b34751f929211be7305e34ff25c SHA512 47027eb71c575ec4c6bcb3ecdeb07f7092dae66f10b849da533f2c332519b0ecd1700f0dfecddfe6653dfc2069151b81ab556fb2e3cbfc8668565944b7527bcf WHIRLPOOL 44ea9b20984a07720f1e4d129c0be685e3ee1387c611ea2404d5ab27bf20477e35815044c8d1a1195e237733d60f15173a5e2343c0f0729c88f55d55dbb7698a
+EBUILD emacspeak-9999.ebuild 2148 SHA256 373cba2463037cad4121766dca0adddd5cb13ae7afad63d640971360aea8714e SHA512 0f8d749066e9a5be5afcad4b020418ee4ca0b062b6e900c65355500b904c16d001a9b201b9330b86692dfb30c619d8d5007810a670cbe74ff0e4b52bae1077a6 WHIRLPOOL ef3126d758c87780a9e2103fa9b78dc3c795f894591b47108591dae72d4a6d6bf7525f4ec30fc7486ef5e60e8ae8094b893f7f0b675784424e500a498736ac79
+MISC ChangeLog 3366 SHA256 effabf7e93147e36a364c3f9f49c130d09330325bab2232af617fc638ed4989f SHA512 daed08140ebcd64ff3476d351d64d56ef48107e5204b77cd312d041084383c7cb947b6044649e194770876e60546367cdd11b9f82111f452d653be0402e91e25 WHIRLPOOL 3892e6cfde1361051931fbae3ae32da7d9bd4e24de8b262e49513ebdca9347c40ed628b02976009ec2c50887a7553e2933f905bf8caab7d6169dab714fe63ce4
+MISC ChangeLog-2015 8844 SHA256 f07f006bb33a2400dfadbd7a280c4494f4f1378887878d4cab77c1f7de790179 SHA512 1d75680075df17f9f166dc44fe24bb8c3e2011e54b7193d219012c2a381b6a9b34b91465f87c31c87457af15206eb946519759aec7299da1dd22e5153f3ce14f WHIRLPOOL e98cf0a829c8b41e8ed696aa1a118dd8f0dd874e53215b6edf274f7bb8d0c5b0c9c02aa67ebdeeb30e2c6c8684efae9503b4847977f1bc503c19c24e61da777d
+MISC metadata.xml 935 SHA256 4e05c79b3efac5cf26d7f402a93daf07ee889e15c1bbfcf2480f760edbccb404 SHA512 27ae503ae1f338a52ecb4ce06cc4d227f6fd922f4b391abf1dfe75a7433d2d350f63979e71d16adf27de6f2f6bca34fa4213578868e2883e8c50f409e453706e WHIRLPOOL 82bb1daeb7245dad2d211e363b4806b6eed1f063b4590f5263135cf9be36f22c5a5ffdea209bd7be4536b0b14e61059ef34994d39f20066e8fb88277c42e7c09
diff --git a/app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild b/app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild
new file mode 100644
index 000000000000..b720e3de7874
--- /dev/null
+++ b/app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+NEED_EMACS=24
+FORCE_PRINT_ELOG=1
+DISABLE_AUTOFORMATTING=1
+inherit eutils readme.gentoo elisp
+
+if [[ ${PV} == "9999" ]] ; then
+ ESVN_REPO_URI="https://${PN}.googlecode.com/svn/trunk"
+ inherit subversion
+else
+ SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
+ KEYWORDS="amd64 ppc x86"
+fi
+
+DESCRIPTION="the emacspeak audio desktop"
+HOMEPAGE="http://emacspeak.sourceforge.net/"
+LICENSE="BSD GPL-2"
+SLOT="0"
+IUSE="+espeak"
+
+ DEPEND="espeak? ( app-accessibility/espeak )"
+
+RDEPEND="${DEPEND}
+ >=dev-tcltk/tclx-8.4"
+
+DOC_CONTENTS='
+As of version 39.0 and later, the /usr/bin/emacspeak
+shell script has been removed downstream in Gentoo.
+You should launch emacspeak by another method, for instance
+by adding the following to your ~/.emacs file:
+(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
+'
+
+src_prepare() {
+ # Allow user patches to be applied without modifying the ebuild
+ epatch_user
+}
+
+src_configure() {
+ emake config
+}
+
+src_compile() {
+ emake emacspeak
+ if use espeak; then
+ local tcl_version="$(echo 'puts $tcl_version;exit 0' |tclsh)"
+ if [[ -z $tcl_version ]]; then
+ die 'Unable to detect the installed version of dev-lang/tcl.'
+ fi
+ cd servers/linux-espeak
+ emake TCL_VERSION="${tcl_version}"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ rm "${D}/usr/bin/emacspeak"
+ if use espeak; then
+ pushd servers/linux-espeak > /dev/null || die
+ emake DESTDIR="${D}" install
+ local orig_serverdir="/usr/share/emacs/site-lisp/emacspeak/servers/linux-espeak"
+ local serverfile="${D}${orig_serverdir}/tclespeak.so"
+ install -Dm755 "$serverfile" \
+ "${D}/usr/$(get_libdir)/emacspeak/tclespeak.so" || die
+ rm -f "$serverfile" || die
+ dosym "/usr/$(get_libdir)/emacspeak/tclespeak.so" \
+ "$orig_serverdir/tclespeak.so"
+ popd > /dev/null || die
+ fi
+ dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
+ dohtml -r install-guide user-guide
+ cd "${D}/usr/share/emacs/site-lisp/${PN}"
+ rm -rf README etc/NEWS* etc/FAQ etc/COPYRIGHT install-guide \
+ user-guide || die
+ readme.gentoo_create_doc
+}
diff --git a/app-accessibility/emacspeak/emacspeak-9999.ebuild b/app-accessibility/emacspeak/emacspeak-9999.ebuild
new file mode 100644
index 000000000000..203cdea84324
--- /dev/null
+++ b/app-accessibility/emacspeak/emacspeak-9999.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+NEED_EMACS=24
+FORCE_PRINT_ELOG=1
+DISABLE_AUTOFORMATTING=1
+inherit eutils readme.gentoo elisp
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/tvraman/emacspeak.git"
+ inherit git-r3
+else
+ SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+DESCRIPTION="the emacspeak audio desktop"
+HOMEPAGE="http://emacspeak.sourceforge.net/"
+LICENSE="BSD GPL-2"
+SLOT="0"
+IUSE="+espeak"
+
+ DEPEND="espeak? ( app-accessibility/espeak )"
+
+RDEPEND="${DEPEND}
+ >=dev-tcltk/tclx-8.4"
+
+DOC_CONTENTS='
+As of version 39.0 and later, the /usr/bin/emacspeak
+shell script has been removed downstream in Gentoo.
+You should launch emacspeak by another method, for instance
+by adding the following to your ~/.emacs file:
+(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
+'
+
+src_prepare() {
+ # Allow user patches to be applied without modifying the ebuild
+ epatch_user
+}
+
+src_configure() {
+ emake config
+}
+
+src_compile() {
+ emake emacspeak
+ if use espeak; then
+ local tcl_version="$(echo 'puts $tcl_version;exit 0' |tclsh)"
+ if [[ -z $tcl_version ]]; then
+ die 'Unable to detect the installed version of dev-lang/tcl.'
+ fi
+ cd servers/linux-espeak
+ emake TCL_VERSION="${tcl_version}"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ rm "${D}/usr/bin/emacspeak"
+ if use espeak; then
+ pushd servers/linux-espeak > /dev/null || die
+ emake DESTDIR="${D}" install
+ local orig_serverdir="/usr/share/emacs/site-lisp/emacspeak/servers/linux-espeak"
+ local serverfile="${D}${orig_serverdir}/tclespeak.so"
+ install -Dm755 "$serverfile" \
+ "${D}/usr/$(get_libdir)/emacspeak/tclespeak.so" || die
+ rm -f "$serverfile" || die
+ dosym "/usr/$(get_libdir)/emacspeak/tclespeak.so" \
+ "$orig_serverdir/tclespeak.so"
+ popd > /dev/null || die
+ fi
+ dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
+ dohtml -r install-guide user-guide
+ cd "${D}/usr/share/emacs/site-lisp/${PN}"
+ rm -rf README etc/NEWS* etc/FAQ etc/COPYRIGHT install-guide \
+ user-guide || die
+ readme.gentoo_create_doc
+}
diff --git a/app-accessibility/emacspeak/metadata.xml b/app-accessibility/emacspeak/metadata.xml
new file mode 100644
index 000000000000..2d3e20711d7a
--- /dev/null
+++ b/app-accessibility/emacspeak/metadata.xml
@@ -0,0 +1,23 @@
+<?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>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <longdescription lang="en">Emacspeak is a speech interface that allows visually impaired
+ users to interact independently and efficiently with the computer.</longdescription>
+ <longdescription lang="ja">Emacspeakで視覚障害者が単独と手際良くでコンピュータを
+ 使うことが出来る。</longdescription>
+ <use>
+ <flag name="espeak">Adds support for the espeak tts engine</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">emacspeak</remote-id>
+ <remote-id type="sourceforge">emacspeak</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/epos/Manifest b/app-accessibility/epos/Manifest
new file mode 100644
index 000000000000..3e82c7b957b1
--- /dev/null
+++ b/app-accessibility/epos/Manifest
@@ -0,0 +1,11 @@
+AUX README.gentoo 108 SHA256 7b3b19b2112b35f160af2a10de2fb9875419195946d174b22f980e975b03cefc SHA512 84afee5caf9c1703f10846e77c1bdc9e298a1d560ffe34b0d8f3b570001f45ca059b86860f62ebdf84ee811aaee7f2d2753db069bb7cb977abfb7ac2b3009829 WHIRLPOOL b513794b29fb076ef84aefdfd1210bac195eae8f3c7026bc4c441f0954c64ab50e45f9abfc2fa421d9ef55001b5fc20903f94dd418d57e8cb9f1c8a3bbb0a8ce
+AUX epos-2.5.37-disable-tests.patch 579 SHA256 77d42d7f6a93cf358d6c39fb912657fe48e5d03d551ef02adf3729f30269c50e SHA512 67ad549aa4de7f26a6cbd352d2229176b90cd9a7b4b5e2dbfc04fccba6769149355593b11d1921219a44c1fa9b5ce266ab3dca0a674cd7a8f7e2a849ceb2ca95 WHIRLPOOL 82407062fc707bce0b395172f9a0948c3e3a24d75f68ffea5d1555092f3c82f49626c45af41cb272f749a844460e30abcbdda425667f634d5342267acef8cc1f
+AUX epos-2.5.37-gcc43.patch 504 SHA256 92968fe28cff365e0ef25608b0f90dbb1139dec141fae4f720771abab6b36bc5 SHA512 ea70a8e8240d57a3efbe8441200ca0318fec11c021b1c241ca96f5679488ad82b4efde8b88ae3d4bdfea564d14192137083cd1084f04ce45a7f49d499f9fe6d2 WHIRLPOOL f02c8d4be4ce43ed108f016d72d9f5b8a195577c1261109477822f2d99796dcec3a69e690ad21804b64bf1547b8cdea161fe8f886e43de2f979ce416bd708d71
+AUX epos-2.5.37-gcc45.patch 503 SHA256 55924fc73ed5e95a3839d753c467093494ecff4e81a3062fb99425fedd9ea877 SHA512 318752841db38d35ea13e9a053e85251e9c777d6e6a1812c27ccc2310ee6d258b238d1f2915f34da1c84eac5cf6b4eee85d0d67b4dad7c83862ed9f291819d72 WHIRLPOOL 3a9f9bff9e6beb76d54a7dc85fedd5d3471e220d9ea563e07ab8818ffb6a1492a09773db4f738c715feb2f6a1ee70c3649af797987b3f9f1dd729e21dbd25534
+AUX epos-2.5.37-gcc47.patch 333 SHA256 e3cf777c70f6ad733e26d7ac93a59c8d86c5552fa97a64d43e8978cebebf5d3b SHA512 84a5d979fa59eaeef6f560494d67918580eb4574dada052cbf926440a0a960027c50b36284e0870f746b2a5f13f909946661174ce8d6f155d1ea0f6d202c334f WHIRLPOOL 58d6b655d71c5627aa7f02ca105107dec79a00380e98c94c225374bca6d63ca3f9d4dad3ac8c8250706fd6021a0dc9a00a7ff330c33e25b694fee6a313e4a94e
+AUX eposd 442 SHA256 3e2b147b37dc05c226dd02af1be0ffcc39f7a261f58d95661ebb4af07c10db20 SHA512 3a60ab455b7c00ece42a759fb98bc3e9948134839f709ed16123e39a323f24fa166907f981f65510d83f2fcc52697a2535cfafb4e7ccbb0f3d8c116123f662ed WHIRLPOOL 5735787ae77961de8174c5063716cdb0befb8d22eb98205a3eac2eb80613a426d138160df7345320cd436d7c53f030f18b9bf8c137e0645560aba8dfc464e6fa
+DIST epos-2.5.37.tar.gz 976240 SHA256 7b6e835d4db4f64cfdcf3359d84b6b0ed02e8fb89851aed7615768f7d07c8607 SHA512 870718a5e7b5048eafd62c478963de92fe8a90b3e755f79ea665dc33ad762c0ec4ebaf7c99d5f2be8983a0deacba284ae07b24d9a31bdd1a1eff5924327255ef WHIRLPOOL 874657f4f9435d6fed821747229758e2f064ed467dae418a085c5d2268aa2ac1b22ba55bbd393ecd7a08d4332d1ee742e2b032abfa99b2ff1c9d06cc26b851c1
+EBUILD epos-2.5.37-r2.ebuild 872 SHA256 5b613cc76cc5c6e446cc7adc2ba37e27f344919519c74115e358648219e6c035 SHA512 edfd2cd42d240df8b0cc5c46db4ad09f753b78a3ea9edfc38f390a152759b14ac992776ae9a8c8ecd42ed4026ce697e2e201a7a0d8fac9d6d385addc88f97574 WHIRLPOOL 2bd114576a85b5aae1626cd69bc04ec38af9088a504ed855bd096b2fc9a283e9ddff4bbe88d5af73389aac04add9788bc20e76feb63378c2947a26a223b0c195
+MISC ChangeLog 2974 SHA256 33721879490481d309fa50b40f0883206dcd99dbce10c5fbf0e2f25b5715615a SHA512 04c2ae7de8820e18bb7c02db27b1563ced50d86cb24cef534f9a4ab85d3bf319a429174a875ae45f9db2c14a07b3f5047f548f681be537f4a3be129ff859443e WHIRLPOOL 09ce3504e44f5efc5abf7319856d1f49c43fada6d774f3160d124f2ad0c30dff24b69200e94ab6dc3d4e9df3ba188091a03b769e208384e696f5b229ef5a5811
+MISC ChangeLog-2015 5752 SHA256 7ba16c89c3766e31933788b3f5258f6514a236d1fff15f7774b2f945c9724838 SHA512 1641da55a62e1335602a9008e0bfdc4b21f998970086acb01d1f3f75262c90de7b488e2218bd4b09c7ce92a0a83dd28f040c6dadd1649313a9dcb8c65443cfc0 WHIRLPOOL d65aac0be9dbad13ff2c699da1972ccf16abacc93449d43d5af7181215fd945be4034ee66b3ed7063642f11b3d01af531e28be754e086e2395849cfa03ce9f93
+MISC metadata.xml 343 SHA256 4851e8a45b6951cfbf6db7d1a723bf2d6431c90d25649712f16bcc29197b2650 SHA512 0a3cbb37dfe8c2627ad7082f9f910c949d9f2477068ad7c68bb17658f0331bc7c736e84c452afa2204eb7fbd01c2edd68583800fcaec6962e456743999b0457d WHIRLPOOL 56a726b47b5a62ab4c9e081787cb95e92e94893d54929237c4f63ce13006ca364398e96062ecbd0fc5643c488a95ec4c4ecd1355b1f2058d6b5e4062704ef4c5
diff --git a/app-accessibility/epos/epos-2.5.37-r2.ebuild b/app-accessibility/epos/epos-2.5.37-r2.ebuild
new file mode 100644
index 000000000000..6f6c90eff6be
--- /dev/null
+++ b/app-accessibility/epos/epos-2.5.37-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils autotools
+
+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="alpha amd64 hppa ia64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND=">=app-text/sgmltools-lite-3.0.3-r9
+ dev-util/byacc"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-gcc45.patch \
+ "${FILESDIR}"/${P}-gcc47.patch \
+ "${FILESDIR}"/${P}-disable-tests.patch
+
+ sed -i -e "s/CCC/#CCC/" configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-charsets \
+ --disable-portaudio \
+ YACC=byacc
+}
+
+src_install() {
+ default
+
+ doinitd "${FILESDIR}/eposd"
+ dodoc WELCOME THANKS Changes "${FILESDIR}/README.gentoo"
+}
diff --git a/app-accessibility/epos/files/README.gentoo b/app-accessibility/epos/files/README.gentoo
new file mode 100644
index 000000000000..a058564ea278
--- /dev/null
+++ b/app-accessibility/epos/files/README.gentoo
@@ -0,0 +1,2 @@
+Due to /usr/bin/say conflicting with the speech-dispatcher ebuild, it has
+beenn moved to /usr/bin/epos_say.
diff --git a/app-accessibility/epos/files/epos-2.5.37-disable-tests.patch b/app-accessibility/epos/files/epos-2.5.37-disable-tests.patch
new file mode 100644
index 000000000000..a877ca68486b
--- /dev/null
+++ b/app-accessibility/epos/files/epos-2.5.37-disable-tests.patch
@@ -0,0 +1,16 @@
+diff -uNr epos-2.5.37.org/src/tests/Makefile.am epos-2.5.37/src/tests/Makefile.am
+--- epos-2.5.37.org/src/tests/Makefile.am 2012-04-14 00:38:56.000000000 -0400
++++ epos-2.5.37/src/tests/Makefile.am 2012-04-14 00:39:10.000000000 -0400
+@@ -1,11 +1,9 @@
+ ## Process this file with automake run in the top directory to yield Makefile.in
+
+ TESTS=hard_zero_data_test \
+- intr_test \
+- legal_data_test long_data_test long_strm_test \
++ legal_data_test long_data_test \
+ random_data_test \
+ soft_zero_data_test \
+- syn2_test \
+ vogon_test \
+ shutdown_test
+
diff --git a/app-accessibility/epos/files/epos-2.5.37-gcc43.patch b/app-accessibility/epos/files/epos-2.5.37-gcc43.patch
new file mode 100644
index 000000000000..4a61b5ffd04b
--- /dev/null
+++ b/app-accessibility/epos/files/epos-2.5.37-gcc43.patch
@@ -0,0 +1,23 @@
+--- epos-2.5.37.orig/src/nnet/neural.cc
++++ epos-2.5.37/src/nnet/neural.cc
+@@ -38,7 +38,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <time.h>
+
+ /*
+--- epos-2.5.37.orig/arch/win/service/install.cpp
++++ epos-2.5.37/arch/win/service/install.cpp
+@@ -23,7 +23,7 @@
+ #include <winsvc.h>
+ #include "service.h"
+ #include <stdio.h> //sprintf & fopen
+-#include <iostream.h>
++#include <iostream>
+ #include "Shlwapi.h"
+
+ SC_HANDLE scm;
+
diff --git a/app-accessibility/epos/files/epos-2.5.37-gcc45.patch b/app-accessibility/epos/files/epos-2.5.37-gcc45.patch
new file mode 100644
index 000000000000..70af1db94407
--- /dev/null
+++ b/app-accessibility/epos/files/epos-2.5.37-gcc45.patch
@@ -0,0 +1,15 @@
+Fixing build with gcc 4.5
+
+http://bugs.gentoo.org/show_bug.cgi?id=318585
+
+--- src/nnet/neural_parse.yy
++++ src/nnet/neural_parse.yy
+@@ -255,7 +255,7 @@
+
+ int yyerror (char *s)
+ {
+- shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf, s));
++ shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf.c_str(), s));
+ return -1;
+ }
+
diff --git a/app-accessibility/epos/files/epos-2.5.37-gcc47.patch b/app-accessibility/epos/files/epos-2.5.37-gcc47.patch
new file mode 100644
index 000000000000..6e795e3548a9
--- /dev/null
+++ b/app-accessibility/epos/files/epos-2.5.37-gcc47.patch
@@ -0,0 +1,16 @@
+ https://bugs.gentoo.org/440354
+
+ src/nnet/map.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/nnet/map.h
++++ b/src/nnet/map.h
+@@ -25,7 +25,7 @@ T2 & TMap<T1,T2>::operator [] (const T1 &key) {
+ else {
+ TData x;
+ x.first() = key;
+- return insert (x)->second();
++ return this->insert (x)->second();
+ }
+ }
+
diff --git a/app-accessibility/epos/files/eposd b/app-accessibility/epos/files/eposd
new file mode 100644
index 000000000000..75aca32ca8ba
--- /dev/null
+++ b/app-accessibility/epos/files/eposd
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use alsasound esound
+}
+
+start() {
+ ebegin "Starting eposd"
+ start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/eposd.pid \
+ --exec /usr/bin/eposd -- -f
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping eposd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/eposd.pid
+ eend $?
+}
diff --git a/app-accessibility/epos/metadata.xml b/app-accessibility/epos/metadata.xml
new file mode 100644
index 000000000000..ff924802b4d4
--- /dev/null
+++ b/app-accessibility/epos/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">epos</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/espeak/Manifest b/app-accessibility/espeak/Manifest
new file mode 100644
index 000000000000..d4bc06260a5b
--- /dev/null
+++ b/app-accessibility/espeak/Manifest
@@ -0,0 +1,9 @@
+AUX espeak-1.48.04-gcc-6-fix.patch 531 SHA256 ba852d369d5be00b592ea5a676a5573a270612aa95a1fc85a1dc737751ff0760 SHA512 92966a8f3ef3a4cca2b208216ae9ecd65efdb67001b4ed8c0868bc95bc87fec88826f7554a5239c97269dc673cec8ac70f36c9f3fe186f0a5e6eca924e0bb681 WHIRLPOOL 9f3182bf29d53d04c2adffd690d312f60109894130781ff5b4e2989bb05d34c6f055dfd43cadb2fb0c458ffbf843c5c34b2ce71aaa82bddafc343785d4691109
+DIST espeak-1.47.11-source.zip 2813649 SHA256 9bd4d0569af48a2cb13fa76704dec3124d27025a3f21c87598457976472b360c SHA512 77c3989fbd0e4aadae0da2d7f1c587854895ae103633704ee5b4042b0618897d01edffa80b1f13e6cbf356f2f31beaf4fdb7e90e4ab641d5286d559aaefe932b WHIRLPOOL c26f481d4c3c485ba0eb3fe7ae3bcf36e7001d49e0e27a6f0934fdb9c91cfef4974c1d34daebd0286694346a44c647cfb96769da54536e0b4380778af755673c
+DIST espeak-1.48.04-source.zip 3019245 SHA256 bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659 SHA512 f0759e6ace2604c8cbb19e8c3fd4b106edf4dcece247a6677f6b734af7746c35a367126edfbe585396c98f6c54f07e25d64bfab35e258e64f09bd2c0833247fa WHIRLPOOL 259fe408a2d3808f4b1ecec6850262f3b7c0e9a4511fa1bcca414da7d6608e2a0b847a3abb19687ea1cb4e21ca8334fdf0b66b6a78bd363882891b3ebdfb06fc
+EBUILD espeak-1.47.11-r1.ebuild 2168 SHA256 c708ecbbd8ba2c6b91554f47b1107f7144078f2c48d10cc407667113ec3f08ee SHA512 2a568eecb2de15d85a53718ea909a11f1f496717c1a05c6bdccafb26258e21c3d45e8f170d802b6be5a77e9add59991c17f34fcf28505fe14a8a23c4d1fd5df7 WHIRLPOOL 36e0525f80c6c9aa895756a2056896e70b83548c286d605c88d326247738680a57e5656b725e5a2a5f867455facb524ebb58520d3effb8302a3946ea24b4b22c
+EBUILD espeak-1.48.04-r1.ebuild 2241 SHA256 73976ff266dba04a14ca10c87de9ee0cf9c60b1ea50e9b45b02e88eb7d5a22f6 SHA512 6ec8988743584d8d95395626649a58e056489f3acf5201ca8785e2047e08cacdb5ba23064bd5eabeee1baa6d1b46258196a9bdd6b4ccbb7d2a6ad514e10f1e46 WHIRLPOOL 374a9317539bbc16db333116443df7981016b34a987fa39cab87aa8e231a5c33da1fa970b50deb8fd6ae439c690412cacf61dc6205884184838940c83b30317e
+EBUILD espeak-1.48.04.ebuild 2184 SHA256 c5722e86e522cea0490c8b2daaea8373b0bd69b83db0965f5b8116f5a3b63645 SHA512 25f0d32cc339ffe486127cc65e455cb5c5d757f3bd919c1a070af17645b09982fe70b5ab6932433701e040096f3adcc65d3ed93c65dcb80ba5c8e52b5d437659 WHIRLPOOL 935d429c80c5ad25a54ec24662a81482463a92df8a9ea23c62b5ff67211b15af1914d665703f6c4f8f4fed1c5a19ccf46d24bfde82433d2ec2737f52c44ea84f
+MISC ChangeLog 2497 SHA256 d08d99e013300603e19f272755145c9e26f5076437f7e2e5dc68678d3f3a15ca SHA512 a80085e6667ba37089b6642d2a23500e97f60e6d439a20da6411d50c9cd66107457de90ed68486accfe02749ca13425dce33f7891317344220bd4acaf91c934c WHIRLPOOL 178f2002e4de5f5541bdad6688c75dd1ae2d91cdb56d14e59db962886399802b73c7fc34a0deef12e4ae14144d9194b2c3d2e52a1ff232da9c83d3c6d0d5a45a
+MISC ChangeLog-2015 17394 SHA256 a6d62b51ece1404172514142a53e960cc0d32fe9705cb33ab9d5605f257d92a7 SHA512 4075d0c4cca778bf4a637d117afc6ed8f4bfb2a46b5b40c8a79b979d120fed5080c8302785def45754397393c9ce357cbb8f722641dc124fd077313505c94482 WHIRLPOOL ae7a38a13e93eb4166f1dc328204b18ffce0b43ee28f1c72ac335d9bcef9cb9f522d806c2235ebb45e30f85dbedfa2ca209a627126b1ae7b4cabfde6f4efead9
+MISC metadata.xml 425 SHA256 9d26ed2397637b7412195da119b519ea6119502bef67ea2e357f35d804bdb70d SHA512 b3022c321c69fc77c743a0ef402af1801d426e3b72e84754100a4197a5a82df99bfe85b05411d0510e93a262b91d10d63189ff878af91383583e718b8e468f77 WHIRLPOOL 155804c5ba3f8149699aaa6797af46e10c94d9975fe71de5de31527806279618856288473c975aa9d37815f6c9c78ff584b05f320d2280bceab1a5f5ea8c2482
diff --git a/app-accessibility/espeak/espeak-1.47.11-r1.ebuild b/app-accessibility/espeak/espeak-1.47.11-r1.ebuild
new file mode 100644
index 000000000000..a697715f8fe7
--- /dev/null
+++ b/app-accessibility/espeak/espeak-1.47.11-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+MY_P="${P}-source"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+DESCRIPTION="Speech synthesizer for English and other languages"
+HOMEPAGE="http://espeak.sourceforge.net/"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+IUSE="portaudio pulseaudio"
+
+COMMON_DEPEND=" portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )"
+
+DEPEND="${COMMON_DEPEND}
+ app-arch/unzip"
+
+RDEPEND="${COMMON_DEPEND}
+ media-sound/sox"
+
+S=${WORKDIR}/${MY_P}/src
+
+get_audio() {
+ if use portaudio && use pulseaudio; then
+ echo runtime
+ elif use portaudio; then
+ echo portaudio
+ elif use pulseaudio; then
+ echo pulseaudio
+ else
+ echo none
+ fi
+}
+
+src_prepare() {
+ # gentoo uses portaudio 19.
+ mv -f portaudio19.h portaudio.h
+}
+
+src_compile() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ AR="$(tc-getAR)" \
+ AUDIO="$(get_audio)" \
+ all
+
+ einfo "Fixing byte order of phoneme data files"
+ pushd ../platforms/big_endian > /dev/null
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}"
+ ./espeak-phoneme-data \
+ ../../espeak-data \
+ . \
+ ../../espeak-data/phondata-manifest
+ cp -f phondata phonindex phontab "../../espeak-data"
+}
+
+src_install() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \
+ DESTDIR="${D}" \
+ AUDIO="$(get_audio)" \
+ install
+
+ cd ..
+ insinto /usr/share/espeak-data
+ doins -r dictsource
+ dodoc ChangeLog.txt ReadMe
+ dohtml -r docs/*
+}
+
+pkg_preinst() {
+ local voicedir="${ROOT}/usr/share/${PN}-data/voices/en"
+ if [ -d "${voicedir}" ]; then
+ rm -rf "${voicedir}"
+ fi
+}
+
+pkg_postinst() {
+ if ! use portaudio && ! use pulseaudio; then
+ ewarn "Since portaudio and pulseaudio are not in your use flags,"
+ ewarn "espeak will only be able to create wav files."
+ ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}"
+ ewarn "with either portaudio or pulseaudio USE flag enabled."
+ fi
+}
diff --git a/app-accessibility/espeak/espeak-1.48.04-r1.ebuild b/app-accessibility/espeak/espeak-1.48.04-r1.ebuild
new file mode 100644
index 000000000000..2559bb14743d
--- /dev/null
+++ b/app-accessibility/espeak/espeak-1.48.04-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+MY_P="${P}-source"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+DESCRIPTION="Speech synthesizer for English and other languages"
+HOMEPAGE="http://espeak.sourceforge.net/"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="portaudio pulseaudio"
+
+COMMON_DEPEND="portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )"
+
+DEPEND="${COMMON_DEPEND}
+ app-arch/unzip"
+
+RDEPEND="${COMMON_DEPEND}
+ media-sound/sox"
+
+PATCHES=( "${FILESDIR}"/${P}-gcc-6-fix.patch )
+
+S="${WORKDIR}/${MY_P}/src"
+
+get_audio() {
+ if use portaudio && use pulseaudio; then
+ echo runtime
+ elif use portaudio; then
+ echo portaudio
+ elif use pulseaudio; then
+ echo pulseaudio
+ else
+ echo none
+ fi
+}
+
+src_prepare() {
+ default
+ # gentoo uses portaudio 19.
+ mv -f portaudio19.h portaudio.h
+}
+
+src_compile() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ AR="$(tc-getAR)" \
+ AUDIO="$(get_audio)" \
+ all
+
+ einfo "Fixing byte order of phoneme data files"
+ pushd ../platforms/big_endian > /dev/null
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}"
+ ./espeak-phoneme-data \
+ ../../espeak-data \
+ . \
+ ../../espeak-data/phondata-manifest
+ cp -f phondata phonindex phontab "../../espeak-data"
+}
+
+src_install() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \
+ DESTDIR="${D}" \
+ AUDIO="$(get_audio)" \
+ install
+
+ cd ..
+ insinto /usr/share/espeak-data
+ doins -r dictsource
+ dodoc ChangeLog.txt ReadMe
+ HTML_DOCS="docs/*" einstalldocs
+}
+
+pkg_preinst() {
+ local voicedir="${ROOT}/usr/share/${PN}-data/voices/en"
+ if [ -d "${voicedir}" ]; then
+ rm -rf "${voicedir}"
+ fi
+}
+
+pkg_postinst() {
+ if ! use portaudio && ! use pulseaudio; then
+ ewarn "Since portaudio and pulseaudio are not in your use flags,"
+ ewarn "espeak will only be able to create wav files."
+ ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}"
+ ewarn "with either portaudio or pulseaudio USE flag enabled."
+ fi
+}
diff --git a/app-accessibility/espeak/espeak-1.48.04.ebuild b/app-accessibility/espeak/espeak-1.48.04.ebuild
new file mode 100644
index 000000000000..0ab3acc0376a
--- /dev/null
+++ b/app-accessibility/espeak/espeak-1.48.04.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+MY_P="${P}-source"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+DESCRIPTION="Speech synthesizer for English and other languages"
+HOMEPAGE="http://espeak.sourceforge.net/"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="portaudio pulseaudio"
+
+COMMON_DEPEND=" portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )"
+
+DEPEND="${COMMON_DEPEND}
+ app-arch/unzip"
+
+RDEPEND="${COMMON_DEPEND}
+ media-sound/sox"
+
+S=${WORKDIR}/${MY_P}/src
+
+get_audio() {
+ if use portaudio && use pulseaudio; then
+ echo runtime
+ elif use portaudio; then
+ echo portaudio
+ elif use pulseaudio; then
+ echo pulseaudio
+ else
+ echo none
+ fi
+}
+
+src_prepare() {
+ # gentoo uses portaudio 19.
+ mv -f portaudio19.h portaudio.h
+}
+
+src_compile() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ AR="$(tc-getAR)" \
+ AUDIO="$(get_audio)" \
+ all
+
+ einfo "Fixing byte order of phoneme data files"
+ pushd ../platforms/big_endian > /dev/null
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}"
+ ./espeak-phoneme-data \
+ ../../espeak-data \
+ . \
+ ../../espeak-data/phondata-manifest
+ cp -f phondata phonindex phontab "../../espeak-data"
+}
+
+src_install() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \
+ DESTDIR="${D}" \
+ AUDIO="$(get_audio)" \
+ install
+
+ cd ..
+ insinto /usr/share/espeak-data
+ doins -r dictsource
+ dodoc ChangeLog.txt ReadMe
+ dohtml -r docs/*
+}
+
+pkg_preinst() {
+ local voicedir="${ROOT}/usr/share/${PN}-data/voices/en"
+ if [ -d "${voicedir}" ]; then
+ rm -rf "${voicedir}"
+ fi
+}
+
+pkg_postinst() {
+ if ! use portaudio && ! use pulseaudio; then
+ ewarn "Since portaudio and pulseaudio are not in your use flags,"
+ ewarn "espeak will only be able to create wav files."
+ ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}"
+ ewarn "with either portaudio or pulseaudio USE flag enabled."
+ fi
+}
diff --git a/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch b/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch
new file mode 100644
index 000000000000..f28de7338b37
--- /dev/null
+++ b/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch
@@ -0,0 +1,13 @@
+https://src.fedoraproject.org/cgit/rpms/espeak.git/tree/espeak-1.48-gcc-6-fix.patch
+diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp
+--- a/tr_languages.cpp
++++ b/tr_languages.cpp
+@@ -198,7 +198,7 @@ static const unsigned short chars_ignore_zwnj_hyphen[] = {
+ 0x200d, 1, // zero width joiner
+ 0, 0 };
+
+-const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
++const char string_ordinal[] = {'\xc2','\xba',0}; // masculine ordinal character, UTF-8
+
+
+ static Translator* NewTranslator(void)
diff --git a/app-accessibility/espeak/metadata.xml b/app-accessibility/espeak/metadata.xml
new file mode 100644
index 000000000000..368b975990cf
--- /dev/null
+++ b/app-accessibility/espeak/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">espeak</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/espeakup/Manifest b/app-accessibility/espeakup/Manifest
new file mode 100644
index 000000000000..a9e8723e259f
--- /dev/null
+++ b/app-accessibility/espeakup/Manifest
@@ -0,0 +1,10 @@
+AUX espeakup.confd 256 SHA256 32e6de11417ebb199a7bf46eb8cf77054b1af1c9f4bcc80b856b34758830eb9f SHA512 aebd97c63dbeae5025bf54f39bb3e7d97822a2b1b369e40b013c5c7da2eba968adf48800f62ef14541ca22ed3f3dfcbdb63b2a3d7f45975ae8bddfea0a42d931 WHIRLPOOL 73e26981dab24619f4d2155b975c364c8f0be539f28b83d04287a27f9b149b6e53945e9fce06a1e9d2a5c7c46d3795ea163af58fbebbe8a3f46f7aee214231f0
+AUX espeakup.rc 284 SHA256 9bfaf3950744a9376cdd74240c3e6b9a92d7b17a16a3b9eb0485f5fd279ff963 SHA512 411e984074260d1a5e7cbf80ff4db7e16d7b5cca48a5e82491bc775c962636da1cefc79527921d8546056b969b8368a6c157833e27bb0e4e6aae48596225b747 WHIRLPOOL 758ea1c0cdf5af4a775e9b1d380f2a5f44eb1a65b515617c6ee36e635e8ff2518da7bd6ecb39e831d386f97ae9f821b36efe884e530b658ad46eed5942c48e20
+DIST espeakup-0.71.tar.bz2 24663 SHA256 8307986998256db21e615c4edc1befedde28a6995971da258e9d513dd79bd3ab SHA512 01091560cd4843897fa6925a54b4c856fe57ed5728ddc0c091c93b1ae14eb2f4d07ab2247e40bd5a5968cc22ee3696abfe1b28f67b95aa7ab61e33667c51135d WHIRLPOOL 8cc6d335e40a560c14ed17fddc475473722606c7e98148f2f3aa786443b49bdee343cfa0c85e845ce79e8c0bdd330825232512e67869bf8aed6fac81d5e3f4b8
+DIST espeakup-0.80.tar.gz 39626 SHA256 4de284e30b6bdb0f9dee9c8ea02d13a3d20a61415b812338446b8b381e997ef4 SHA512 1b7e2bd46c3c13a5305746d2d2810ec94a8660f561e4f679ee4779be1b22178f8ac7de42d626d649710509f7b087b9a2f94608bde203d1bcd6d353229ed9ff83 WHIRLPOOL 911c3326631c36a6515b4e109421bfa76847a0803617cb1490ea5779024d38ae5ec0568aaee47b1691b816e24346624fda383ca89ae926c50d36aa0cea4f3a8c
+EBUILD espeakup-0.71-r1.ebuild 1650 SHA256 41ea415902f6e5ed02dafc58d64f6f86793d4170710fc2279748e132cf8dc766 SHA512 5c464c9eddac8d44fb2cf3488c9b64cea14b1aaca37216c23085d76f41015ea39aa5bad334c81802aef182009aa6e755936a76788540c5a298573a9b627ab48d WHIRLPOOL 1edcd932da9ab96c2a9ea2043fb04c424f064d82c3d3845ae009e8dd56dc9b339b66b35b8516a90d52220873e1118a67446facdc7c10366cbf997f66a86ab496
+EBUILD espeakup-0.80.ebuild 1793 SHA256 9fe3b0fe94f030445ab5e149980764be99b4823a7ac5478fc03d42c6a577b2da SHA512 f17b4b9779d724ce1711f29eb1164a225ce212ad11f11d6e2f5fe98ddccb805c68d8c2bd98b509f9911e5a30f365091c4a3cb83b23055257a5bae1ca6062a7ba WHIRLPOOL 7a6b7d020977537b6d6fd8e719c46cd5fa496fc25eede5e756ba7ce8a1324aeebe7d6a1733b5d9fe774a2afa1b3dfe99c4aa5522c4802a59335b86c867c12a9c
+EBUILD espeakup-9999.ebuild 1793 SHA256 9fe3b0fe94f030445ab5e149980764be99b4823a7ac5478fc03d42c6a577b2da SHA512 f17b4b9779d724ce1711f29eb1164a225ce212ad11f11d6e2f5fe98ddccb805c68d8c2bd98b509f9911e5a30f365091c4a3cb83b23055257a5bae1ca6062a7ba WHIRLPOOL 7a6b7d020977537b6d6fd8e719c46cd5fa496fc25eede5e756ba7ce8a1324aeebe7d6a1733b5d9fe774a2afa1b3dfe99c4aa5522c4802a59335b86c867c12a9c
+MISC ChangeLog 4236 SHA256 edccd333f0cedff118484e77f0cf157e0fa00d7ea1761af0bb6dcaa56b6fb2d8 SHA512 3d0251a21583d2948fafea1f2c2fd156d138cfd13fbf3273feddcb76fe9152146523fdfb40621767d6df130818b5300d44b8de661a95ae33998b7d7eea0b7beb WHIRLPOOL bd7168fedb6d1a8445bebf614f14ff14f419d3be701d8a8d62a09cd9a80e4b0207fdc606d5f17eece16060719f6067ca2b39c9df8cdfc6b47f4b664e2525df36
+MISC ChangeLog-2015 3246 SHA256 3e0f80d594c3bd46f052746b007eafae2c6be9d2f253a38d17721a6a9279dcac SHA512 cc45b49535c42a396ac029d5ab23f4f3900a4600918ff6c716363f2170b512b91689ef8f785bf626abd9a84bc12f643ebdfe39dba96c69e89545c0acf1f3de0f WHIRLPOOL 2dfad82e420c63a3688b83f3994f895252ce8458abf02bda9ef0a483a7d40aef6ffc0af7a3847bc63d602713a696c29ec9916c13ecc0e8bd36e6962da0ae415c
+MISC metadata.xml 598 SHA256 a77b240e6806aeefd5bc44de0c172cf4166052b6f1de9a8d0eed6d822677cc1a SHA512 41a8a023e62a5c3c286fcda70d55c4e3f999703ad021681cbe5f2441057e74e486d92ef023f969e0146d19131b9a73453b2f0dad06c308bb2f3a9123bfa54a48 WHIRLPOOL d2e28a77caa31b6eed8e56b0d5b9b3dcd8422a1c36a95fbca4df71e6bf9d813a51327fe279c41f15ef755ffc54c82738f4edb4d35c68cf0a33022fc22c0f7f6d
diff --git a/app-accessibility/espeakup/espeakup-0.71-r1.ebuild b/app-accessibility/espeakup/espeakup-0.71-r1.ebuild
new file mode 100644
index 000000000000..6d8dbfdadf20
--- /dev/null
+++ b/app-accessibility/espeakup/espeakup-0.71-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
+HOMEPAGE="http://www.linux-speakup.org"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+COMMON_DEPEND="|| (
+ app-accessibility/espeak[portaudio]
+ app-accessibility/espeak[pulseaudio] )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
+ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
+ERROR_SPEAKUP_SYNTH_SOFT="CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!"
+
+pkg_setup() {
+ if kernel_is -ge 2 6 37; then
+ check_extra_config
+ elif ! has_version app-accessibility/speakup; then
+ ewarn "Cannot find speakup on your system."
+ ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
+ ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
+ ewarn "or install app-accessibility/speakup."
+ fi
+}
+
+src_compile() {
+ emake || die "Compile failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed."
+ dodoc ChangeLog README ToDo
+ newconfd "${FILESDIR}"/espeakup.confd espeakup
+ newinitd "${FILESDIR}"/espeakup.rc espeakup
+}
+
+pkg_postinst() {
+ elog "To get espeakup to start automatically, it is currently recommended"
+ elog "that you add it to the default run level, by giving the following"
+ elog "command as root."
+ elog
+ elog "rc-update add espeakup default"
+ elog
+ elog "You can also set a default voice now for espeakup."
+ elog "See /etc/conf.d/espeakup for how to do this."
+}
diff --git a/app-accessibility/espeakup/espeakup-0.80.ebuild b/app-accessibility/espeakup/espeakup-0.80.ebuild
new file mode 100644
index 000000000000..95a1e0ea06b2
--- /dev/null
+++ b/app-accessibility/espeakup/espeakup-0.80.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/williamh/espeakup.git"
+ inherit git-r3
+else
+ EGIT_COMMIT=v${PV}
+ SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ inherit vcs-snapshot
+fi
+
+inherit linux-info
+
+DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
+HOMEPAGE="https://github.com/williamh/espeakup"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+COMMON_DEPEND="|| (
+ app-accessibility/espeak[portaudio]
+ app-accessibility/espeak[pulseaudio] )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
+ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
+ERROR_SPEAKUP_SYNTH_SOFT="CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!"
+
+pkg_setup() {
+ if kernel_is -ge 2 6 37; then
+ check_extra_config
+ elif ! has_version app-accessibility/speakup; then
+ ewarn "Cannot find speakup on your system."
+ ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
+ ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
+ ewarn "or install app-accessibility/speakup."
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ einstalldocs
+ newconfd "${FILESDIR}"/espeakup.confd espeakup
+ newinitd "${FILESDIR}"/espeakup.rc espeakup
+}
+
+pkg_postinst() {
+ elog "To get espeakup to start automatically, it is currently recommended"
+ elog "that you add it to the default run level, by giving the following"
+ elog "command as root."
+ elog
+ elog "rc-update add espeakup default"
+ elog
+ elog "You can also set a default voice now for espeakup."
+ elog "See /etc/conf.d/espeakup for how to do this."
+}
diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild b/app-accessibility/espeakup/espeakup-9999.ebuild
new file mode 100644
index 000000000000..95a1e0ea06b2
--- /dev/null
+++ b/app-accessibility/espeakup/espeakup-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/williamh/espeakup.git"
+ inherit git-r3
+else
+ EGIT_COMMIT=v${PV}
+ SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ inherit vcs-snapshot
+fi
+
+inherit linux-info
+
+DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
+HOMEPAGE="https://github.com/williamh/espeakup"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+COMMON_DEPEND="|| (
+ app-accessibility/espeak[portaudio]
+ app-accessibility/espeak[pulseaudio] )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
+ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
+ERROR_SPEAKUP_SYNTH_SOFT="CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!"
+
+pkg_setup() {
+ if kernel_is -ge 2 6 37; then
+ check_extra_config
+ elif ! has_version app-accessibility/speakup; then
+ ewarn "Cannot find speakup on your system."
+ ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
+ ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
+ ewarn "or install app-accessibility/speakup."
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ einstalldocs
+ newconfd "${FILESDIR}"/espeakup.confd espeakup
+ newinitd "${FILESDIR}"/espeakup.rc espeakup
+}
+
+pkg_postinst() {
+ elog "To get espeakup to start automatically, it is currently recommended"
+ elog "that you add it to the default run level, by giving the following"
+ elog "command as root."
+ elog
+ elog "rc-update add espeakup default"
+ elog
+ elog "You can also set a default voice now for espeakup."
+ elog "See /etc/conf.d/espeakup for how to do this."
+}
diff --git a/app-accessibility/espeakup/files/espeakup.confd b/app-accessibility/espeakup/files/espeakup.confd
new file mode 100644
index 000000000000..035012cc08e5
--- /dev/null
+++ b/app-accessibility/espeakup/files/espeakup.confd
@@ -0,0 +1,9 @@
+# conf.d file for espeakup
+#
+# Please check man 8 espeakup for more information about the options
+# espeakup accepts.
+#
+# Currently, the only meaningful option is:
+# --default-voice=voicename -- set the espeak voice espeakup will use.
+#
+ESPEAKUP_OPTS=""
diff --git a/app-accessibility/espeakup/files/espeakup.rc b/app-accessibility/espeakup/files/espeakup.rc
new file mode 100644
index 000000000000..2989a970874b
--- /dev/null
+++ b/app-accessibility/espeakup/files/espeakup.rc
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command=/usr/bin/espeakup
+command_args="${espeakup_opts:-${ESPEAKUP_OPTS}}"
+pidfile=/run/espeakup.pid
+
+depend() {
+ after modules
+ use alsasound pulseaudio
+}
diff --git a/app-accessibility/espeakup/metadata.xml b/app-accessibility/espeakup/metadata.xml
new file mode 100644
index 000000000000..af3734414e2f
--- /dev/null
+++ b/app-accessibility/espeakup/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+ </maintainer>
+ <longdescription>
+Espeakup is a small lightweight connector which makes it possible for
+speakup to use espeak as its synthesizer.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">williamh/espeakup</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/festival-fi/Manifest b/app-accessibility/festival-fi/Manifest
new file mode 100644
index 000000000000..777b30c469b5
--- /dev/null
+++ b/app-accessibility/festival-fi/Manifest
@@ -0,0 +1,8 @@
+AUX festival-fi-20041119_lavennin_path.patch 449 SHA256 b54abb9e6da39b2e9a8b75ed73336596ea8a0e8f7be443b22664a93844bba4d2 SHA512 df21297cfe77a305c5e9d40da9b8176048470d1f2a740e268188aa395a3cfbf0365fb70d6dd1b4709264303c952e150720b7a4ab5fbf39e0ccee5daea01b254d WHIRLPOOL 55714989310875e463cabd84b51f26f149f99d060ead2033ef9ed9a926b7b99c96cbcf4566c47860968f6faddc56e992bace993a723713d88a03257d8f758d10
+DIST hy_fi_mv_diphone-20041119.tgz 3670516 SHA256 6d1e93cdf6c40fe15615e0d31edbe21198cf8e5c8f1cd734a09719843e80b988 SHA512 8e762a988e028c4b44430252150525a23421d1d58a1d58a9826866623729e4fadbb668fd891d1e0e36eee963319ae6cb2bb03dac6ce1f64629d5227d57157d60 WHIRLPOOL 1b750f092688b102b83322b5c24fa69d868b11151ef68343f103a298c7e114a7880ed110ebc305969ac8aa48376fcab04a6f9a4fa7d1c6917d2672a4479b8cb8
+DIST lavennin-20041119.tgz 172438 SHA256 db47f99c85f3c46ca4598365b6e0885b6f1407460d4e7e355d3b09f865ba451f SHA512 0f20ad71ce1862f05e5ee78860804255f0d40e93b80e5869276e7c8032d594b8ad259a60018fde95ea655e30d8f0574138c5bb53d5fbe61e20658d299493897d WHIRLPOOL 3a24e173f5bf004c85f5bcd9282a6931c19e2f474431dac2fab75d968b52a9dfbfc5ebd568198d9f23b81dff08af249d97c8f494de2b6d1454f70000c0ae6597
+DIST suo_fi_lj-1.0g-20051204.tgz 5928158 SHA256 d9c4dbbb8f1701dc5a0ef99b4aa1317266873e49b6b97163590abade952f8588 SHA512 f239f34836a6e70be77a5f20a6cae1eba394f07e9ecb6db081b7c6d272d1c26b29ed89dc22deb7f9189562c75c00049ecb4e3426eecaa835145dfbd4aa86c360 WHIRLPOOL edebcdb3f3afabe056401c3c95e1d3b55db6a2af42807fc5a8d9ee1d0bb45d051390e3e91dca78d914036b7ebc7f79f1ba6bf6c912b17fcd4fe73b38ea04fd7e
+EBUILD festival-fi-20041119.ebuild 1206 SHA256 6db6bc347008124849348032875008833ce56a60af0e17a738b5450494236bf6 SHA512 ded11ea17b2ea568e230ad544a0ba3b32ff139315b05dbe8b11751c1f588eeaf53c4c68db9ada631905102627beb253c0bf884de8934a1de15cc89867f5edc1a WHIRLPOOL 2cb53142b2f433bc3571fde25473594096611c1cfec1a490767f4eb54af06071bcf0295ead7fb368c428725596530fdcde8bb367dc5af32747606384fd77f213
+MISC ChangeLog 2626 SHA256 c9e1dd2573b8529f4d05936ea24c1e212876bbec54a1c0f6702843aeb6bcdfb6 SHA512 9497a5330b6505e262165bc1026f364f9a201252e91be97d765cd183982c546cae4269472fdb00188c1dd782bd54cc78222a301bc9c5dfeec0c815013755851a WHIRLPOOL 504b501c04a08062a5cba4e0c7fed8e6e07e9b061a021a3d576283af093f010e809a7fb6f42a46154a053d06ed9788ea810a3f2de4a9fa656e44c9943c83a22d
+MISC ChangeLog-2015 728 SHA256 276d3aa2587aac927dd0b350c8d054efd4b6843b3358cf1ef6cde2fa4f8521df SHA512 80ea1e449bb92c46ab8bb21215d89a5e5c7884ae6df3e174d56280e5f29f0261809379f8546590fc882d2e44d36c47acde311e8f1633c464ea8a91ac3b9125b2 WHIRLPOOL b34f97ee841cc3edf2632fa20f5a328aea767be25ba89698d35b035075f9336af2bb6aa8973a8c2938d3fdecff0dc48d5250007965414baea0b30fc865964011
+MISC metadata.xml 381 SHA256 f8f8c32e3053a1cf8b57a5796cb32387a76932b921423b10590f85f90ba2122c SHA512 bbe4c9075ebef7cbc13b22b79331aeac86d656d483c65460838eae7d1d00fffcdafa173c9702ff2ae020c64efaeb13f81d2543dbef57804f13a4fd1dd9b4ee07 WHIRLPOOL e26b33e29be7d14c927a07f14f779c838d5ee447b497d9befda8bb82bda8b4c20cb0ec039442bcabe389cbcbe0242e559d90184472306f3d64853b3e90360744
diff --git a/app-accessibility/festival-fi/festival-fi-20041119.ebuild b/app-accessibility/festival-fi/festival-fi-20041119.ebuild
new file mode 100644
index 000000000000..7ed4851d8ed5
--- /dev/null
+++ b/app-accessibility/festival-fi/festival-fi-20041119.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+inherit eutils
+
+DESCRIPTION="Finnish diphones and text to speech script for festival"
+HOMEPAGE="http://www.ling.helsinki.fi/suopuhe"
+SRC_URI="http://www.ling.helsinki.fi/suopuhe/download/hy_fi_mv_diphone-${PV}.tgz
+ http://phon.joensuu.fi/suopuhe/tulosaineisto/suo_fi_lj-1.0g-20051204.tgz
+ http://www.ling.helsinki.fi/suopuhe/download/lavennin-${PV}.tgz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="perl"
+
+RDEPEND=">=app-accessibility/festival-1.96_beta"
+DEPEND=""
+
+src_prepare(){
+ cd "${WORKDIR}/lavennin/bin"
+ epatch "${FILESDIR}/${P}_lavennin_path.patch"
+}
+
+src_install() {
+ cd "${WORKDIR}"
+ dodoc festival/lib/voices/finnish/hy_fi_mv_diphone/README.mv
+ rm festival/lib/voices/finnish/hy_fi_mv_diphone/{README.mv,LICENSE}
+ insinto /usr/share/festival/
+ cd festival/lib/
+ doins -r voices/
+ cd "${WORKDIR}/lavennin/"
+ newdoc README.txt README.lavennin
+ dodoc man/*.shtml
+
+ if use perl; then
+
+ newbin bin/lavennin suopuhe-lavennin
+ dodir /usr/share/suopuhe/data/
+ insinto /usr/share/suopuhe
+ doins -r data
+
+ elog "TTS perl script installed as suopuhe-lavennin"
+ fi
+}
diff --git a/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch b/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch
new file mode 100644
index 000000000000..7084641a669e
--- /dev/null
+++ b/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch
@@ -0,0 +1,18 @@
+# 08/May/2009
+# Patch to fix the path to data files for Gentoo
+# Not sending this to upstrem.
+# neurogeek@gentoo.org
+
+--- bin/lavennin.orig 2009-05-08 01:05:48.000000000 -0430
++++ bin/lavennin 2009-05-08 01:07:07.000000000 -0430
+@@ -164,8 +164,8 @@
+ $HOME = get_home_directory();
+ }
+
+-my $DATA_DIR = $HOME . "/data";
+-
++#Gentoo Data Dir
++my $DATA_DIR = "/usr/share/suopuhe/data";
+
+ # making the TMP dir...
+ unless ( -e "$HOME/tmp" || $www ) {
diff --git a/app-accessibility/festival-fi/metadata.xml b/app-accessibility/festival-fi/metadata.xml
new file mode 100644
index 000000000000..55e1c4cf77c7
--- /dev/null
+++ b/app-accessibility/festival-fi/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/festival-freebsoft-utils/Manifest b/app-accessibility/festival-freebsoft-utils/Manifest
new file mode 100644
index 000000000000..c893f68ad0e9
--- /dev/null
+++ b/app-accessibility/festival-freebsoft-utils/Manifest
@@ -0,0 +1,7 @@
+DIST festival-freebsoft-utils-0.10.tar.gz 73022 SHA256 c16cbd1d5494b1b058b787ef936fa483ac2f3ce92657372c92b3dbf153750457 SHA512 26305b9d0fc7f1333786d38cc0efbbe2cb2734e9f981e846ce7b9369cf012adf04e357af9c39fea650620cf7ff619ad15c48dbbd5d6a2781907301817718136c WHIRLPOOL 665583026de7d632f4b87db518e2bfe8026d401b8f827889437874cb53a04c1234b6eed388186dcf07f8b1318c2cfa860837a134cd6501cb724adbd264de6372
+DIST festival-freebsoft-utils-0.2.tar.gz 65591 SHA256 58c947ceff0764bf564e0489ed04e27582aff989da12aaa851326882e24be9e0 SHA512 a0744c415461b2a58205e0c8c6e8f77695a2c0f91c6ecf245d0a5c6108ba806c8557591e36c73c02db51f1a5a97254a9eb1bc7422aa7b3043f798b3376b04e2e WHIRLPOOL 9a33c4f6b24d25d4630d8c2fa574a2e6573e042f5225bc07e8e0474146f124bd3f3ba2fdb82833712cb7bae5efcdbc747f03c5ca2d45fa22be1e425f9298627e
+EBUILD festival-freebsoft-utils-0.10.ebuild 787 SHA256 53ba929f13f697ee35f46d8243a19c70293309672d39a1b7b5861f4dcc5692fa SHA512 dee341e56dcb133d42e56e62114e7f461c13597511b8de3ad26960d0f515ccf32c340efdcb305eab09eb6f186753300f86b68fbffde5250b8cd0c8f6ede78bfb WHIRLPOOL b4ed3c94098f35f1a9721f95d96cc6546e79e0fd397373562d8aefc8becb11f98b93d328c1ca1ad961e63b02d4bad3abae3ccae7d52dab806e86c76abd80e722
+EBUILD festival-freebsoft-utils-0.2.ebuild 537 SHA256 868df1c7e05a4174c429fe2cf52d640ff9610f4c195457648b61c9aead78a2d3 SHA512 2f842f2b83594af83398290f31e88316c7e1f8a67f5108f4fcfdff5b125ae5e8c13aae328d322233fc0e7b2744482ff32c0b61bdb7dd89a059413a050dc2a267 WHIRLPOOL ef4ed0f84e7efa0939bc548c96e66ee389058aa34c382f0a23c53f12eb3c9738f4b76733acadaf55a5945aa9ce2bfb2abb35f92672647501b06b91c4560d7581
+MISC ChangeLog 2569 SHA256 ac0d57c8a4e9878406666bd41831f595719acf477174d9724d2667c5c6812de8 SHA512 fadbf6efa5e254afe00e943aa239c9e4528ecc25db7d911a5669934739e3b4bb4a20766589cb3ace4696906e7b8d615e551319dc403d2e57a25b25f85ec64208 WHIRLPOOL bf70badc355b30f0418b01203624c3e97c873fecc1cdd50084048791746058bc0e1fe6a74f20e2a42c55a1badc9675f95136ec1fe9feb92af01ba1f084784998
+MISC ChangeLog-2015 3063 SHA256 db6bd22746fbcb7ef07c367f2ab93415bcc875ab5e04254bb43dc0c2a1a4a251 SHA512 cb21dbe132363d7fe622f9c2891ddd0fd477198f04f8c586adbc3aef3a69a8e4b5b5d4731769b3f01f5a81c28c5150e00f1efe52624599c3f83ab9875e3fafc3 WHIRLPOOL c837c813d0a528a38fc7075b2fa995c401f69224586f5f8e29ed63e1747342ebc7587c669e93c5a66811956e891497d2ee78736b1f57661274514e4cd78da6b4
+MISC metadata.xml 345 SHA256 0d69ba7dbe50e45a3a432674ba0fa2c0937f5b668ca53963cae570d5609c26e9 SHA512 d034cf8435010ee64e6186cb7e14f559d3e43eec3b3b31e0cec4da133c65cd8c34a00cc4c66958fb13fc1470ef0fa5307331032cde328a443b877be6f3d4c44c WHIRLPOOL ae5dcd066039712e1d635dacca123201e5789281b68798b436f3f4273c976931d26ee24dfddc0a635f1b981e7c138e0e5c68cceb83a0b214e996cb67f60bfa58
diff --git a/app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.10.ebuild b/app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.10.ebuild
new file mode 100644
index 000000000000..138974593859
--- /dev/null
+++ b/app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.10.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+DESCRIPTION="a collection of Festival functions for speech-dispatcher"
+HOMEPAGE="http://www.freebsoft.org/festival-freebsoft-utils"
+SRC_URI="http://www.freebsoft.org/pub/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=app-accessibility/festival-1.4.3
+ media-sound/sox
+ virtual/libiconv"
+# We depend on virtual/libiconv for the iconv command-line tool. This
+# command should be available in both packages providing the virtual.
+
+src_compile(){
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ dodoc ANNOUNCE NEWS README
+ doinfo doc/*.info
+ insinto /usr/share/festival
+ doins "${S}"/*.scm
+}
diff --git a/app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.2.ebuild b/app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.2.ebuild
new file mode 100644
index 000000000000..bf675ff4f443
--- /dev/null
+++ b/app-accessibility/festival-freebsoft-utils/festival-freebsoft-utils-0.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="a collection of Festival functions for speech-dispatcher"
+HOMEPAGE="http://www.freebsoft.org/festival-freebsoft-utils"
+SRC_URI="http://www.freebsoft.org/pub/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE=""
+
+DEPEND=">=app-accessibility/festival-1.4.3"
+RDEPEND="${DEPEND}"
+
+src_compile(){
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ insinto /usr/lib/festival
+ doins "${S}"/*.scm
+}
diff --git a/app-accessibility/festival-freebsoft-utils/metadata.xml b/app-accessibility/festival-freebsoft-utils/metadata.xml
new file mode 100644
index 000000000000..8fb4aba1043e
--- /dev/null
+++ b/app-accessibility/festival-freebsoft-utils/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>williamh@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/festival-hts/Manifest b/app-accessibility/festival-hts/Manifest
new file mode 100644
index 000000000000..a63ccb377bc1
--- /dev/null
+++ b/app-accessibility/festival-hts/Manifest
@@ -0,0 +1,10 @@
+DIST festvox_nitech_us_awb_arctic_hts-2.1.tar.bz2 1636752 SHA256 7aea67674661d29ee8686b45af38f4f090204e101abaead04aa731bdb7635569 SHA512 8121ca6cecf3c036ede782892a1a61737b4f967757567c285dca30e510ba0824cc94235464b0ba2594848c132e684e29e5dc3a1c6029096315b95fd3fd938240 WHIRLPOOL 4ac23712e8188d916707b87b91b1feb5a49301745092d0f7759f17abf47c35035f2c21a729f574fae44eba020880578b600c6f8f1079627ebde8dc5ed3efd5c6
+DIST festvox_nitech_us_bdl_arctic_hts-2.1.tar.bz2 1855093 SHA256 5133aebf7a620e577f01a5e7669c7da95fb527071902eb8364d0b40f0be47835 SHA512 c09a14e928fd03b2fa3d2bcbf5aa197ab25d1cb336135161d119734c10702ee9a6d103d00a9a9ba22e9df9e8245aa610b717babfbf4a6d8e00f89a396ec797ec WHIRLPOOL 5225374b969f70cfa1e813914245cbee1565c9485efe08c6c673e83d415cf989ba99fd4aaa2b8f6edd81f3996a2561031112a31bf0f801d826e735267933cd9f
+DIST festvox_nitech_us_clb_arctic_hts-2.1.tar.bz2 2201989 SHA256 4cf35b17d2db5b92498a0a371ed61330ce57d57b97f40803653fee8a77e2b338 SHA512 133e146eff001934a6a40a82570344b0ea03fbe08a3e2538f5e4d16145eb8d5147020b2f0be02f6831003a8c39caabc289700507734a2a16064b2b4e089578b7 WHIRLPOOL 12edaba6acee8a1bbe68ffbd4a2e4da9130aa931d8f0d7babcf00fe4d842ae205074b39a40acf1b7365308d0bdf063db0d0af342c7e8d115dce16d88319e9308
+DIST festvox_nitech_us_jmk_arctic_hts-2.1.tar.bz2 1607055 SHA256 e86e57c8a8361693671343473f68790160a3b69ccc7b906eb2cd1f5855d35ce3 SHA512 4b6b7280351bdf7c6268be4a0e13487e242117374a17bf543494159b83adfc34225c26abb94d9ea08c480c11b24dcea8c7b9dd35d5794685a1684e276953ec7c WHIRLPOOL e096e3b191ec411d2ec8459ab23afdeae034dbd33def1155e3fe2adc5517d9dfd2103f0578b31190a0a2206fb8410b4ac36c1f2363ef686f7907444a3428aa8e
+DIST festvox_nitech_us_rms_arctic_hts-2.1.tar.bz2 1829779 SHA256 845ae4ff9d7afed0b8270ab71d0709136f4a648ba67b66caecdb71d9bf1e993c SHA512 8072d5a1ea859aa65ea6a68ab7bbf40c080a8aede174310c81eba737c9d4b7e07bed26a2ec06c61860cd8f7f2b468e6c54325c18992209f7914046abf2509179 WHIRLPOOL 774147d9d452fa54f5d711dd17e06b93c85d2d858670ebc3419bfefd4e46ecfc7743eb3b3612cd9e1405bd5ce8917c316e021e36132a2d6dec4135568e280e06
+DIST festvox_nitech_us_slt_arctic_hts-2.1.tar.bz2 1865263 SHA256 0aff67531eb9575f3204ad516a1fa81fe2356873e3567d0ee3dba94565eea47d SHA512 47b3801c009775b53e9d5b2e5d20abe6a222c77cd4ac13abd9525bf38897c550a38e1819287db2ac10a863bf47837e6936b22c685d2ccfc1ed4e7a8128cb4112 WHIRLPOOL 279b1aa759e0790e8053212aebe690fa62517602cb6fa069c0850e616690dff0ce8cadff32d02c02844ca0f576dcd94bc57fe5c5f44c012030899d7794a29ce6
+EBUILD festival-hts-2.1.ebuild 785 SHA256 719f2bb82e13c4a6430aeaea7864d47f9f44c32e23e3562bfc7dc0c89222d2a2 SHA512 95f87516d3118ebdbc9334be0cff62f8c90355898a1e19899447d9693966fd949a9fc5bad469c09789f3a481aa7e5b24b34d71c827b098ddaa4ae4b7d2b0c838 WHIRLPOOL 04fcd86e2b882893e58ff64043deacb2b9943686c49acdaf67c6a09aa3cbb38c2f8f8f7161372e7ff699add9eed49e03607501d4188d3e554e410bc68d82e8a9
+MISC ChangeLog 2568 SHA256 cc1a37e18d8f881aec3db4c52b3aa34b3a269e14b4c65fcd8755ce8acb01719c SHA512 4abe1dab251d566e4c349d364849d3049db8d25027fcaae4f05dec281a76a5f8eae7b3b4cf457cadc6c07fb7a612259d83d1946e8f7551b02fd6869bade9633c WHIRLPOOL a5fa39b4cd3f6fabf202baa1b745845b9e8e5a1a3c6aed5487d6fb1cd0f4a93f228664f450f63e1f85d459aaeea536401db8c7d9e80bd5ee239c916d357173bb
+MISC ChangeLog-2015 382 SHA256 b8e8a02fdd9faaabdd5f54f161d1714219fc39f5647ac0d7acac69b261fda419 SHA512 f5eb140fc46f5f4a9a9f42891848aeb267910b9329776f093a67ee29276e86e8279f763260f8d997d86c79cac5c783133a7b8f4bbf748318e30416cec709a2af WHIRLPOOL 824125a5b17078c5823f0379fc2951b3940cc8becfdb52cf175317819bba46e00c89bec76de38b272e3fce62ebfbddc140a85a6edca6ceb5401be860a364ad4c
+MISC metadata.xml 375 SHA256 2d266a45b4fb056159839f940687765d7e13a01d0748fac50bbbcbb4a19d2483 SHA512 affeb58d8d6f6659fc2d00b01bb627307920575589c7c78358b26074c94831af9a40bc2b0ba9e55758f968adf7b6a15bbc1542db83b1457107fd9fbdd2a3d224 WHIRLPOOL 4509576afbf26fe58f3dbac4b99d56b01588c69ee22f65bb50694d214ec6c06c5eaf7136cacb2da1259486d499d643b73726744e3d942bdfd5a3849630612644
diff --git a/app-accessibility/festival-hts/festival-hts-2.1.ebuild b/app-accessibility/festival-hts/festival-hts-2.1.ebuild
new file mode 100644
index 000000000000..91f7b66c8b0b
--- /dev/null
+++ b/app-accessibility/festival-hts/festival-hts-2.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+DESCRIPTION="HTS voices for Festival"
+HOMEPAGE="http://hts.sp.nitech.ac.jp/"
+SITE="http://hts.sp.nitech.ac.jp/archives/${PV}"
+SRC_URI="${SITE}/festvox_nitech_us_awb_arctic_hts-${PV}.tar.bz2
+ ${SITE}/festvox_nitech_us_bdl_arctic_hts-${PV}.tar.bz2
+ ${SITE}/festvox_nitech_us_clb_arctic_hts-${PV}.tar.bz2
+ ${SITE}/festvox_nitech_us_jmk_arctic_hts-${PV}.tar.bz2
+ ${SITE}/festvox_nitech_us_rms_arctic_hts-${PV}.tar.bz2
+ ${SITE}/festvox_nitech_us_slt_arctic_hts-${PV}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=app-accessibility/festival-1.96"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ insinto /usr/share/festival/voices/
+ doins -r lib/voices/*
+}
diff --git a/app-accessibility/festival-hts/metadata.xml b/app-accessibility/festival-hts/metadata.xml
new file mode 100644
index 000000000000..1dacdab965c1
--- /dev/null
+++ b/app-accessibility/festival-hts/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/festival-it/Manifest b/app-accessibility/festival-it/Manifest
new file mode 100644
index 000000000000..2b459f42991b
--- /dev/null
+++ b/app-accessibility/festival-it/Manifest
@@ -0,0 +1,5 @@
+DIST Italian-FESTIVAL.zip 20715806 SHA256 747ef3a31571896d7d772ea46d4ee68cf0fbc57af21e8c5220fced731695f496 SHA512 6044683bda58253d9bb447f24316d258e233c3a1389666667b758c89249422a3cf169eecc6a2b03c7a6548316bb45ff9d63b4d5321cedfef011954fc1ea65c34 WHIRLPOOL aa88ef39a66bc4d852be51bb41e8dfbc1a295af2283bcd2a96caf6c917387d5a9742166687cc60ee05591bdcc50960ff6d3a31bb9e7bdd2a043ba65d2869df5f
+EBUILD festival-it-1.0-r2.ebuild 1837 SHA256 0d2e74ff5e68ca9cf435b07ca42c94c79b5f1ae1da94e3219aa8da76506b6733 SHA512 e9a5ebd63834b2f3e94bd0b1185c6b92d336906138bc99707a14ea61ce97eb9e9fe272ac2754804edd1d4bf787a9a879cbba6401802e86399ac793e5af85b284 WHIRLPOOL c7b0e1f9cf3f104cd5f20c9e7910c57087f2b186f60d2cfe9119a3d44c428d13c45b853e4fd77908c4d9685483239d248dfd69023c82fc14a517c6673b0733af
+MISC ChangeLog 2716 SHA256 fbf175d32d43c714b37de591ee4e42a612c636d0d7331404d6b43342b5eeccdf SHA512 f5476f24667b29782ee8534b3ecf177d14558ec0d8d650ee351e31a3c95683d7ed5a4da08dacadf9eb32072b36cdfe7991f3058da9eba4e5793ec499abea4c51 WHIRLPOOL ee5a7de7253104c29e5ad310410707a0e6f8b84d32f949245ff05a757c16b29287ad789bf8c2515915e25442e8620baa2c751fd06269e56462e24247d177a9c7
+MISC ChangeLog-2015 1128 SHA256 0ec92d5386a69c46e449af73e4467a1e1f77ba0192af97d551d8a074cc1b89b3 SHA512 ba3edef4f4d20eba0a7d5cd8219fcf63f8bd5692b3e5153c0df607c21e206b2ad9c84dc5ce7ed05e27b7d40f9d8afab9465d6739c6f595521cdac5f2dc18f171 WHIRLPOOL 304b39cba01dd66db59bea1c7817760c7203acd675d58cf9a36e89b13396cdc6f921ce962b31ee75a78b8458c72b90cd6c9e83a798db3640bf5bdcd21bfea30a
+MISC metadata.xml 539 SHA256 a8677a5b61d7902ca4b4a467201f23c09e47e3e13d7fbfa25f348cbfa6d0a628 SHA512 0cd664e3fb547d75b02a1a3dab1ef78e523aac62c49a9d7b2f0b67f0c96a591fcdc0e47d08edbb0e70c6f1b3274be0650bfcdd59ccc6a793e87cc23a49c3e868 WHIRLPOOL 8f0f9caa82f1678cd9e0a5705db3de02591ac519d5612400630b41e6ecf0942b01d59d6e18e43a5463b4bd2a3cf94ffe4701416cdeca023a1305ec8497d87d30
diff --git a/app-accessibility/festival-it/festival-it-1.0-r2.ebuild b/app-accessibility/festival-it/festival-it-1.0-r2.ebuild
new file mode 100644
index 000000000000..3b288028c1f7
--- /dev/null
+++ b/app-accessibility/festival-it/festival-it-1.0-r2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="A collection of italian voices for Festival TTS"
+HOMEPAGE="http://www2.pd.istc.cnr.it/FESTIVAL/home"
+SRC_URI="mirror://sourceforge/it-festival/Italian-FESTIVAL.zip"
+
+RDEPEND=">=app-accessibility/festival-2.1
+ mbrola? ( >=app-accessibility/mbrola-3.0.1h-r4[l10n_it] )"
+DEPEND="app-arch/unzip"
+IUSE="mbrola"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}
+
+src_prepare() {
+
+ unzip -qo italian_scm.zip
+ unzip -qo lex_ifd.zip
+ unzip -qo lp_diphone.zip
+ unzip -qo pc_diphone.zip
+
+ if use mbrola; then
+ unzip -qo lp_mbrola_unix.zip
+ unzip -qo pc_mbrola_unix.zip
+ fi
+
+ # Deletes some useless files
+ rm -f *.zip
+
+ rm -f `find festival/ -name install_unix.txt`
+ rm -f `find festival/ -name italian_mbrola_win.scm`
+
+ if ! use mbrola; then
+ rm -f `find festival/ -name italian_mbrola_unix.scm`
+ fi
+
+ # Aggregates some README files
+ mkdir docs
+ mv `find festival/ -name \*README` docs/
+
+ # All remaining files are moved "here"
+ mv festival/lib/* .
+ rm -rf festival/
+}
+
+src_install () {
+ # Install the docs
+ dodoc "${WORKDIR}"/docs/*
+
+ # Install the voice scheme
+ insinto /usr/share/festival/
+ doins -r "${WORKDIR}"/italian_scm/
+
+ # Install the dicts
+ insinto /usr/share/festival/dicts
+ doins -r "${WORKDIR}"/dicts/*
+
+ # Installs the voices
+ insinto /usr/share/festival/voices
+ doins -r "${WORKDIR}"/voices/*
+
+ # Enables the mbrola-based voices
+ if use mbrola; then
+ dosym /opt/mbrola/it3 /usr/share/festival/voices/italian/pc_mbrola/it3
+ dosym /opt/mbrola/it4 /usr/share/festival/voices/italian/lp_mbrola/it4
+ fi
+}
+
+pkg_postinst () {
+ einfo "Italian voices installed:"
+ for VOICE in `ls "${ROOT}/usr/share/festival/voices/italian/"`; do
+ einfo " (voice_${VOICE})"
+ done
+}
diff --git a/app-accessibility/festival-it/metadata.xml b/app-accessibility/festival-it/metadata.xml
new file mode 100644
index 000000000000..102d683c2750
--- /dev/null
+++ b/app-accessibility/festival-it/metadata.xml
@@ -0,0 +1,18 @@
+<?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>
+ <use>
+ <flag name="mbrola">Adds support for mbrola voices</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">it-festival</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/festival-ru/Manifest b/app-accessibility/festival-ru/Manifest
new file mode 100644
index 000000000000..684fe800604d
--- /dev/null
+++ b/app-accessibility/festival-ru/Manifest
@@ -0,0 +1,5 @@
+DIST msu_ru_nsh_clunits-0.5.tar.bz2 176320511 SHA256 6237d50a221eaaac7abaeb91c95c9701b7eb61f9c3da56417d9e2a0564c25525 SHA512 17428fb230cbf8154c88819c2ffe58a9e8044e80f87d2e90cb22043431558e7d3faca45d2817414754be4062dbc5a2b72957d2fbd1961e535b738b11567856e7 WHIRLPOOL d5b439138c7b59ec9bf59adb25cf035e2314dd3956c1fb39e68f8c6c5fcae1d1abe1323ffef9e4f527184dbff9ba96924148ee81a23d0a5731f5d6c0676d6289
+EBUILD festival-ru-0.5.ebuild 878 SHA256 091480b62827a074a1ab03eba9679bb643cdf36b8064e24a662195d11d5f4572 SHA512 007c8fe14914fc1b361952f36a28e4497c1c9eca0a43e5d6d17b31d9fe1fa124780fbe09d438dec92e5e55cef59f0183275d3cf3a59f509e8753c88caa90a821 WHIRLPOOL e0d14bb11e9878aca50b6be6b4dcba62ad025d7a91b53de9af30ca29b102904229ef16a40b890c8dfab6b1e3ff4d8833f031f40b26cc950dfa7fc7fe05398cac
+MISC ChangeLog 2679 SHA256 34733c3d0154621feba4a6ff08ed7116853418996f768271fd8aa62398e246e1 SHA512 18800ecd41b6f9bacbde90bfcf7ac414165e1292f65789282c70d87b6090c95228563cf6b057cd6568284e6599dd70ecea857cf9e95d30fbc765874092401c16 WHIRLPOOL a2e437769faf6ce2804bf45164ff9cc782827b2b46a6f68c344df10e425066df2f790a102a9a7f24df872208949c293aa81e24dbc7e7580d420ffac57c36e8d3
+MISC ChangeLog-2015 653 SHA256 b8a0c6c745a2895e71a1891ac0da303fe2dcb1b767b381d60614a102fdfb14e1 SHA512 40a10d595997b9e91bb01b618ca164badeda8b094f7a742ee5b0f48d6c801711089d2eeba7ff4ecd0a1591d4e468c04f08e394885e2b74523e48f4fb4090f4fa WHIRLPOOL 576fde12232050dc838813e36c3a19752f9cc6976770a8eb461c5b3f31e60d1e9680fc00305d0bbfcde0b7eac842bff176593c614084b1a6f27505ef7dd74e31
+MISC metadata.xml 469 SHA256 77ca81f3fb5ae4d7a9e13d865365fe44056d413779a7ce6b96e97c0c44a79007 SHA512 dcb8fa1d20e4465274fadf51333383ca0b6301ffc97b80c3d4ecd65f71effb7f2864d4eec41550b50f2626666b87b44586cff31131edf00b9fedb11233118ad7 WHIRLPOOL c449347dd3110b0035575df498a7505d0c1f4ec8f10b21997f60feb3baa2995a11926d78463dd9f748ac126bddcf3191f3ff612aab7093164154c46a05659446
diff --git a/app-accessibility/festival-ru/festival-ru-0.5.ebuild b/app-accessibility/festival-ru/festival-ru-0.5.ebuild
new file mode 100644
index 000000000000..9c15f8bc08a5
--- /dev/null
+++ b/app-accessibility/festival-ru/festival-ru-0.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+MY_PN=msu_ru_nsh_clunits
+
+DESCRIPTION="Russian voices for Festival"
+HOMEPAGE="https://sourceforge.net/projects/festlang.berlios/"
+SRC_URI="mirror://sourceforge/project/festlang.berlios/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=app-accessibility/festival-1.96_beta"
+DEPEND=""
+
+src_install() {
+ dodoc "${MY_PN}/README" || die "Could not install README"
+ rm "${MY_PN}/{README,COPYING}"
+
+ insinto "/usr/share/festival/voices/russian/"
+ doins -r "${MY_PN}/" || die "Could not install Russian Voices"
+}
+
+pkg_postinst() {
+ elog
+ elog " To enable russian voices run festval and use command:"
+ elog " (voice_msu_ru_nsh_clunits)"
+ elog
+ elog " Please note that text input should have UTF-8 encoding."
+ elog
+}
diff --git a/app-accessibility/festival-ru/metadata.xml b/app-accessibility/festival-ru/metadata.xml
new file mode 100644
index 000000000000..27c18ba7ea1c
--- /dev/null
+++ b/app-accessibility/festival-ru/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">festlang.berlios</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/festival/Manifest b/app-accessibility/festival/Manifest
new file mode 100644
index 000000000000..6ceac5312281
--- /dev/null
+++ b/app-accessibility/festival/Manifest
@@ -0,0 +1,18 @@
+AUX festival-2.1-gcc4.7.patch 924 SHA256 7aef97c6784c268ab7e7ab0007673c5d54914409d7246ae1be0f63ca83e882de SHA512 d5d41c1dd60339fd219c51da7f1d6f9348832b2ffe4181787dacdca024d218dc7dbca168b9fbcb75795d681d534d77089aa8bf6fcbfbb47e2946f17c16a12071 WHIRLPOOL 2ad145f28cd1690e5f7e9dd94cc642c6ba4596c9326424e49804b74e97a7bd0da4f3b6c10a584db6f1dac1e8d053557ee4a68cba64a86376bf6bff3358e04bea
+AUX festival-2.1-gentoo-system.patch 7736 SHA256 bf595e5bda12ac753265a7630b8ba3042951191f180e08ed375955d76cab2d4b SHA512 bd15a7668e8702b1171b8a5b0ad615f6dd22ca2f2940f91abd1617fcf29aab70d97f6bf940ff5b8887bd0799af1545f781d17e23000c1f339bd9808afac4860a WHIRLPOOL 7db3db87eaa686755625b87e524d8fe52db56c2c22d0424783375bd7640a9bb11b01220b22335d6a0ea3a4eb4a8ccc6462fb0b486ec3d7a69e134a6e3dc4277a
+AUX festival-2.1-init-scm.patch 856 SHA256 71bc918dffd72adb21b8cd7394358929e23aa1e32849a4c7f0aa85aa6d4cba40 SHA512 bf86a21659affa4e7ec2eefedb0bfb3650473a90c72fe30e5ad8aabb9a20a344a792c6f612af466fc50359b4dec7e6f9afb358f1e509428513781b93e7c3c874 WHIRLPOOL 1dcf0fe1c256aa87b88f1173604be58a66cb1dec9841a082d4f77e4ca4e661639ff1a7fe8bd5c4579a9244ce7143bf48f9fe2d5f09fde7d52ceb02502c3e2a49
+AUX festival-2.1-ldflags.patch 438 SHA256 4242057ced3647a0f0c9ba3047b290ae498d30d26a0436a95237fc9a653941b2 SHA512 5c7eb23673aef0ddcc0d13bec73caa90c807fdd884f73cda33c28bc80d701ef80fbf417987f078f692d418cb3a67a6243652017bb34537a75fd32b29819b9726 WHIRLPOOL 6f16a00a4a8cd1557984c65e6e14e1096b2e817d92d236176f75293c2f815a5a6a6eafa3719c2aafac161682fa179cbe35400d93dc62fa182aba49217d3241e9
+DIST festival-2.1-release.tar.gz 787313 SHA256 06f3dcbad9d26e27443fc66947a0faf0c6679482220df4b5f42a261adf758080 SHA512 1f9f28af7106c98e313d3c4d4bb26a7f927c1214fa5a0e2b4972fc85e1011e328331b73852abb57f26fa5062263d1dbccaf65e3be59c6ec762ccf340fc93797a WHIRLPOOL 0e90a9b3e673ea7ca63a4fdb7f60868db3a74347281267aad20a94548f385b8c1a66472145f0b7c7e4c02a30a695ca012e25443ffdb9ecbafd4cd3bac2f72568
+DIST festlex_CMU.tar.gz 1925748 SHA256 c19430919bca45d5368cd4c82af6153fbcc96a487ebd30b78b5f3c08718b7c07 SHA512 c293344020fd3337193303cd5dfb7e2b0a1012770a484d8bccaae921b0c61b75699204bec45fee0db754506d6f1558fd616866cc94e76afcbb85a4dcbcf9542b WHIRLPOOL 040094e7dcbfb280a18b5862927855cdde62a49f8eac8d63045c1f92f720cc0041f2991ebacb05d457cd77c4c471e935a808a6e185df28e7f87d0e1d08f21905
+DIST festlex_OALD.tar.gz 1472516 SHA256 61afc02c4b9dee6322412958ea8be477ee451c3cdab789b88c4907e3e377ccd5 SHA512 0221c3d78140c6cb4e74f98edbdf0dbe5987a8efa3e7205844a5c01c31a98aaced3b20e4a42b09aaa4a3c93c9225d9f24d96df3fb5d963092e955d4cb4674aac WHIRLPOOL 12f96f04d0b7257a032e9e720136bb79e1377fa63f83cd5f3b35dbed5687da838dc4c11de183df89794a389d139c83ea1ea4df3ab6e7c87018c408ed9dbdf290
+DIST festlex_POSLEX.tar.gz 242914 SHA256 5ef8cc5d35e9f2141b5a0a4774df82dc9731fe7e9800eb09ecf264f2f8503e7b SHA512 5c3857a195f5f5ebc4c366f37685437af41eb7e86a1a13b41b08cab91e536114ae4ddfa8b124acb40ec32c13b53d0dbf2c857d4c756b0720c9a363866ecb8c47 WHIRLPOOL 8c5b1ed51b89377bb56cfdb12cc0affb9646cdf57b8c908deb547c3bb08c66881c59bef5f04ed1973b6f00c8ce45e0f85b9339afddb2bc460599f5ca11b8f05e
+DIST festvox_cmu_us_awb_cg.tar.gz 4452760 SHA256 f6010538b3e2f32152cc75741a62b8c7eecfaa3e51153c9db735723002807264 SHA512 b77174d2e9ab914ee3c4d6e0d83e29b64034bb45d3fe021acf3a6da13304acc819c4ac5b1046a6f022312e90aa23c73b585aaf11f927e80aee4533584b60356b WHIRLPOOL fe2aa698dfa917f8e72c49bb1399c3c430d65da2b3b072d53cb6810e6cde49b19de8c5b44e0ee23647a93ded1fc6a39c80eab059c25e3eb28805a7d9977f3539
+DIST festvox_cmu_us_rms_cg.tar.gz 5222226 SHA256 5f0ffc3181df76b63f3c13db3cdc6e67e02639a3982c6b6fa55bbbd2fe1cbc30 SHA512 a251fa27f6cabecb29cf4199cb040cb2ce512a6a447840d31b0d2055d26e6a86f4730bbe3e0f1612e413858f41fdbdd184f04575f9f64658d3f34171612ee172 WHIRLPOOL c9a5f712952c2c88d901e49cf33f03328d44fd6befaca16bcf5041a82beeb092bd6fd47751b7da9da6393c752a3b4b9ae52119a99a6ad1aca6b335cc78a8c2ae
+DIST festvox_cmu_us_slt_arctic_hts.tar.gz 955706 SHA256 adcc187fc7db39e17c119811936be57f0b788908f06c3d9b330856ad8357b128 SHA512 58908094c7e538118471ebd80d86d91f681d0958587f0c5ee6c3a00e1ad5f41519e7bb2a96353f9a68946aba343e11c2949fe2b1efafc53f0d8a6b20d7e3e1f8 WHIRLPOOL 2e87cedb571b4ece257e8c27ab9570fe183691ebc17ddb8fc4323201bd4fc2a449f30a5879a3ce8cc8f8673283c3162761235bf253c96a089d86796b898607a0
+DIST festvox_kallpc16k.tar.gz 4104056 SHA256 9eb6336f35c202c8069d37e489fb009a7e9fd8539cd47644329db1e92c6aba83 SHA512 ad8d45e04cb704f31a01de8f4d1b3adb4530563728e8b331b0a730c762bd0c0590e5d49f893404a0199f51fb6afce4b786107ae1fdbc4d1b61c3139ce805267c WHIRLPOOL c0242c9abb733c30cbba75178de8aa825a0be17bc24a2851eff64147a080c2cbd0d374de1e6e4a8bce562f727474d1e80d26535efe12e8ed640d7eb7bce75832
+DIST festvox_rablpc16k.tar.gz 5369001 SHA256 54835837ca734e62c0210c0f9dd27380d2ad89819ae91ec6e8cfab4e515b7bdc SHA512 11539bfb822eec9c4803c8526364d3cf6ad735a0edfd018471e95df1447e0cd3e19fdee44faaf0f0fbceed281a06b21a971f0c2a3a3ff6c46ea8272202f53f11 WHIRLPOOL 08266d82182ebc939965f52ef591043de664ed8380105e42eb39b4a96f50bda5d8958d9b7850e963fe1e8324fd6a5d05a5d1d7ab41f4c88940e61fe783dbf557
+DIST speech_tools-2.1-release.tar.gz 1681999 SHA256 ff6167cd929a88e2f91b47191c6c4dae87c9c06ba39fccc4465af9d79e9b2be9 SHA512 6ef9a7dd01ede152c4dafd0b2037312d62a79d875813d74ea048899a52eee505b93ffbabef9b6c0a1d15aeadb5508fd18a2f392e85276847fe071173aec5db96 WHIRLPOOL 6df6ca5168462599fadf209827e367c963af5ca6be05277618c9d09aac34a3b151665b860a14fa4742482cc77246e372671ac94b23bdca63bbbb7b8c7b234644
+EBUILD festival-2.1-r1.ebuild 3667 SHA256 d5bacdf140574fe95158127b515f4e1edce4a5d0a111a0088f233eea29360209 SHA512 7b3bd3fcaba747e7358f4eb5257d6fb951c5d3a4cf9051820d8c118585735ecc59a3e768c750974698d225b52d370db72a91e6c7698f36d396a9fec05e41dc41 WHIRLPOOL 314a216d787af342b2bc566079218ab028f7c9c2848d91da7ca755b6befc71e63edb7d2e4e80ab83d72f419784c8145d9618c1e3a518568a5fe0d503fcda4fb5
+MISC ChangeLog 2712 SHA256 c86041ce3939bb15c55a4b60d2ec10b9b7f3a2fede4260bdd96c8e550640b0bd SHA512 8106b814c8a2b3d1eeafa3b350ac28c93c904b18c6c19c419f0199b2b711b4d7a8ca048d3eafe621a43c9e41831a696ff6ab63c40089d564f0f49c9b0a08957a WHIRLPOOL 5f4f166af918e9f34fa5ce232d505c772270f4aa1a1e2aee4b083e9b912e3d136437e2692fce8a87e77aca8107f0821ad752629de0673f5162021ba644dca94b
+MISC ChangeLog-2015 21631 SHA256 0b2658058802ac8f8a7f2863750ff37c7c9b19c2b7835774fe1a1fd8873caf05 SHA512 fba6e700ebda57551c447a73684b544410ade20d6f888a32a6b8c094b1bd9ec738295a07cdec9744b13c819f1153718676e00639e0472e692b26c4e3da68ade8 WHIRLPOOL 19fba883debb1996a8d44b1c8575830fd7a0c0761214cf6210e3b124f59a4559a1e4ff8fb4343e094bef3dca1ad46e186694f02c10de6975621e745e7275af47
+MISC metadata.xml 375 SHA256 2d266a45b4fb056159839f940687765d7e13a01d0748fac50bbbcbb4a19d2483 SHA512 affeb58d8d6f6659fc2d00b01bb627307920575589c7c78358b26074c94831af9a40bc2b0ba9e55758f968adf7b6a15bbc1542db83b1457107fd9fbdd2a3d224 WHIRLPOOL 4509576afbf26fe58f3dbac4b99d56b01588c69ee22f65bb50694d214ec6c06c5eaf7136cacb2da1259486d499d643b73726744e3d942bdfd5a3849630612644
diff --git a/app-accessibility/festival/festival-2.1-r1.ebuild b/app-accessibility/festival/festival-2.1-r1.ebuild
new file mode 100644
index 000000000000..ea2559bf691b
--- /dev/null
+++ b/app-accessibility/festival/festival-2.1-r1.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+inherit eutils multilib toolchain-funcs user
+
+MY_PV="${PV}-release"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Festival Text to Speech engine"
+HOMEPAGE="http://www.cstr.ed.ac.uk/projects/festival/"
+SITE="http://www.festvox.org/packed/${PN}/${PV}"
+SRC_URI="${SITE}/${MY_P}.tar.gz
+ ${SITE}/festlex_CMU.tar.gz
+ ${SITE}/festlex_OALD.tar.gz
+ ${SITE}/festlex_POSLEX.tar.gz
+ ${SITE}/festvox_cmu_us_awb_cg.tar.gz
+ ${SITE}/festvox_cmu_us_rms_cg.tar.gz
+ ${SITE}/festvox_cmu_us_slt_arctic_hts.tar.gz
+ ${SITE}/festvox_rablpc16k.tar.gz
+ ${SITE}/festvox_kallpc16k.tar.gz
+ ${SITE}/speech_tools-${MY_PV}.tar.gz"
+
+LICENSE="FESTIVAL HPND BSD rc regexp-UofT free-noncomm"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="~app-accessibility/speech-tools-2.1
+ >=sys-libs/ncurses-5.6-r2"
+RDEPEND="${DEPEND}
+ media-sound/alsa-utils
+"
+
+S=${WORKDIR}/festival
+
+pkg_setup() {
+ enewuser festival -1 -1 -1 audio
+}
+
+src_prepare() {
+ # tell festival to use the speech-tools we have installed.
+ sed -i -e "s:\(EST=\).*:\1${EPREFIX}/usr/share/speech-tools:" "${S}"/config/config.in
+ sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak
+
+ # fix the reference to /usr/lib/festival
+ sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1${EPREFIX}/usr/share/festival:" "${S}"/config/project.mak
+
+ # Fix path for examples in festival.scm
+ sed -i -e "s:\.\./examples/:${EPREFIX}/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm
+
+ epatch "${FILESDIR}/${P}-ldflags.patch"
+ epatch "${FILESDIR}/${P}-init-scm.patch"
+ epatch "${FILESDIR}/${P}-gentoo-system.patch"
+
+ # copy what we need for MultiSyn from speech_tools.
+ cp -pr "${WORKDIR}"/speech_tools/base_class "${S}"/src/modules/MultiSyn
+
+ epatch "${FILESDIR}/${P}-gcc4.7.patch"
+
+ echo "(Parameter.set 'Audio_Command \"aplay -q -c 1 -t raw -f s16 -r \$SR \$FILE\")" >> "${S}"/lib/siteinit.scm
+ echo "(Parameter.set 'Audio_Method 'Audio_Command)" >> "${S}"/lib/siteinit.scm
+}
+
+src_configure() {
+ econf || die "econf failed"
+}
+
+src_compile() {
+ emake -j1 PROJECT_LIBDEPS="" REQUIRED_LIBDEPS="" LOCAL_LIBDEPS="" \
+ OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed"
+}
+
+src_install() {
+ # Install the binaries
+ dobin src/main/festival
+ dobin lib/etc/*Linux*/audsp
+ dolib.a src/lib/libFestival.a
+
+ # Install the main libraries
+ insinto /usr/share/festival
+ doins -r lib/*
+
+ # Install the examples
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+
+ # Need to fix saytime, etc. to look for festival in the correct spot
+ for ex in "${D}"/usr/share/doc/${PF}/examples/*.sh; do
+ exnoext=${ex%%.sh}
+ chmod a+x "${exnoext}"
+ dosed "s:${S}/bin/festival:/usr/bin/festival:" "${exnoext##$D}"
+ done
+
+ # Install the header files
+ insinto /usr/include/festival
+ doins src/include/*.h
+
+ insinto /etc/festival
+ doins lib/site*
+
+ # Install the docs
+ dodoc "${S}"/{ACKNOWLEDGMENTS,NEWS,README}
+ doman "${S}"/doc/{festival.1,festival_client.1}
+
+ # create the directory where our log file will go.
+ diropts -m 0755 -o festival -g audio
+ keepdir /var/log/festival
+
+}
+
+pkg_postinst() {
+ elog
+ elog " Useful examples include saytime, text2wave. For example, try:"
+ elog " \"/usr/share/doc/${PF}/examples/saytime\""
+ elog
+ elog " Or for something more fun:"
+ elog ' "echo "Gentoo can speak" | festival --tts"'
+ elog
+ elog "This version also allows configuration of site specific"
+ elog "initialization in /etc/festival/siteinit.scm and"
+ elog "variables in /etc/festival/sitevars.scm."
+ elog
+}
diff --git a/app-accessibility/festival/files/festival-2.1-gcc4.7.patch b/app-accessibility/festival/files/festival-2.1-gcc4.7.patch
new file mode 100644
index 000000000000..8ebc8cc472c0
--- /dev/null
+++ b/app-accessibility/festival/files/festival-2.1-gcc4.7.patch
@@ -0,0 +1,29 @@
+diff -uNr festival.orig/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc festival/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc
+--- festival.orig/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc 2012-12-02 23:03:27.000000000 +0000
++++ festival/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc 2012-12-02 23:21:17.000000000 +0000
+@@ -42,6 +42,7 @@
+
+ #include "EST_TSimpleVector.h"
+ #include "EST_matrix_support.h"
++#include <cstring>
+ #include <fstream>
+ #include "EST_cutils.h"
+
+@@ -49,7 +50,7 @@
+ {
+ if (this->p_column_step==1 && a.p_column_step==1)
+ {
+- resize(a.n(), FALSE);
++ this->resize(a.n(), FALSE);
+ memcpy((void *)(this->p_memory), (const void *)(a.p_memory), this->n() * sizeof(T));
+ }
+ else
+@@ -70,7 +71,7 @@
+ int old_offset = this->p_offset;
+ unsigned int q;
+
+- just_resize(newn, &old_vals);
++ this->just_resize(newn, &old_vals);
+
+ if (set && old_vals)
+ {
diff --git a/app-accessibility/festival/files/festival-2.1-gentoo-system.patch b/app-accessibility/festival/files/festival-2.1-gentoo-system.patch
new file mode 100644
index 000000000000..a09e1379eebf
--- /dev/null
+++ b/app-accessibility/festival/files/festival-2.1-gentoo-system.patch
@@ -0,0 +1,124 @@
+diff -uNr festival.orig/config/systems/GentooLinux.mak festival/config/systems/GentooLinux.mak
+--- festival.orig/config/systems/GentooLinux.mak 1969-12-31 19:00:00.000000000 -0500
++++ festival/config/systems/GentooLinux.mak 2011-02-09 10:43:28.000000000 -0500
+@@ -0,0 +1,42 @@
++ ###########################################################################
++ ## ##
++ ## Centre for Speech Technology Research ##
++ ## University of Edinburgh, UK ##
++ ## Copyright (c) 1996 ##
++ ## 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. ##
++ ## ##
++ ## THE UNIVERSITY OF EDINBURGH 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 THE UNIVERSITY OF EDINBURGH 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: William Hubbs <williamh@gentoo.org> ##
++ ## -------------------------------------------------------------------- ##
++ ## Settings for Gentoo Linux distributions. ##
++ ## ##
++ ###########################################################################
++
++MANDIR=$(INSTALL_PREFIX)/share/man
++# Gentoo does not use termcap
++OS_LIBS = $(LDFLAGS) -ldl -lncurses
+diff -uNr festival.orig/config/systems/Makefile festival/config/systems/Makefile
+--- festival.orig/config/systems/Makefile 2011-02-09 10:41:01.000000000 -0500
++++ festival/config/systems/Makefile 2011-02-09 10:44:22.000000000 -0500
+@@ -41,6 +41,7 @@
+ Linux.mak \
+ RedHatLinux.mak \
+ DebianGNULinux.mak \
++ GentooLinux.mak \
+ alpha_Linux.mak \
+ alpha_OSF1V4.0.mak \
+ alpha_RedHatLinux.mak \
+@@ -94,6 +95,7 @@
+ sparc_SunOS5.8.mak \
+ sparc_SunOS5.mak \
+ unknown_DebianGNULinux.mak \
++ unknown_GentooLinux.mak \
+ unknown_Linux.mak \
+ unknown_RedHatLinux.mak \
+ power_macintosh_Darwin.mak \
+diff -uNr festival.orig/config/systems/unknown_GentooLinux.mak festival/config/systems/unknown_GentooLinux.mak
+--- festival.orig/config/systems/unknown_GentooLinux.mak 1969-12-31 19:00:00.000000000 -0500
++++ festival/config/systems/unknown_GentooLinux.mak 2011-02-09 10:45:34.000000000 -0500
+@@ -0,0 +1,41 @@
++###########################################################################
++## ##
++## Centre for Speech Technology Research ##
++## University of Edinburgh, UK ##
++## Copyright (c) 1996 ##
++## 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. ##
++## ##
++## THE UNIVERSITY OF EDINBURGH 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 THE UNIVERSITY OF EDINBURGH 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: William Hubbs <williamh@gentoo.org> ##
++## -------------------------------------------------------------------- ##
++## Settings for Gentoo Linux distributions. ##
++## ##
++###########################################################################
++
++include $(EST)/config/systems/Linux.mak
++include $(EST)/config/systems/GentooLinux.mak
+diff -uNr festival.orig/config/system.sh festival/config/system.sh
+--- festival.orig/config/system.sh 2011-02-09 10:41:01.000000000 -0500
++++ festival/config/system.sh 2011-02-09 10:42:10.000000000 -0500
+@@ -70,6 +70,10 @@
+ then
+ OSTYPE=DebianGNULinux
+ OSREV=`cat /etc/debian_version`
++ elif [ -f "/etc/gentoo-release" ]
++ then
++ OSTYPE=GentooLinux
++ OSREV=""
+ else
+ # Generic unknown GNU/Linux system.
+ OSTYPE=Linux
diff --git a/app-accessibility/festival/files/festival-2.1-init-scm.patch b/app-accessibility/festival/files/festival-2.1-init-scm.patch
new file mode 100644
index 000000000000..efe575b0c2b7
--- /dev/null
+++ b/app-accessibility/festival/files/festival-2.1-init-scm.patch
@@ -0,0 +1,24 @@
+--- festival/lib/init.scm 2006-09-15 01:34:32.000000000 -0500
++++ festival/lib/init.scm 2006-09-15 01:50:30.000000000 -0500
+@@ -52,8 +52,8 @@
+
+ ;;; A chance to set various variables to a local setting e.g.
+ ;;; lexdir, voices_dir audio etc etc.
+-(if (probe_file (path-append libdir "sitevars.scm"))
+- (load (path-append libdir "sitevars.scm")))
++(if (probe_file "/etc/festival/sitevars.scm")
++ (load "/etc/festival/sitevars.scm"))
+
+ ;;; CSTR siod extensions
+ (require 'cstr)
+@@ -133,8 +133,8 @@
+ ;;;
+ ;;; Local site initialization, if the file exists load it
+ ;;;
+-(if (probe_file (path-append libdir "siteinit.scm"))
+- (load (path-append libdir "siteinit.scm")))
++(if (probe_file "/etc/festival/siteinit.scm")
++ (load "/etc/festival/siteinit.scm"))
+
+ ;;; User initialization, if a user has a personal customization
+ ;;; file loaded it
diff --git a/app-accessibility/festival/files/festival-2.1-ldflags.patch b/app-accessibility/festival/files/festival-2.1-ldflags.patch
new file mode 100644
index 000000000000..e6559c8a8168
--- /dev/null
+++ b/app-accessibility/festival/files/festival-2.1-ldflags.patch
@@ -0,0 +1,12 @@
+diff -uNr festival.orig/config/systems/Linux.mak festival/config/systems/Linux.mak
+--- festival.orig/config/systems/Linux.mak 2011-02-09 10:08:20.000000000 -0500
++++ festival/config/systems/Linux.mak 2011-02-09 10:09:04.000000000 -0500
+@@ -46,7 +46,7 @@
+ JAVAH=/usr/bin/javah
+
+ TCL_LIBRARY = -ltcl
+-OS_LIBS = -ldl
++OS_LIBS = $(OPTIMISE_LDFLAGS) -ldl
+
+ ## the native audio module for this type of system
+ NATIVE_AUDIO_MODULE = LINUX16
diff --git a/app-accessibility/festival/metadata.xml b/app-accessibility/festival/metadata.xml
new file mode 100644
index 000000000000..1dacdab965c1
--- /dev/null
+++ b/app-accessibility/festival/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/flite/Manifest b/app-accessibility/flite/Manifest
new file mode 100644
index 000000000000..9816985e8cf0
--- /dev/null
+++ b/app-accessibility/flite/Manifest
@@ -0,0 +1,10 @@
+AUX flite-1.4-audio-interface.patch 520 SHA256 405320984e098c3d788b7751935b2774972ee7970dbe0fef0718ce1e5cc725c9 SHA512 06fea693abbb186e039cc371ce5cde2b77979964778a7c24d9d2d2de9994898fa8a8f2ff0a341fc97f813f61d6c9e7a011caa0963467398176ec04d69c750283 WHIRLPOOL 83902c9a8324cd25c188fb62d4012dcdea53df8cece4592384dc5aeb019c74a88fbd99b4f6f5ca6136d2de2ef3f0280811cb4f1a0d51dc9c0d114a9e13c1ae91
+AUX flite-1.4-fix-parallel-builds.patch 599 SHA256 bfd51888ea533bb9ee74cadb68b2e507cb715ab5043aa679b7f42ab52336a7a1 SHA512 5adf675aadc3493ad70b1e7f447a1d7c0ff9c11a7dce90afbc6ccc7c811cc7226a7b1591a1a819209b26e93bf48c11cdaa8db1cfd55eb884a66b054c79590509 WHIRLPOOL 3329456e3c0f7c759a6a849b2e9bb148f809b94979bc8bbd56d0a35e5191614f2f4281d24899b85461387070311ed3c811e9bfb447afbecf37c58d60a69a2bba
+AUX flite-1.4-ldflags.patch 1806 SHA256 ff43e11241c9aea26483865c672c20421d12c688ae8b59b39471bafb52c1463e SHA512 87c91fca91e3edb84ef6e6fcffcb67ab9043547fded84ac2f407d02b880350223e860d976564e273ae5efebd9990e303bdd6818291d03fd74118e86c12aa59c5 WHIRLPOOL 7bf2fe75ae84c76555ba32571811cf295780105962710069795d9d21ff6c2d742441e2778650b5f52409d95ce57a664b4dd560b3fbf65e04e1935afac67fadc2
+AUX flite-1.4-respect-destdir.patch 1902 SHA256 093538c3a7cd2b9b9edd1f0956a34c4261c3ccdd4feb55e8ecedc338562495f3 SHA512 acc37971361eda4ce91cf605e3ff7878842d605d12973c37ab80451e6a1f9dea96b54cbd39a9ca281f36f6ed6ec1e79af712692639f541c59a7cedad2af47de7 WHIRLPOOL 3585708abe73fc69c16aa747d565433c6eed1c682f17c8402ca50e5cce8fa99fb66e7848a19f301d50fbc96496f8ed4aeb8849d479ce9bfff2b949bbc9ddc6c9
+AUX flite-1.4-tempfile.patch 1413 SHA256 597f1516060917faab008819e3ceb5bb487f5b3948e97eef1020dc10b62c6edf SHA512 ebf09b9067eb2e97486950bbc93f8d428fee3b762483cb6332fb93d17c1b444a1d2e2c07ee3d874415ef50449b7800dccb19d16924e124cd158b93a5340531df WHIRLPOOL 1f64c05fcf27ee9a1dfed76a93eb66cd4d76dba3da1a17c0845246c07521b3b46b2ee414f9a6b87366f36d34b5149dfc025336b0d531886fc6f8961fb02a80da
+DIST flite-1.4-release.tar.bz2 15163897 SHA256 45c662160aeca6560589f78daf42ab62c6111dd4d244afc28118c4e6f553cd0c SHA512 eec1022077fb7a47db3848ae6944509e18a6c86a25aa24f921b8b6c2af708fc9811b287e76d96cf64fc68f8e1d0a43b7e878659f15bfcf76957eddd75e599112 WHIRLPOOL 5e641fe58fb1c28609154377f009691587a74fbbad7a621947ca06382e5e2da52d3be86f1388730c42dc2a671881320b37dfc10a91185e601d0838526ddae2f2
+EBUILD flite-1.4-r4.ebuild 1676 SHA256 26cc5f3e2e803e4873dc5d10205c8993149e165cf2b3be1b33c9ecad8f8432e1 SHA512 146158506c52445b1552fc0e5fc069acbfd561ca9864d4100b4c35c54d6a4c177aaed0e4bffffd0cce2fcd6b47b70f51c1c4f5388791ae79060a586398e52e99 WHIRLPOOL 3a47490cee53c4a7cb6ef360d5858f1db17cbec58e8d5a3dbbbcc21c1eab847851b72fb4afbb4c7b3a646fba4fca918ff8f6a5324ca1d11a3c81f18582e27954
+MISC ChangeLog 2627 SHA256 ff081867ba4785350bd79a2f86137e438d843d343c3cbf48ad3c2f53c125132e SHA512 4f62c6cf5fc14ba21ecc5258e8ce78cc150a3333cc88d1cce77f0bd1126f33340310166fe9f4c4f8bdf434ab3e7fcfd0e7b71f8edd452ce39245469779a6bd64 WHIRLPOOL cbf5510289aaa3c2e44cf9fc498f5f1ec9b0474a7e13fba3c690b4587053abf5b7285c9ee2aff7c5f41529db6e632e0ccde373fb119bc6ab1a1abbc8d69b69fd
+MISC ChangeLog-2015 9478 SHA256 2d6ed1c63e2742783213ca6126e6acbc184615bf521dac58d896e5dd40cc992d SHA512 fb3dd2e50d648e46aed3f8040442fcdf09097377c14767c1839e6e4cf6e4b070010e0fe775bcbdddaf11558cecb9d3307865f9cca3bb71a85fc5c9bfa533ace2 WHIRLPOOL 6a0d15353a8876ea88eb3b8ecef7b8ca74be958e0ce4b26c3684cd16192cf912835d5aa39e479492d068c6fa62fa377c1f7efe049660922bc94130525146b718
+MISC metadata.xml 375 SHA256 2d266a45b4fb056159839f940687765d7e13a01d0748fac50bbbcbb4a19d2483 SHA512 affeb58d8d6f6659fc2d00b01bb627307920575589c7c78358b26074c94831af9a40bc2b0ba9e55758f968adf7b6a15bbc1542db83b1457107fd9fbdd2a3d224 WHIRLPOOL 4509576afbf26fe58f3dbac4b99d56b01588c69ee22f65bb50694d214ec6c06c5eaf7136cacb2da1259486d499d643b73726744e3d942bdfd5a3849630612644
diff --git a/app-accessibility/flite/files/flite-1.4-audio-interface.patch b/app-accessibility/flite/files/flite-1.4-audio-interface.patch
new file mode 100644
index 000000000000..bc8d25b89bc3
--- /dev/null
+++ b/app-accessibility/flite/files/flite-1.4-audio-interface.patch
@@ -0,0 +1,22 @@
+--- configure.in 2009-08-15 06:46:38.000000000 +1000
++++ configure.in 2011-08-30 00:53:26.000000000 +1000
+@@ -304,7 +304,6 @@
+ [ --with-audio with specific audio support (none linux freebsd etc) ],
+ AUDIODRIVER=$with_audio )
+
+-if test "x$AUDIODEFS" = x; then
+ case "$AUDIODRIVER" in
+ linux|oss)
+ AUDIODRIVER=oss
+@@ -325,9 +324,10 @@
+ ;;
+ none)
+ AUDIODEFS=-DCST_AUDIO_NONE
++ AUDIOLIBS=
+ ;;
+ esac
+-fi
++
+ AC_SUBST(AUDIODRIVER)
+ AC_SUBST(AUDIODEFS)
+ AC_SUBST(AUDIOLIBS)
diff --git a/app-accessibility/flite/files/flite-1.4-fix-parallel-builds.patch b/app-accessibility/flite/files/flite-1.4-fix-parallel-builds.patch
new file mode 100644
index 000000000000..270395877c53
--- /dev/null
+++ b/app-accessibility/flite/files/flite-1.4-fix-parallel-builds.patch
@@ -0,0 +1,25 @@
+From dec7aff03916dce6ba4c244314c60cc7b9359585 Mon Sep 17 00:00:00 2001
+From: William Hubbs <w.d.hubbs@gmail.com>
+Date: Fri, 1 Jan 2010 12:59:59 -0600
+Subject: [PATCH] fix parallel builds
+
+---
+ main/Makefile | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/main/Makefile b/main/Makefile
+index 0513e59..e4d04fe 100644
+--- a/main/Makefile
++++ b/main/Makefile
+@@ -81,6 +81,8 @@ else
+ shared_libs: nothing
+ endif
+
++.NOTPARALLEL: $(ALL)
++
+ $(BINDIR)/flite$(EXEEXT): flite_main.o $(flite_LIBS_deps)
+ $(TOP)/tools/make_voice_list $(VOICES)
+ rm -f flite_voice_list.o
+--
+1.6.4.4
+
diff --git a/app-accessibility/flite/files/flite-1.4-ldflags.patch b/app-accessibility/flite/files/flite-1.4-ldflags.patch
new file mode 100644
index 000000000000..f9295fb853b7
--- /dev/null
+++ b/app-accessibility/flite/files/flite-1.4-ldflags.patch
@@ -0,0 +1,35 @@
+diff -Naur flite-1.4-release/config/common_make_rules flite-1.4-release.new/config/common_make_rules
+--- flite-1.4-release/config/common_make_rules 2009-07-30 14:52:56.000000000 +0000
++++ flite-1.4-release.new/config/common_make_rules 2011-03-26 20:22:59.000000000 +0000
+@@ -68,7 +68,7 @@
+
+ FLITELIBS = $(BUILDDIR)/lib/libflite.a
+ FLITELIBFLAGS = -L$(BUILDDIR)/lib -lflite
+-LDFLAGS += -lm $(AUDIOLIBS) $(OTHERLIBS)
++LDLIBS += -lm $(AUDIOLIBS) $(OTHERLIBS)
+
+ FULLOBJS = $(OBJS:%=$(OBJDIR)/%)
+ ifdef SHFLAGS
+@@ -123,7 +123,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,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
++ @ (cd shared_os && $(CC) ${LDFLAGS} -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os $(LDLIBS))
+ @ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_VERSION}` `basename $@.${PROJECT_SHLIB_VERSION}` )
+ @ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_SHLIB_VERSION}` `basename $@` )
+ @ rm -rf shared_os
+--- flite-1.4-release/tools/Makefile~ 2009-08-22 20:19:01.000000000 +0100
++++ flite-1.4-release.new/tools/Makefile 2013-01-20 20:06:34.259527220 +0000
+@@ -62,9 +62,9 @@
+ LOCAL_CLEAN = $(BINDIR)/find_sts $(BINDIR)/flite_sort
+
+ $(BINDIR)/find_sts: find_sts_main.o $(FLITELIBS)
+- $(CC) $(CFLAGS) -o $@ find_sts_main.o $(FLITELIBFLAGS) $(LDFLAGS)
++ $(CC) $(CFLAGS) ${LDFLAGS} -o $@ find_sts_main.o $(FLITELIBFLAGS) $(LDLIBS)
+ $(BINDIR)/flite_sort: flite_sort_main.o $(FLITELIBS)
+- $(CC) $(CFLAGS) -o $@ flite_sort_main.o $(FLITELIBFLAGS) $(LDFLAGS)
++ $(CC) $(CFLAGS) ${LDFLAGS} -o $@ flite_sort_main.o $(FLITELIBFLAGS) $(LDLIBS)
+ makescripts:
+ @ cp -p $(SCRIPTS) $(TOP)/bin
+
diff --git a/app-accessibility/flite/files/flite-1.4-respect-destdir.patch b/app-accessibility/flite/files/flite-1.4-respect-destdir.patch
new file mode 100644
index 000000000000..d54771423e1f
--- /dev/null
+++ b/app-accessibility/flite/files/flite-1.4-respect-destdir.patch
@@ -0,0 +1,59 @@
+From a0ae616d84e9f051ae8536574a9d1289e5f0c060 Mon Sep 17 00:00:00 2001
+From: William Hubbs <w.d.hubbs@gmail.com>
+Date: Thu, 31 Dec 2009 12:57:18 -0600
+Subject: [PATCH] respect destdir
+
+---
+ Makefile | 10 +++++-----
+ main/Makefile | 10 +++++-----
+ 2 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 2d3ff09..26b2386 100644
+--- a/Makefile
++++ b/Makefile
+@@ -106,11 +106,11 @@ tags:
+
+ install:
+ @echo Installing
+- mkdir -p $(INSTALLBINDIR)
+- mkdir -p $(INSTALLLIBDIR)
+- mkdir -p $(INSTALLINCDIR)
+- $(INSTALL) -m 644 include/*.h $(INSTALLINCDIR)
+- @ $(MAKE) -C main --no-print-directory install
++ mkdir -p $(DESTDIR)$(INSTALLBINDIR)
++ mkdir -p $(DESTDIR)$(INSTALLLIBDIR)
++ mkdir -p $(DESTDIR)$(INSTALLINCDIR)
++ $(INSTALL) -m 644 include/*.h $(DESTDIR)$(INSTALLINCDIR)
++ @ $(MAKE) -C main --no-print-directory DESTDIR=$(DESTDIR) install
+
+ time-stamp :
+ @ echo $(PROJECT_NAME) >.time-stamp
+diff --git a/main/Makefile b/main/Makefile
+index 8163e40..0513e59 100644
+--- a/main/Makefile
++++ b/main/Makefile
+@@ -111,15 +111,15 @@ $(BINDIR)/flite_${VOICE}: flite_main.o $(flite_LIBS_deps)
+
+ install:
+ # The basic binaries
+- @ $(INSTALL) -m 755 $(BINDIR)/flite $(INSTALLBINDIR)
++ @ $(INSTALL) -m 755 $(BINDIR)/flite $(DESTDIR)$(INSTALLBINDIR)
+ @ for i in $(VOICES) ; \
+ do \
+- $(INSTALL) $(BINDIR)/flite_$$i $(INSTALLBINDIR); \
++ $(INSTALL) $(BINDIR)/flite_$$i $(DESTDIR)$(INSTALLBINDIR); \
+ done
+- $(INSTALL) -m 755 $(BINDIR)/flite_time $(INSTALLBINDIR)
++ $(INSTALL) -m 755 $(BINDIR)/flite_time $(DESTDIR)$(INSTALLBINDIR)
+ # The libraries: static and shared (if built)
+- cp -pd $(flite_LIBS_deps) $(INSTALLLIBDIR)
++ cp -pd $(flite_LIBS_deps) $(DESTDIR)$(INSTALLLIBDIR)
+ ifdef SHFLAGS
+- cp -pd $(SHAREDLIBS) $(VERSIONSHAREDLIBS) $(INSTALLLIBDIR)
++ cp -pd $(SHAREDLIBS) $(VERSIONSHAREDLIBS) $(DESTDIR)$(INSTALLLIBDIR)
+ endif
+
+--
+1.6.4.4
+
diff --git a/app-accessibility/flite/files/flite-1.4-tempfile.patch b/app-accessibility/flite/files/flite-1.4-tempfile.patch
new file mode 100644
index 000000000000..09b54f64ea2e
--- /dev/null
+++ b/app-accessibility/flite/files/flite-1.4-tempfile.patch
@@ -0,0 +1,50 @@
+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.4-r4.ebuild b/app-accessibility/flite/flite-1.4-r4.ebuild
new file mode 100644
index 000000000000..536b8f83eea6
--- /dev/null
+++ b/app-accessibility/flite/flite-1.4-r4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib-minimal
+
+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 ~arm64 ppc ppc64 sparc x86"
+IUSE="alsa oss static-libs"
+
+DEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )"
+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
+
+ # custom makefiles
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local myconf=()
+ if ! use static-libs; then
+ myconf+=( --enable-shared )
+ fi
+ myconf+=( --with-audio=$(get_audio) )
+
+ econf "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+multilib_src_install_all() {
+ 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
+}
diff --git a/app-accessibility/flite/metadata.xml b/app-accessibility/flite/metadata.xml
new file mode 100644
index 000000000000..1dacdab965c1
--- /dev/null
+++ b/app-accessibility/flite/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/freetts/Manifest b/app-accessibility/freetts/Manifest
new file mode 100644
index 000000000000..ba45e84ce416
--- /dev/null
+++ b/app-accessibility/freetts/Manifest
@@ -0,0 +1,8 @@
+AUX jsapi-gentoo.diff 10444 SHA256 18b37ac9b844edd9de353992551e897ffa81fd3456bb42802967a1d422210280 SHA512 43e53a55afb973821a7997f7989e7330e263a55eb4c1fdd4bbc6b7269ae428582f21f59b05e258f618c9f2ce88d047797e24dfdaab7465c6feca995fcbcb8ca1 WHIRLPOOL 0621df8f1043b94a7a3feff48167b652777a8ae0ecbb3c9813a28bd1451ad665855e6607b8962356f3807316fdb996783bf140633d1a477fc6f462a17bb88ed1
+DIST freetts-1.2.1-src.zip 14100414 SHA256 e21421f3b6bd4364f4310e273128f20b63a6b885e8f17d9a441df20d4c455280 SHA512 927d881263f561df8e8ee919ea6019ed44d6ecad7d434c618e333063e992f938d50161a281094b27a4dd8312ac3eedc34040ede947df91e94bbca06c25ba45d3 WHIRLPOOL dbb1d27491f48041fd22d9be472cafe4cd94f514d0a39235d72e613aaaed887245cb377575768420c8546706c33e06765d7894c1e3599560bf4570e7be6a5eb0
+DIST freetts-1.2.2-src.zip 14111416 SHA256 270bbf8c3ab1571585f0a78818ba73b601ef515eb1e6087293c41177219ed156 SHA512 a2cce0b1fd2267cc8dbd3e2ad3ec1f99526de3988443c0937405cc7b2eab9ef517001ef0b4b387e8721d3c33610cd642c6b7cf83217996a83481830de9713de7 WHIRLPOOL e7bfd3e72e1fc4f6d36d2c743b7c61856d1471ddfa59158b799552800cfbb307cf14012c53280fa5052df35c0aa0cb680ed20d99ec8111efb8785c0a00492021
+EBUILD freetts-1.2.1-r2.ebuild 1546 SHA256 cf3e3f0eec9d8178a64a8eb52734df1921318b719f5f59f854c7aed39ecfdfc6 SHA512 0d3f210eb4d06c324bf46d1901406ad51bcc56cecc10719d47eb04c3b474fdd6c53fa310808843a5751dbd5ba8e5e98b65a18581d1d4afd12007ea27e966fce6 WHIRLPOOL 7b875f428af680bc65e94dfe169b3431298f3a4e7f704f8a412d86d08c4d4edab6aea0974ff7681636bd3c44d7d07281d511dcdb14c7a10f06c56726da15f223
+EBUILD freetts-1.2.2.ebuild 1894 SHA256 146c6630fa997baa557bc3c34fc0a6c13849d4679645095a20a110b5a58f2588 SHA512 abca6c28b6311e592cbd3bf986e9e097649b6446629b287ea695327ff946d7240b0178d3f0c5368ebceb185c889ddf02eef75306e460c31be503d2731f2d99d2 WHIRLPOOL 99c18a1ffd4972ef18c8b068aaf12d57759c48d0d636699c25817986166ec23bf8f4200c333f5fab63cacac936e4ae0fa56ebdac4ca0c76cb75d46aca67a98ae
+MISC ChangeLog 2685 SHA256 5400a2f6aa89ca3489cdcaac1545d34047b408ead59ab474c300707a02b25f4f SHA512 9f432f79f5e1ac8fb126a875a3bbf603756a03665b63392b30cf3db8ad57c0c9328e3f7e945b76e2703bf68cc94849ebf9a8a9164ffd641cb321e9cf38ba2d60 WHIRLPOOL 53e2912a0204991a8be54eb0c4c2c71eb4f12161a150e6a225ee84da20dca18c584306711e651ed9999b44f3d9a0519e06c542a0163c1a1a2530cf368bb547af
+MISC ChangeLog-2015 5012 SHA256 e8da2487fbcf620fb6417ff65dae9e3afc497cf6e16684e759b4436def9ca7d5 SHA512 e0eb17004d169e285607bd3ddec2e3f74b3ed2feb70251aaa208280db367b12357ca9f2e129c256e906963e39b278328074733a9dc639801cbb430bf8e76ab30 WHIRLPOOL 67055534391ad88ef08436b0ed117a6a704e06a395c69c2f0c75e8637d20c5fbb5ab8a663f70642e98f4e3717879ccf62e964e76751596b449b0ac97bd03bca3
+MISC metadata.xml 576 SHA256 11cc8a3e29431fba4b000ee48fde7a7cf4958b420c27443ece447874488b7e7b SHA512 f4541826693d1e4b6c943c269d2702f27d60c70727f19ac6511696c723d9e56e5d4673ebb8a219a974bd1b1cfdeba9164b8084017c09fba28429b795308b25a8 WHIRLPOOL 0b09ee07c8f8ee424eb56c5d6c0fa6f9bce2f5a69d3185e3aafe5db791c48b0a7bdb52a35c0e4106c177b158072041338b7cd58ac91b26799496ee6deda1e658
diff --git a/app-accessibility/freetts/files/jsapi-gentoo.diff b/app-accessibility/freetts/files/jsapi-gentoo.diff
new file mode 100644
index 000000000000..016263e24d0d
--- /dev/null
+++ b/app-accessibility/freetts/files/jsapi-gentoo.diff
@@ -0,0 +1,194 @@
+--- jsapi.sh 2001-12-20 09:51:28.000000000 -0500
++++ jsapi-gentoo.sh 2004-03-20 01:36:10.021810888 -0500
+@@ -10,191 +10,6 @@
+ # ------ ---------- ------------------------------------------
+ # 51811 -rw-rw-r-- jsapi.jar
+ #
+-more <<- xxxFOOxxx
+-
+- Sun Microsystems, Inc.
+- Binary Code License Agreement
+-
+-READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE
+-TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
+-MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE
+-TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
+-ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING
+-THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE
+-TO ALL THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
+-OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS ACCESSED
+-ELECTRONICALLY, SELECT THE "DECLINE" BUTTON AT THE END OF THIS
+-AGREEMENT.
+-
+-1. LICENSE TO USE. Sun grants you a non-exclusive and
+-non-transferable license for the internal use only of the accompanying
+-software and documentation and any error corrections provided by Sun
+-(collectively "Software"), by the number of users and the class of
+-computer hardware for which the corresponding fee has been paid.
+-
+-2. RESTRICTIONS. Software is confidential and copyrighted. Title to
+-Software and all associated intellectual property rights is retained by
+-Sun and/or its licensors. Except as specifically authorized in any
+-Supplemental License Terms, you may not make copies of Software, other
+-than a single copy of Software for archival purposes. Unless
+-enforcement is prohibited by applicable law, you may not modify,
+-decompile, or reverse engineer Software. You acknowledge that Software
+-is not designed, licensed or intended for use in the design,
+-construction, operation or maintenance of any nuclear facility. Sun
+-disclaims any express or implied warranty of fitness for such uses. No
+-right, title or interest in or to any trademark, service mark, logo or
+-trade name of Sun or its licensors is granted under this Agreement.
+-
+-3. LIMITED WARRANTY. Sun warrants to you that for a period of ninety
+-(90) days from the date of purchase, as evidenced by a copy of the
+-receipt, the media on which Software is furnished (if any) will be free
+-of defects in materials and workmanship under normal use. Except for
+-the foregoing, Software is provided "AS IS". Your exclusive remedy and
+-Sun's entire liability under this limited warranty will be at Sun's
+-option to replace Software media or refund the fee paid for Software.
+-
+-4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS AGREEMENT, ALL
+-EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
+-INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
+-PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
+-EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
+-
+-5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN
+-NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE,
+-PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR
+-PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY,
+-ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE,
+-EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no
+-event will Sun's liability to you, whether in contract, tort (including
+-negligence), or otherwise, exceed the amount paid by you for Software
+-under this Agreement. The foregoing limitations will apply even if the
+-above stated warranty fails of its essential purpose.
+-
+-6. Termination. This Agreement is effective until terminated. You
+-may terminate this Agreement at any time by destroying all copies of
+-Software. This Agreement will terminate immediately without notice
+-from Sun if you fail to comply with any provision of this Agreement.
+-Upon Termination, you must destroy all copies of Software.
+-
+-7. Export Regulations. All Software and technical data delivered under
+-this Agreement are subject to US export control laws and may be subject
+-to export or import regulations in other countries. You agree to
+-comply strictly with all such laws and regulations and acknowledge that
+-you have the responsibility to obtain such licenses to export,
+-re-export, or import as may be required after delivery to you.
+-
+-8. U.S. Government Restricted Rights. If Software is being acquired
+-by or on behalf of the U.S. Government or by a U.S. Government prime
+-contractor or subcontractor (at any tier), then the Government's rights
+-in Software and accompanying documentation will be only as set forth in
+-this Agreement; this is in accordance with 48 CFR 227.7201 through
+-227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48
+-CFR 2.101 and 12.212 (for non-DOD acquisitions).
+-
+-9. Governing Law. Any action related to this Agreement will be
+-governed by California law and controlling U.S. federal law. No choice
+-of law rules of any jurisdiction will apply.
+-
+-10. Severability. If any provision of this Agreement is held to be
+-unenforceable, this Agreement will remain in effect with the provision
+-omitted, unless omission would frustrate the intent of the parties, in
+-which case this Agreement will immediately terminate.
+-
+-11. Integration. This Agreement is the entire agreement between you
+-and Sun relating to its subject matter. It supersedes all prior or
+-contemporaneous oral or written communications, proposals,
+-representations and warranties and prevails over any conflicting or
+-additional terms of any quote, order, acknowledgment, or other
+-communication between the parties relating to its subject matter during
+-the term of this Agreement. No modification of this Agreement will be
+-binding, unless in writing and signed by an authorized representative
+-of each party.
+-
+- JAVA(TM) SPEECH API (JSAPI) SPECIFICATION IMPLEMETATION, VERSION
+- 1.0
+- SUPPLEMENTAL LICENSE TERMS
+-
+-These supplemental license terms ("Supplemental Terms") add to or
+-modify the terms of the Binary Code License Agreement (collectively,
+-the "Agreement"). Capitalized terms not defined in these Supplemental
+-Terms shall have the same meanings ascribed to them in the Agreement.
+-These Supplemental Terms shall supersede any inconsistent or
+-conflicting terms in the Agreement, or in any license contained within
+-the Software.
+-
+-1. Software Internal Use and Development License Grant. Subject to the
+-terms and conditions of this Agreement, including, but not limited to
+-Section 3 (Java(TM) Technology Restrictions) of these Supplemental
+-Terms, Sun grants you a non-exclusive, non-transferable, limited
+-license to reproduce internally and use internally the binary form of
+-the Software, complete and unmodified, for the sole purpose of
+-designing, developing and testing your Java applets and applications
+-("Programs").
+-
+-2. License to Distribute Software. In addition to the license granted
+-in Section 1 (Software Internal Use and Development License Grant) of
+-these Supplemental Terms, subject to the terms and conditions of this
+-Agreement, including but not limited to Section 3 (Java Technology
+-Restrictions), Sun grants you a non-exclusive, non-transferable,
+-limited license to reproduce and distribute the Software in binary form
+-only, provided that you (i) distribute the Software complete and
+-unmodified and only bundled as part of your Programs, (ii) do not
+-distribute additional software intended to replace any component(s) of
+-the Software, (iii) do not remove or alter any proprietary legends or
+-notices contained in the Software, (iv) only distribute the Software
+-subject to a license agreement that protects Sun's interests consistent
+-with the terms contained in this Agreement, and (v) agree to defend and
+-indemnify Sun and its licensors from and against any damages, costs,
+-liabilities, settlement amounts and/or expenses (including attorneys'
+-fees) incurred in connection with any claim, lawsuit or action by any
+-third party that arises or results from the use or distribution of any
+-and all Programs and/or Software.
+-
+-3. Java Technology Restrictions. You may not modify the Java Platform
+-Interface ("JPI", identified as classes contained within the "java"
+-package or any subpackages of the "java" package), by creating
+-additional classes within the JPI or otherwise causing the addition to
+-or modification of the classes in the JPI. In the event that you
+-create an additional class and associated API(s) which (i) extends the
+-functionality of the Java Platform, and (ii) is exposed to third party
+-software developers for the purpose of developing additional software
+-which invokes such additional API, you must promptly publish broadly an
+-accurate specification for such API for free use by all developers. You
+-may not create, or authorize your licensees to create additional
+-classes, interfaces, or subpackages that are in any way identified as
+-"java", "javax", "sun" or similar convention as specified by Sun in any
+-naming convention designation.
+-
+-4. Trademarks and Logos. You acknowledge and agree as between you and
+-Sun that Sun owns the SUN, SOLARIS, JAVA, JINI, FORTE, and iPLANET
+-trademarks and all SUN, SOLARIS, JAVA, JINI, FORTE, and iPLANET-related
+-trademarks, service marks, logos and other brand designations ("Sun
+-Marks"), and you agree to comply with the Sun Trademark and Logo Usage
+-Requirements currently located at
+-http://www.sun.com/policies/trademarks. Any use you make of the Sun
+-Marks inures to Sun's benefit.
+-
+-5. Source Code. Software may contain source code that is provided
+-solely for reference purposes pursuant to the terms of this Agreement.
+-Source code may not be redistributed unless expressly provided for in
+-this Agreement.
+-
+-6. Termination for Infringement. Either party may terminate this
+-Agreement immediately should any Software become, or in either party's
+-opinion be likely to become, the subject of a claim of infringement of
+-any intellectual property right.
+-
+-For inquiries please contact: Sun Microsystems, Inc. 901 San Antonio
+-Road, Palo Alto, California 94303 (LFI#108931/Form ID#011801)
+-xxxFOOxxx
+-
+-echo "Accept (y/n)?: "
+-read ans
+-if [ "$ans" != "y" ]
+-then
+- echo 'failed to accept license'
+- exit 1
+-fi
+ save_IFS="${IFS}"
+ IFS="${IFS}:"
+ gettext_dir=FAILED
diff --git a/app-accessibility/freetts/freetts-1.2.1-r2.ebuild b/app-accessibility/freetts/freetts-1.2.1-r2.ebuild
new file mode 100644
index 000000000000..61ec02c0903d
--- /dev/null
+++ b/app-accessibility/freetts/freetts-1.2.1-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A speech synthesis system written entirely in Java"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://freetts.sourceforge.net/"
+
+RDEPEND=">=virtual/jre-1.4
+ mbrola? ( >=app-accessibility/mbrola-3.0.1h-r6 ) "
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ jsapi? ( app-arch/sharutils )
+ app-arch/unzip"
+
+LICENSE="jsapi? ( sun-bcla-jsapi ) freetts"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86"
+IUSE="doc jsapi mbrola"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}/lib"
+
+ chmod 0755 jsapi.sh
+ epatch "${FILESDIR}/jsapi-gentoo.diff"
+
+ use mbrola && echo "mbrola.base=/usr/share/mbrola/" >> "${S}/speech.properties"
+}
+
+src_compile() {
+ cd "${S}/lib"
+ if use jsapi; then
+ ./jsapi.sh || die "jsapi.sh failed"
+ fi
+ cd "${S}"
+ eant jars
+}
+
+# Tests dont' seem included
+# http://freetts.sourceforge.net/docs/index.php#how_test
+#src_test() {
+# ANT_TASKS="ant-junit" eant junit
+#}
+
+src_install() {
+ java-pkg_dojar lib/*.jar mbrola/*.jar
+
+ use mbrola && local jflags="--java_args -Dmbrola.base=/usr/share/mbrola"
+ java-pkg_dolauncher ${PN} --main com.sun.speech.freetts.FreeTTS ${jflags}
+
+ insinto /usr/share/${PN}
+ doins speech.properties
+
+ cp -R "${S}/demo" "${D}/usr/share/${PN}"
+ cp -R "${S}/tools" "${D}/usr/share/${PN}"
+
+ dodoc README.txt RELEASE_NOTES acknowledgments.txt || die
+ if use doc; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r "${S}"/docs/*
+ java-pkg_dojavadoc "${S}/javadoc"
+ fi
+}
diff --git a/app-accessibility/freetts/freetts-1.2.2.ebuild b/app-accessibility/freetts/freetts-1.2.2.ebuild
new file mode 100644
index 000000000000..fba0a2a231d2
--- /dev/null
+++ b/app-accessibility/freetts/freetts-1.2.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A speech synthesis system written entirely in Java"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://freetts.sourceforge.net/"
+
+RDEPEND=">=virtual/jre-1.4
+ mbrola? ( >=app-accessibility/mbrola-3.0.1h-r6 ) "
+
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ jsapi? ( app-arch/sharutils )
+ app-arch/unzip"
+
+LICENSE="jsapi? ( sun-bcla-jsapi ) freetts"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+IUSE="jsapi mbrola"
+
+# Tests aren't present.
+RESTRICT="test"
+
+java_prepare() {
+ # Prepare source directory.
+ mkdir src || die "Failed to create source directory."
+ mv com de src/ || die "Failed to move files to source directory."
+
+ # Prepare library directory.
+ cd lib || die "Lib directory not present."
+ chmod 0755 jsapi.sh || die "jsapi.sh not present or can't change permissions."
+ epatch "${FILESDIR}"/jsapi-gentoo.diff
+
+ use mbrola && echo "mbrola.base=/usr/share/mbrola/" >> "${S}"/speech.properties
+}
+
+src_compile() {
+ if use jsapi; then
+ pushd lib
+ ./jsapi.sh || die "jsapi.sh failed"
+ popd
+ fi
+
+ eant jars
+}
+
+# Tests aren't present.
+# http://freetts.sourceforge.net/docs/index.php#how_test
+#src_test() {
+# ANT_TASKS="ant-junit" eant junit
+#}
+
+src_install() {
+ java-pkg_dojar lib/*.jar mbrola/*.jar
+
+ use mbrola && local jflags="--java_args -Dmbrola.base=/usr/share/mbrola"
+
+ java-pkg_dolauncher ${PN} --main com.sun.speech.freetts.FreeTTS ${jflags}
+
+ insinto /usr/share/${PN}
+ doins speech.properties
+ doins -r tools
+
+ dodoc ANNOUNCE.txt README.txt RELEASE_NOTES
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r docs/*
+ java-pkg_dojavadoc javadoc
+ fi
+
+ if use examples ; then
+ java-pkg_doexamples demo
+ fi
+
+ if use source ; then
+ java-pkg-dosrc src/*
+ fi
+}
diff --git a/app-accessibility/freetts/metadata.xml b/app-accessibility/freetts/metadata.xml
new file mode 100644
index 000000000000..c7177e539175
--- /dev/null
+++ b/app-accessibility/freetts/metadata.xml
@@ -0,0 +1,19 @@
+<?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>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <use>
+ <flag name="jsapi">build Java Speech API (JSAPI)</flag>
+ <flag name="mbrola">Adds support for mbrola voices</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">freetts</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/julius/Manifest b/app-accessibility/julius/Manifest
new file mode 100644
index 000000000000..c7e1be10b40a
--- /dev/null
+++ b/app-accessibility/julius/Manifest
@@ -0,0 +1,7 @@
+AUX julius-4.2.2-install.patch 9771 SHA256 66f5e8d98e1032d059b766c67191be558f93b5a64fd7f1c25c63de115d268304 SHA512 5a25ce1fcee2c1a4bb8c029729e962f8889099a3c5452f769e9d86ed465a28e951b657afd8664f2721b42727ccf73f4c443d1087edc2103f54505045f8b936b4 WHIRLPOOL 3f32d6865ecd0afee599a3c4ed1f75f91a935d9458e1d1f56f68012a90837503c7454465e14f8b7e724796e3f430dd990ba06751b45202c19e7a8b309e440576
+AUX julius-4.2.2-ldflags.patch 261 SHA256 8723017f48153e145ae39368dabaaeeb665cc7edeaf195c1caacec9b0d95fcd1 SHA512 76158c7beee64247c1b4923f79f3bc608324afdab179a0c8eebab3a77d34ca73911f473498c705ea7601976fbeccb8a22a2e4736d631182c51281069a2e8f461 WHIRLPOOL e5609ba8aa75f059302452aa651bc54aaa3688d2e842d45755eb0d41c359beaee3f64c39ad74b2dcb31a8a73d960a28d6f0e561a59cd07617f001e43db3bf243
+DIST julius-4.2.2.tar.gz 1720888 SHA256 f53caf18be4fb8266b988071855565dccb78c09f00f1d36a8e258b7be6b3cef5 SHA512 c1d6c4016cf326becc2e8945c08cbab9b5acefd0e648b6e35b3078850b1746b5bbdb994fccc66c0adab175fb45fc86c25b8a655047a97c130a2f8e922d3d1c0f WHIRLPOOL 51f25ca9cedafc47239e5645a75ffda3eadc0b4e1053d90bf5c22d366d3557c29e9f496b9d45f1d3c5a5cdc92993710429196a679a29307815cd8e052de6cb99
+EBUILD julius-4.2.2.ebuild 1371 SHA256 1956369de583d0a5f87e9ca8f015c382f0a65a47854604b7208ffddb7ebfe429 SHA512 76519014651dfbcbd88b5c8015ef786bd455bb8bf67ccc564be27aedd3fb66588aac306bee75bde53b658f4b3329a5ea4f40289712d024861c6a1bac9f986ff8 WHIRLPOOL be663f8d7856f132fbecadb82a0fdceff55594d8f5e8417719931f6eef3060139490113d341535d11ecd8f600ad4cbed6f0b7524c11b7d03d662354af74d9238
+MISC ChangeLog 2505 SHA256 4ed1429223a7285823d3d19b74d7e52856bd6ed7465cc7576fddfeda5c7339c9 SHA512 14c82991a2d760ced4b30c78b941118453d7eaadd8a888b5beeb68218d1ca2a34d539e862258d48016e092c2dd7760c5eece06e59c2641a15366b03afe86e375 WHIRLPOOL 74fc2882a077ae1f4e48520f5d49410a86f37be23902ab1282e512b0dbb9341ee34a4539b6ecbd1e7cba00e5a85484c1b118f4250495cb245a36ac127f3e6db2
+MISC ChangeLog-2015 951 SHA256 40a624bae59e31263d5449a1ee908b8d509014bf8f9c520802934fdf2cfc16c2 SHA512 2b59fdeaad113f7cd47eb22d412101c3b186d5d86f3200c0a099452c8297bb668deb980b6adba4dbe83b9d1dd603c88129293bb962d817ef067878d89127898c WHIRLPOOL 3f883b60ea3ebe55fc9189447caf89192b6aee6963f66727db0b759723ed21e83beb4ca0281296141284064daf5ccb0136c45136fe57563237b10e0fdfc0da56
+MISC metadata.xml 348 SHA256 89baddb78ef48ab7ad483f6b4d430874485f138416465c02c19f51ed0484ade7 SHA512 a537f387dfb607d6f90321336e8002f6bb49169bb6fbbbdfc0135a9c110180529b84c69efbe68f9ed682321d03f65737ad2041fc5a98a97cd72fe1a68b771c1c WHIRLPOOL 91b6e23dd91df01a8e4ff52cd12e27e8bb6c50ad51bcea34f5ba6a053237cafb289698dc2a7f507e80418af005261af403f8e63b75424a3b74aa06efb0b86d34
diff --git a/app-accessibility/julius/files/julius-4.2.2-install.patch b/app-accessibility/julius/files/julius-4.2.2-install.patch
new file mode 100644
index 000000000000..d40b6c69fdcc
--- /dev/null
+++ b/app-accessibility/julius/files/julius-4.2.2-install.patch
@@ -0,0 +1,344 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Mar 31 20:38:49 UTC 2013
+Subject: respect DESTDIR
+
+--- julius-4.2.2/libsent/Makefile.in
++++ julius-4.2.2/libsent/Makefile.in
+@@ -144,16 +144,16 @@
+ install: install.lib install.include install.bin
+
+ install.lib: $(TARGET)
+- ${INSTALL} -d ${libdir}
+- ${INSTALL_DATA} $(TARGET) ${libdir}
++ ${INSTALL} -d $(DESTDIR)/${libdir}
++ ${INSTALL_DATA} $(TARGET) $(DESTDIR)/${libdir}
+
+ install.include:
+- ${INSTALL} -d ${includedir}/sent
+- ${INSTALL_DATA} include/sent/*.h ${includedir}/sent
++ ${INSTALL} -d $(DESTDIR)/${includedir}/sent
++ ${INSTALL_DATA} include/sent/*.h $(DESTDIR)/${includedir}/sent
+
+ install.bin: libsent-config-dist
+- ${INSTALL} -d ${bindir}
+- ${INSTALL_PROGRAM} libsent-config-dist ${bindir}/libsent-config
++ ${INSTALL} -d $(DESTDIR)/${bindir}
++ ${INSTALL_PROGRAM} libsent-config-dist $(DESTDIR)/${bindir}/libsent-config
+
+ clean:
+ $(RM) *~ src/*/*~ src/*/*.o src/*/*/*.o src/*/*/*/*.o src/*/*/*/*/*.o include/sent/*~
+--- julius-4.2.2/libjulius/Makefile.in
++++ julius-4.2.2/libjulius/Makefile.in
+@@ -90,16 +90,16 @@
+ install: install.lib install.include install.bin
+
+ install.lib: $(TARGET)
+- ${INSTALL} -d ${libdir}
+- ${INSTALL_DATA} $(TARGET) ${libdir}
++ ${INSTALL} -d $(DESTDIR)/${libdir}
++ ${INSTALL_DATA} $(TARGET) $(DESTDIR)/${libdir}
+
+ install.include:
+- ${INSTALL} -d ${includedir}/julius
+- ${INSTALL_DATA} include/julius/*.h ${includedir}/julius
++ ${INSTALL} -d $(DESTDIR)/${includedir}/julius
++ ${INSTALL_DATA} include/julius/*.h $(DESTDIR)/${includedir}/julius
+
+ install.bin: libjulius-config-dist
+- ${INSTALL} -d ${bindir}
+- ${INSTALL_PROGRAM} libjulius-config-dist ${bindir}/libjulius-config
++ ${INSTALL} -d $(DESTDIR)/${bindir}
++ ${INSTALL_PROGRAM} libjulius-config-dist $(DESTDIR)/${bindir}/libjulius-config
+
+ depend:
+ makedepend -- $(CFLAGS) -- $(OBJSENT)
+--- julius-4.2.2/julius/Makefile.in
++++ julius-4.2.2/julius/Makefile.in
+@@ -61,8 +61,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- ${INSTALL_PROGRAM} $(TARGET) ${bindir}/${INSTALLTARGET}
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ ${INSTALL_PROGRAM} $(TARGET) $(DESTDIR)/${bindir}/${INSTALLTARGET}
+
+ depend:
+ makedepend -- $(CFLAGS) -- $(OBJSENT)
+--- julius-4.2.2/mkbingram/Makefile.in
++++ julius-4.2.2/mkbingram/Makefile.in
+@@ -32,8 +32,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) $(OBJ)
+--- julius-4.2.2/mkbinhmm/Makefile.in
++++ julius-4.2.2/mkbinhmm/Makefile.in
+@@ -32,8 +32,8 @@
+ install: install.bin
+
+ install.bin: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) mkbinhmm.o mkbinhmmlist.o
+--- julius-4.2.2/adinrec/Makefile.in
++++ julius-4.2.2/adinrec/Makefile.in
+@@ -36,8 +36,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/adintool/Makefile.in
++++ julius-4.2.2/adintool/Makefile.in
+@@ -36,8 +36,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/mkgshmm/Makefile.in
++++ julius-4.2.2/mkgshmm/Makefile.in
+@@ -23,8 +23,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/mkss/Makefile.in
++++ julius-4.2.2/mkss/Makefile.in
+@@ -36,8 +36,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/jcontrol/Makefile.in
++++ julius-4.2.2/jcontrol/Makefile.in
+@@ -31,19 +31,19 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@/jucontrol
+
+ clean:
+ $(RM) $(OBJ)
+ $(RM) config.log config.cache
+ $(RM) *~ core
+- $(RM) $(TARGET) $(TARGET).exe
++ $(RM) $(TARGET) $(TARGET).exe jucontrol
+
+ distclean:
+ $(RM) $(OBJ)
+ $(RM) config.log config.cache
+ $(RM) *~ core
+- $(RM) $(TARGET) $(TARGET).exe
++ $(RM) $(TARGET) $(TARGET).exe jucontrol
+ $(RM) config.status
+ $(RM) Makefile
+--- julius-4.2.2/gramtools/accept_check/Makefile.in
++++ julius-4.2.2/gramtools/accept_check/Makefile.in
+@@ -36,8 +36,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/gramtools/dfa_determinize/Makefile.in
++++ julius-4.2.2/gramtools/dfa_determinize/Makefile.in
+@@ -35,8 +35,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/gramtools/dfa_minimize/Makefile.in
++++ julius-4.2.2/gramtools/dfa_minimize/Makefile.in
+@@ -34,8 +34,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/gramtools/generate/Makefile.in
++++ julius-4.2.2/gramtools/generate/Makefile.in
+@@ -35,8 +35,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/gramtools/gram2sapixml/Makefile.in
++++ julius-4.2.2/gramtools/gram2sapixml/Makefile.in
+@@ -17,8 +17,8 @@
+ install: install.bin
+
+ install.bin:
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ echo nothing to do
+--- julius-4.2.2/gramtools/mkdfa/Makefile.in
++++ julius-4.2.2/gramtools/mkdfa/Makefile.in
+@@ -18,13 +18,13 @@
+
+ install:
+ (cd $(SUBDIR); $(MAKE) install)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ install.bin:
+ (cd $(SUBDIR); $(MAKE) install.bin)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ (cd $(SUBDIR); $(MAKE) clean)
+--- julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
++++ julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
+@@ -43,8 +43,8 @@
+ install: install.bin
+
+ install.bin:
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) *.o *~ core
+--- julius-4.2.2/gramtools/nextword/Makefile.in
++++ julius-4.2.2/gramtools/nextword/Makefile.in
+@@ -36,8 +36,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ ############################################################
+
+--- julius-4.2.2/gramtools/yomi2voca/Makefile.in
++++ julius-4.2.2/gramtools/yomi2voca/Makefile.in
+@@ -17,8 +17,8 @@
+ install: install.bin
+
+ install.bin:
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ echo nothing to do
+--- julius-4.2.2/generate-ngram/Makefile.in
++++ julius-4.2.2/generate-ngram/Makefile.in
+@@ -33,8 +33,8 @@
+ install: install.bin
+
+ install.bin: $(TARGET)
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ $(RM) $(OBJ) *~ core
+--- julius-4.2.2/jclient-perl/Makefile.in
++++ julius-4.2.2/jclient-perl/Makefile.in
+@@ -17,8 +17,8 @@
+ install: install.bin
+
+ install.bin:
+- ${INSTALL} -d @bindir@
+- @INSTALL_PROGRAM@ $(TARGET) @bindir@
++ ${INSTALL} -d $(DESTDIR)/@bindir@
++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@
+
+ clean:
+ echo nothing to do
+--- julius-4.2.2/man/Makefile.in
++++ julius-4.2.2/man/Makefile.in
+@@ -19,16 +19,16 @@
+ install: install.man install.man.ja
+
+ install.man:
+- ${INSTALL} -d @mandir@/man1
++ ${INSTALL} -d $(DESTDIR)/@mandir@/man1
+ for f in *.1; do \
+- @INSTALL_DATA@ $$f @mandir@/man1/$$f; \
++ @INSTALL_DATA@ $$f $(DESTDIR)/@mandir@/man1/$$f; \
+ done
+
+ install.man.ja:
+- ${INSTALL} -d @mandir@/ja/man1
++ ${INSTALL} -d $(DESTDIR)/@mandir@/ja/man1
+ cd ja;
+ for f in *.1; do \
+- @INSTALL_DATA@ $$f @mandir@/ja/man1/$$f; \
++ @INSTALL_DATA@ $$f $(DESTDIR)/@mandir@/ja/man1/$$f; \
+ done
+ cd ..
+
diff --git a/app-accessibility/julius/files/julius-4.2.2-ldflags.patch b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch
new file mode 100644
index 000000000000..a5c3645a52f1
--- /dev/null
+++ b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch
@@ -0,0 +1,11 @@
+--- julius-4.2.2/jcontrol/Makefile.in
++++ julius-4.2.2/jcontrol/Makefile.in
+@@ -14,7 +14,7 @@
+ CC=@CC@
+ CFLAGS=@CFLAGS@
+ CPPFLAGS=@CPPFLAGS@ @DEFS@
+-LDFLAGS=@LIBS@ @EXTRALIB@
++LDFLAGS += @LIBS@ @EXTRALIB@
+ RM=@RM@ -f
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
diff --git a/app-accessibility/julius/julius-4.2.2.ebuild b/app-accessibility/julius/julius-4.2.2.ebuild
new file mode 100644
index 000000000000..7cf68ebb5a72
--- /dev/null
+++ b/app-accessibility/julius/julius-4.2.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Large Vocabulary Continuous Speech Recognition Engine"
+HOMEPAGE="http://julius.sourceforge.jp/"
+SRC_URI="mirror://sourceforge.jp/julius/56549/${P}.tar.gz"
+
+LICENSE="julius"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+alsa oss portaudio pulseaudio sndfile"
+REQUIRED_USE="^^ ( alsa oss portaudio pulseaudio )"
+
+RDEPEND="
+ dev-lang/perl
+ dev-perl/Jcode
+ sys-libs/readline:0
+ sys-libs/zlib
+ alsa? ( media-libs/alsa-lib )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( media-libs/libsndfile )"
+DEPEND="${RDEPEND}
+ sys-devel/flex"
+
+pkg_setup() {
+ tc-export CC CXX
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-install.patch \
+ "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_configure() {
+ local mymic i
+ for i in alsa oss portaudio pulseaudio ; do
+ use ${i} && mymic=${i}
+ done
+
+ econf \
+ --with-mictype=${mymic} \
+ $(use_with sndfile)
+}
+
+src_install() {
+ default
+ if ! has ja ${LINGUAS} ; then
+ rm -r "${ED}"/usr/share/man/ja || die
+ fi
+}
+
+pkg_postinst() {
+ eerror "IMPORTANT NOTICE"
+ elog "/usr/bin/jcontrol has been renamed to /usr/bin/jucontrol"
+ elog "to avoid file collision with dev-java/java-config."
+ elog "If this creates a problem with applications, file a gentoo bug."
+}
diff --git a/app-accessibility/julius/metadata.xml b/app-accessibility/julius/metadata.xml
new file mode 100644
index 000000000000..1631e86a2744
--- /dev/null
+++ b/app-accessibility/julius/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge-jp">julius</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/mbrola/Manifest b/app-accessibility/mbrola/Manifest
new file mode 100644
index 000000000000..18a7c9850cca
--- /dev/null
+++ b/app-accessibility/mbrola/Manifest
@@ -0,0 +1,28 @@
+DIST de1-980227.zip 9946342 SHA256 0007641e23c7a508b7262242f32ac0449f57cd64b10521e2083256acedb64b1e SHA512 df9027ee1a1bd32542d02bb851bff54379a9526f3d52429786e51c4a96b9de9cb1b8e1e7d66d4c6c77a13e285311c62fa0a13e0e749c8590c7292121e231fb47 WHIRLPOOL c906db43bab165d6bb43db84f0cc7c4dbf5d990ca23450c6117729bc4ac7bb8ba8d0e93671c5de517414236b2717a10d18d214cef1bbd1de116dab3b791bb089
+DIST de2-990106.zip 9463658 SHA256 51fd848141c8e5c2205fd18e08666411f1c2a9a4dcd861309d0f9cc4bb404acb SHA512 9d2dfb685c71d4348bad142035152c6c4bfb60f98121ea1be4e51adfb078137aa93c0b8b4c1e43c9aaee51e0d3bad4a6c7a2f6ffc019e0cb34ac853cddd8b7be WHIRLPOOL 287073109b5fe1f3928dbb3929fc1984a3615cbf41c1802fb3c877ab324c20ce4e5f409248c1fd47aa8b69d1e5c7efab925e9e020795956fe226fd82c413c46f
+DIST de3-000307.zip 10486554 SHA256 c4ee8375e3ed1e737db799b859e419a8d5d1899bfdab988339fe5abbaeb15511 SHA512 32bbf8d19d2f1032429b1f777c43d49746c45d5c150258f08a1533f7681df973483ac96f3db8c6bfff0481f7558853b749ee7c024410237982e712880935ccb9 WHIRLPOOL d27863876c01e4d3282b1f3fdf09cf270b46fff3a5fc8d7728c5f01ae8a7b78cd606aeea2f37ac0813271a0b8738ec70d51d41db50540f9cd08f6751cae79f2f
+DIST de4.zip 19520969 SHA256 35250b24ce5e003a7df12f7d0b96fe270ffdac30515cff223dd1b2e558bbfe6a SHA512 ea8ab4192c68b9ad6c4f4c02500015449fc332c22f811cdeee8956a85c347bb48fa263082495f5cd20c0b3641b67673acb7b3da081cb15863271d988b238b4d7 WHIRLPOOL 2530b722d992fc36e763efabdc0e7f89edcfcabf1a236e433e127f027896ce0c243d8c912410cd33066d37c50a59058b34ba406ca67309a655d8a454837dab76
+DIST de5.zip 13134662 SHA256 b277863d8058dedf7d76fad7efd2373abc04769d3c0650979f8dc55f68c2b7f5 SHA512 652110430f13cb81420ffa08d368d7992a5ce814c9682d5ab90ec1cd43aa631b6cae9df918171864184efdda0ad804ca4560ede6d048ef3067332f712f72cc19 WHIRLPOOL ad2d5fa9ad44629edd7bf0b5e444fba98444ccc85f7440f5e20096303b438c41c6feb954f268811f5827fb8376bb2de8d194bff1f773fcd70f91398c6a2ef7f4
+DIST de8.zip 9693603 SHA256 2df96f039f4875318f22400561dedf8d9a9f54cc8f517da6fa220d6248ceac4c SHA512 6e8d1be85eb8c24d5c38c1c102cecca4af9538a55b75b78ef62bccf0761a431beb0ed3d31e4aea271c29037631ed4b00763aea90c06dffddb3b52cbe8d65b3d7 WHIRLPOOL c0845c04f8ca1f8ff7fc796212c4c3ad772553768f177ecac2b095c42b63a1b534be2d66209f5c27e77176960a73c8b6cc045df277118e4a71d77248834df4be
+DIST es1-980610.zip 2110022 SHA256 a7ae7474499dd8d3898ef008c903f33a4d3bb470f5ac2a19c6c5ff9675e0e224 SHA512 1459a346c66133e70eeb1cec057b762e6f22d11472c33c732cd45b92afecb8628de861992abb07c3272ee640bb023154b838d1648b6541228256e57206216ed5 WHIRLPOOL 4018d91642af368b8ff6d7143c42559596111419d323626cd96dab72d9815609d93f7f02440698c3a94a111a16de1fa0aaf22ed482f32898f846b570fb073ebc
+DIST es2-989825.zip 5111601 SHA256 d8b25527064fe1b17f1e4710d04609e7a5cc29847993c07bad3d11072b5bb12a SHA512 69d9bb62b42607714ea692a3570c70ddbe32590f2dd6c0466f6cad685a292c74ade693af7fead0d4bbdf12a70a36e06e3205bd07854855b628f59d7bc1d1be3a WHIRLPOOL aa0932f1cb47505511735b9e9e65f7fcc805ee1679d455996f0197380c788dd605574fbe708a9548a4e845f09b26a377a92475eb51d6c88f26d91ef16cc57ffd
+DIST es4.zip 2804262 SHA256 3e717696ad6b5297fb349a7da42bdd7994deea7060af217fee619fa596cb39bc SHA512 b5ce924fc894a3e186cf06feb3afc0f8ce2805310e1da34c4a74b52100d2ecfbb073d63c87c5809e05e89b47b57fa32bc0edd44ad7477aa92facc9ac041cd349 WHIRLPOOL 2211ec58f1d9fe9b1132e5a89e7399973f834f6229461bcecd5ecabf2d61d181f71abe869bbbad78bae23eface4a51bf9da429c3bde8086dffecf1cdee658c50
+DIST fr1-990204.zip 4694334 SHA256 8eb4c30f294ef53c3ceeda2cef984b5a917e3cc4b7d0970d23361a1a8efa3831 SHA512 1a24326f6f9989d88f8a8447ebb1d9f8fbfd49f909a28d456c170bc8615b9385be678202e0d6d5c867d3a50ca68ca16f85ea5410d16fd2c70e4f9b6f7b115afb WHIRLPOOL c9d7c1716d32e9199c28fc94611f31699f6008bc7a511bb9b0997e4785dfe56a1cee3392ec20d3e92afc217017de1e843c9feb68e7b77ae369f17aa564ea2553
+DIST fr2-980806.zip 5744598 SHA256 3b836361676ed00da9d33bbfb60b32388f4769f02f0e226d0c573d2030271307 SHA512 cca19bc7db0118e6a09f203346f355e87b2a75902e06ee7d82c2379a4ebaa8144f64ae79b5ff6cd9c49e0d46a26d2a05109f325bda78e1b0462089b6d03a104c WHIRLPOOL 7997bdfa7ee8e9c11b7d39869141d8c2ff315734129b3348034b021fff871fd523458207c07e52982102593a523bde4afc1a8f949b7ebef7a11bd8387b6e5c1f
+DIST fr3-990324.zip 4702681 SHA256 8f3ff80fd95a0cf5066d392de96e7bfe48343ce41cd2ce2ed331c041a4791b78 SHA512 24a715b5913ca931624f5c079d7027d3c84543c6044ab49283550dd7d0158d19c610d2ee9ebb055d8de14f9b817aac1d4b32599729b17838d5f914ec3bf50439 WHIRLPOOL fca792b8d72d7e44185dfad6b1781d640bc5787ff0b9966eff9544c7ba77c7bce5823ef41c0d1b27468f520121ad775d33feb89d9af23e7b1c0af6e3dd32889e
+DIST fr6-010330.zip 4610252 SHA256 fbcafe2f93c3e691b6db058968d8488d6d4a0e5821e4f3234d24bdd343b228fd SHA512 41bfba97e6b06a987a691a7dbb6e6a5bc00c7a6e4576215297e1db974a8efd06fc7e960fc0c83f024852c195c7f4c0da5e8d3ac6f5ad3f641193ee1d65679879 WHIRLPOOL 8935524a7a3184192b684cc3cf6936eba023610deaeb35d4f4f621a4c1dc89150e8bd958fe7ca0688d6c9cae9a82edf0ba9e789f85b1e200625fbba6dcfe69f5
+DIST it3-010304.zip 5349273 SHA256 d134b522d0aa68dbece9144e395246396cff9ff5e91d1c7b6a24d5a061e6ade5 SHA512 cb179430b93cef676d4e3f792d453f2dc3a34ad0f5bd0a36e97ded98b17c0dc5cad1622f7bb7e7f4f6b26d944573b906b33eb519bc19d0bcec01ea4810d8f71c WHIRLPOOL 424529a8bfef30daf98d8740a48204531985fbc54db2d068dc3188694f7804c0f9dedb7836d2bb93b1be19c21d670a88d7bf72484f62a1bdbf81db73b120f247
+DIST it4-010926.zip 5044168 SHA256 8ec74af698fdd9bebf37cbf0877bc2f0382df60ff6cbe7c4c72186ba5b809a69 SHA512 a7fcdff5b30e213bf9f043c2323e73a769357a46ce6df9114579cc62392fe2394ce472120c73018a1a71870c7565d18bb912ba7650a267f8779e18c12f260113 WHIRLPOOL f07f3300aeaac7db244bf297d677fa74ba6bf2b96e5c2b7205efb63c7aa60b2edcea41c081d51fecdab62f17d600380631fc103583c88002828821e3702b6d69
+DIST la1.zip 7627631 SHA256 6f86749c79127125b4bcd347852e3b0d15722398fb3e0ca53b0c9d902e0aad27 SHA512 5a367ede393feb28b587a380975baa84ca1840dfc5479f938de1588954f3ae23b06e0214b854e1f0137f178d197e4999e8e8750b136d964797116d53e49ec6cb WHIRLPOOL bc79f0218bfaff0a532aa8eba45ef5e8603f06734c7315db6926e91a3824b7b67e0aef31ca74021edb8a26a44033aebc1846de275a2c9f205a92d7ed7b345a1d
+DIST mbr301h.zip 309820 SHA256 df402fad97c823206fce68837c1d716b9c0466a4cfb554dfb244df7da5589d6e SHA512 24b522092ff8f18ab606ed9cae609a69ce8ae9ea56228468dfc3c4c6c114bc65ce9d69f420cddbdff75f1200dbed1edb667e8d84937a73218542dea25a88b848 WHIRLPOOL a98dcc0c52b2523054b8f004d7df870cb5fb4082573b2cf7d0432766bfa68250a3a4458da51e89243e6dc08dd6491fd56a048ee50fe4fac8194946df845142f2
+DIST pl1.zip 4050906 SHA256 0966ed3114950983285efde2284e285d8f2a709d4af8a94d9cb226d2409f9917 SHA512 e42d4208719798512c5296e89defa59b46719c787bd352503f6377b185e817b709a27228a8fd2e70536632f68dff81aac9e145902e2a17fe95a366b0d4d03478 WHIRLPOOL 7b8e3a1101b6b8c84e63802415eb5c1c426340dbf976c2579f3263bc2793d53824f0d9987ef2af354fb79607deccb90d3bba23798a33366c4bf587a4ccd9f612
+DIST ro1-980317.zip 3222054 SHA256 6ae11eef95172c7e8aeb2c305104cbaef4c574e54bc0f28e1fee0b8657adf89f SHA512 06075426f3befde1a4a2c589f92340c964b22fc1cf54d34d1808d6ab8ba0d50a57f4a96e1c68ba06badee466d11bb46db6c929ce974ea25212ffb1987468b9a1 WHIRLPOOL 4f917453e492ab12a1c54bee55e9f09204776759bc512b3526d3c0a21a28d23423423756d9ac3509c1834feb3f11ee13a94be7eb4ea9e03678cfe9f24b75f857
+DIST sw1-980623.zip 9386828 SHA256 f63adba2905ae36cc3428c0656bebe3c159ca40b59a52e07522d5ddbaa5af176 SHA512 c3b2493f5ba6f91983bd6e2d821cce741d427886cdfa17f1f3ea58197445229fcaca05bd09f531c3166360f77232d04ef61290a5f2a2bbba22587d689d821484 WHIRLPOOL 6dfd18e7a01e1931b62e40202395356c5b0c21b52bc806953cea3dbd3b34f850de5189496d099395d50cd867d7a9c3f707cce5933ad2d0eb4d9acc66ac133ea1
+DIST sw2-140102.zip 5629399 SHA256 a6d4b7050e5b9850da6e434128d5f432eeb274be63c95dc3db2c91c383629cd8 SHA512 eedfe81cd37e3cbd022b3e2be5878d165cf29fb0cee36ddc700ba567c92181eaec0e48699fedffdd780f2205ab3e1ddd9a9426a88b0e6f02992de1639e4ce0b3 WHIRLPOOL 1e924181f0c3e7a2c7a18673b6c7fe6a6c2b8dd96df5fb6f64f33acb372419a565192930b75c7329488390b5695f1643a929b3d268758e0cd206b60f8df8a9fc
+DIST us1-980512.zip 6562915 SHA256 aea3100a1d9de295c661ad9dd0332358c884c6dd9f667888f6eae507f3451e4f SHA512 e2b1eb7325e9fe0b58f3b0e265899b0da1cf5ec1cb183f241bf73ba670528b56cd091277f432446e6651d81dca21f2b2ea8a84622dd655d125cedda0447cdb62 WHIRLPOOL 3a650a22ef94bf1e4a566a3be64d46d3e28065e35adfb5e00026ac0c5ebe280afb2774454c69e90f406dd1114cda6e8005a89098462c8bf5342102cac4671dbf
+DIST us2-980812.zip 6387442 SHA256 1c9ad0645dbac724acc6f53238be288a951b162f2ca65a1cecf09ac450f47a62 SHA512 a8aea10bc08f6c66e863994a5238fc2caba1d308f5c9ef35ccd18d01eb92a38fcbc0b96593a56bd7abd2f714fe722aa6b3e2c3141da92a4c8c06e81efb843ac6 WHIRLPOOL 5a78bfad1eebd0a74a4a1b1bc468c5304a22024715e8a92e08a19aa0ec7b4f4171baf8c0423b239fe46fb1150cb40305122e2f97b56e212d212602717dd6ee72
+DIST us3-990208.zip 6195800 SHA256 ebaf8af32dab2b7f3b7483b824f86b1d8151cde7e0ef50d2d88488948564b601 SHA512 dbc6b0cdc3040ec3747f25a15dd17f35f0e97c40a153ae44e43a7e8030302e7e7c8710b10fe8184cc38f907de07a187ac0a7e3816be2230ce969aa014641d0ae WHIRLPOOL f840b9a166655bda4a7d9e5409a4ef36ee13c1f51c8c023d105ef6af381ff1e2daa8105fa225998efe563228d7b410f42aad9455c37b39f20a15607456fd7ed6
+EBUILD mbrola-3.0.1h-r6.ebuild 2704 SHA256 503d5e5741b1a22e248faa4a5ba4a1c9a1e25d8c08f39e2bfb142c8feb81a027 SHA512 bf67e9c57ff1ecd839fcbfbb2cb75f10a03fd692a1d53a9bd89fb332bb4ca18f1d668def3c8291289f5b46e8b12fb99bcda9638708be9a8ab0fa3b91f19f0415 WHIRLPOOL 16860a532027cd54a5d85489213f8160d9f4b41d19067991ed819ddefd6c290c5cc9d33343959b347630b783a338f82cb603b5e0085249d5fd6e9d06ab3b027b
+MISC ChangeLog 2599 SHA256 583eade4535c68d19f0fecc12757943b7dc9fcfee2c6c1c8d49197137bd1d187 SHA512 34ef40f5b5905e5e373b1f1d6a2b2845f6597f7b99abd6103ddef34cc28171de44c76707f180821f462b2542d026f6a65c112dd256210a0c83d9550ef414524a WHIRLPOOL 90d70aede2b42cebb101c9f7e57911e4b7893dc88ec6337038aec943d7a598d80772ef31984448439f6ff9d757271fbef3d16ff8019a85f5c89c0021397fed04
+MISC ChangeLog-2015 8362 SHA256 02a75a744424d7d584f2edab85cdf58754984ef86e9063895f00e78c03c6f8ea SHA512 8e16089198642f641dd44f63df3fb74b78166d4b18743b5459eb1cf81f63561da67adadc8978a517a5b4ea33861304b5c8563999eb417d3388ca25a480047042 WHIRLPOOL 52d4a63a04a64e26f64da48faf507ef72b1083b5860454fcb5272e6a8067351eb5edb27fc315d2c0c2efcb64058fc25fb6b7b56f34ffecf0397977473ff50e10
+MISC metadata.xml 375 SHA256 2d266a45b4fb056159839f940687765d7e13a01d0748fac50bbbcbb4a19d2483 SHA512 affeb58d8d6f6659fc2d00b01bb627307920575589c7c78358b26074c94831af9a40bc2b0ba9e55758f968adf7b6a15bbc1542db83b1457107fd9fbdd2a3d224 WHIRLPOOL 4509576afbf26fe58f3dbac4b99d56b01588c69ee22f65bb50694d214ec6c06c5eaf7136cacb2da1259486d499d643b73726744e3d942bdfd5a3849630612644
diff --git a/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild b/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
new file mode 100644
index 000000000000..706965855172
--- /dev/null
+++ b/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+IUSE="l10n_de l10n_es l10n_fr l10n_it l10n_la l10n_pl l10n_ro l10n_sv"
+
+S=${WORKDIR}
+
+DESCRIPTION="Speech synthesizer based on the concatenation of diphones. Includes samples"
+HOMEPAGE="http://tcts.fpms.ac.be/synthesis/mbrola.html"
+MY_PV=${PV//./}
+TCTS="http://tcts.fpms.ac.be/synthesis"
+SRC_URI="http://tcts.fpms.ac.be/synthesis/${PN}/bin/pclinux/mbr${MY_PV}.zip
+ ${TCTS}/mbrola/dba/us1/us1-980512.zip
+ ${TCTS}/mbrola/dba/us1/us2-980812.zip
+ ${TCTS}/mbrola/dba/us3/us3-990208.zip
+ l10n_de? ( ${TCTS}/mbrola/dba/de1/de1-980227.zip
+ ${TCTS}/mbrola/dba/de2/de2-990106.zip
+ ${TCTS}/mbrola/dba/de3/de3-000307.zip
+ ${TCTS}/mbrola/dba/de4/de4.zip
+ ${TCTS}/mbrola/dba/de5/de5.zip
+ ${TCTS}/mbrola/dba/de8/de8.zip )
+ l10n_es? ( ${TCTS}/mbrola/dba/es1/es1-980610.zip
+ ${TCTS}/mbrola/dba/es2/es2-989825.zip
+ ${TCTS}/mbrola/dba/es4/es4.zip )
+ l10n_fr? ( ${TCTS}/mbrola/dba/fr1/fr1-990204.zip
+ ${TCTS}/mbrola/dba/fr2/fr2-980806.zip
+ ${TCTS}/mbrola/dba/fr3/fr3-990324.zip
+ ${TCTS}/mbrola/dba/fr6/fr6-010330.zip )
+ l10n_it? ( ${TCTS}/mbrola/dba/it3/it3-010304.zip
+ ${TCTS}/mbrola/dba/it4/it4-010926.zip )
+ l10n_la? ( ${TCTS}/mbrola/dba/la1/la1.zip )
+ l10n_pl? ( ${TCTS}/mbrola/dba/pl1/pl1.zip )
+ l10n_ro? ( ${TCTS}/mbrola/dba/ro1/ro1-980317.zip )
+ l10n_sv? ( ${TCTS}/mbrola/dba/sw1/sw1-980623.zip
+ ${TCTS}/mbrola/dba/sw2/sw2-140102.zip )"
+
+DEPEND="app-arch/unzip"
+
+RDEPEND=""
+
+RESTRICT="strip"
+QA_PREBUILT="/usr/bin/mbrola"
+
+SLOT="0"
+LICENSE="MBROLA"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+
+src_unpack () {
+ unpack ${A}
+
+ if [[ -f pl1 ]]; then
+ mkdir pl1DIR
+ mv pl1 pl1.txt pl1DIR
+ mv test pl1DIR/TEST
+ mv pl1DIR pl1
+ fi
+
+ case ${ARCH} in
+ x86|amd64)
+ cp mbrola-linux-i386 mbrola || die
+ ;;
+ ppc)
+ cp mbrola302b-linux-ppc mbrola || die
+ ;;
+ sparc)
+ cp mbrola-SuSElinux-ultra1.dat mbrola || die
+ ;;
+ alpha)
+ cp mbrola-linux-alpha mbrola || die
+ ;;
+ *)
+ elog "mbrola binary not available on this architecture. Still installing voices."
+ esac
+}
+
+src_install () {
+
+ # Take care of main binary
+ if [[ -f "mbrola" ]]; then
+ dobin mbrola
+ dosym ../../bin/mbrola "/usr/share/${PN}/mbrola"
+ fi
+
+ dodoc readme.txt
+
+ for voice in ??[0-9]; do
+ insinto /usr/share/${PN}/${voice}
+ [[ -f "${voice}/license.txt" ]] && doins ${voice}/license.txt
+ [[ -f "${voice}/${voice}" ]] && doins ${voice}/${voice}
+ [[ -f "${voice}/${voice}mrpa" ]] && doins ${voice}/${voice}mrpa
+
+ if [[ -d "${voice}/TEST" ]]; then
+ insinto /usr/share/${PN}/${voice}/TEST
+ doins ${voice}/TEST/*
+ fi
+
+ [[ -f "${voice}/${voice}.txt" ]] && dodoc ${voice}/${voice}.txt
+ done
+}
diff --git a/app-accessibility/mbrola/metadata.xml b/app-accessibility/mbrola/metadata.xml
new file mode 100644
index 000000000000..1dacdab965c1
--- /dev/null
+++ b/app-accessibility/mbrola/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/metadata.xml b/app-accessibility/metadata.xml
new file mode 100644
index 000000000000..e76c80d9abf1
--- /dev/null
+++ b/app-accessibility/metadata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The app-accessibility category contains packages which help with
+ accessibility (for example, screen readers).
+ </longdescription>
+ <longdescription lang="es">
+ La categoría app-accessibility contiene paquetes para ayudar con
+ accesibilidad (por ejemplo, lectores de pantallas).
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie app-accessibility enthält Programme für barrierefreies
+ Arbeiten (Accessibility), wie beispielsweise Screenreader.
+ </longdescription>
+ <longdescription lang="nl">
+ De app-accessibility categorie bevat applicaties die de
+ toegankelijkheid bevorderen, bijvoorbeeld een schermlezer.
+ </longdescription>
+ <longdescription lang="ja">
+ app-accessibilityカテゴリィにはアクセシビリティと
+ 手伝うパッケージが含まれます。
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm app-accessibility chứa các gói trợ giúp về truy nhập (ví dụ, trình đọc màn hình)
+ </longdescription>
+ <longdescription lang="it">
+ La categoria app-accessibility contiene strumenti per l'accessibilità del software (ad esempio lettori di schermo per ipovedenti).
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria app-accessibility contém pacotes que ajudam com
+ acessibilidade (por exemplo, leitores de tela).
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria app-accessibility zawiera pakiety ułatwiające dostęp do
+ komputera osobom niepełnosprawnym.
+ </longdescription>
+</catmetadata>
+
diff --git a/app-accessibility/nfbtrans/Manifest b/app-accessibility/nfbtrans/Manifest
new file mode 100644
index 000000000000..6b2140bdd2ce
--- /dev/null
+++ b/app-accessibility/nfbtrans/Manifest
@@ -0,0 +1,10 @@
+AUX nfbtrans-7.74-gentoo-fix.patch 309 SHA256 692bfd049d9e34ccb47e19f80d907853e577736609f091aa34ac621feb607bd6 SHA512 7f739a15ab8edd8853702b897e9b00f34256f62b98ae2cb0a17bea487b81f4925f85f0eab77c119a8182965b69c18b6369954121620af288da27bc8f9b122167 WHIRLPOOL 30a59c4f3beea070a902a63db24e2dac1c9f93fd96696dee500851e6aa10f20bf2ec38ce66718515bd9899cc7bc44a5e6dbc43a8f325b7f38986c135adc051bb
+AUX nfbtrans-7.74-getline-fix.patch 957 SHA256 9c2b27afbf2c6d15d67c342160a1480f2398ffd62f366c0de7f1ea8a20235447 SHA512 35a57c029f2c54f04fe0e9be66df39da11e7415095959c2d13b5b9e66b223d15c9b72f4a392092dc4075e4753fad542f33f2cb59e83702378505e3ecc6885cbc WHIRLPOOL 83c9eb2be4f31f53db57eaefacb4d62d4c5523bbfa48c92c7792d9db632b930a03cac6ff1f813b8cd5f17cf6162bd32dd285da26701f7ea81a63be79ea04f657
+AUX nfbtrans-7.74-respect-ldflags.patch 692 SHA256 c46491deec4e3a95e812188dbf75e93e85de09fd86ca42ac7162722ac51eb119 SHA512 d93ec7be4119c4b129558d0d6c688cca9edc25129c487250f57071916bc41ab2306fccafae5e7d4b9e911250527be01dfefbcb87c111743f5a6829cd14a3ec82 WHIRLPOOL 4f823bec5167a6dff56704558b4b5e5147eed6498f56a007e178a17cdd7841ca12bb74d81ada610f19d549c864931733416030b46ae4e316bfc2f447e53665d7
+DIST nfbtr774.zip 470847 SHA256 87cad2aa875f44ad6035f5af080e02ecc23a8c3718e3e1943cb3a006c5fc93ec SHA512 58fa72c53d88d11fa005572f4e2ebd81d21afaec2fac0e986bfad66b42c194ec3573199e2f2b863725001c1cb777b60881605a1533f7eb73e31e24a244673c2c WHIRLPOOL e9bb51ac86ce3cda73b0b0e5199f68b37b8005c29deda1a154f68163eda6db564f887b234cc9184fdd7d13bbaeb93638717b2e7d40d50b16559379600ede5471
+EBUILD nfbtrans-7.74-r1.ebuild 877 SHA256 f76989cb95ec640b18f2d2810de7b96bc9962ccfa74de488d8140fb2293fb2c3 SHA512 aa665495ce093fdeadf09507e60bc8f187e85a08b1ddd7bc577f2aaa85ac993223cb0d413acbba822319f2068972adb0c615a961645ba13c6be7e973712a4d90 WHIRLPOOL 445fcba0a9a58da50e6e7d0ebcad9bb0be655f68112f11d44254754bbbcddf6106b3d639271cdfa58616b0db753c994117f6b42557905a5bb1e29c7cb9b268f7
+EBUILD nfbtrans-7.74-r2.ebuild 919 SHA256 68d84ad6ddb061517f0bdc7a4d9fa04c1cfb2b8055d3498b25319bbddff9a97d SHA512 1246c8c087aa503e70a7d6be65f436811af9b02070bd483a5d623993d867c587b07893b0439d7ef230bcdf63e8edb5b62ac1457d2b4294e62203ed48f0b98cf6 WHIRLPOOL bc003af51b6af3849fbca34628a78ea4b0c2cbea7a83b1b35e707cb440d53c4babd18655ad4d0a8345693c024ac3916313a40880196a1ee144e8511bd6c62db0
+EBUILD nfbtrans-7.74.ebuild 850 SHA256 023afcb6c187da4cdf298082246de1d53a2a4b6920d24dfb0a39afdae2436d73 SHA512 668d12d267b3bbd1c915ec470ed79764ae1d177469b594a1ac853b905938e33609577cc50b101a71cdfda4581b56de03596b893a169820b0e060bf87b9695c76 WHIRLPOOL 0beb5a6487baf0a2dd1fb492b9c3eef5f15dd38cd66be2d06c64a7edf59a2ee9f0fc5807b9f56c950b7ae8c33cd0f4eb1df2284aeddded75093df35f2e921da1
+MISC ChangeLog 2971 SHA256 1e298cca2f442baea0e179d0d10354c4edc7df0a52fd43cbcd915515a4f77ba4 SHA512 7c78781a03ccfd44e53aa7dc94a7cc2799656924aea69b9b3bed5734adea22f79db79b655ca170ae581f910264329e2c62a1cf5115160735ce4e4cad7b62f7e0 WHIRLPOOL e52051c202852460cea70c690703cb0881de313441078949b12efd2c52466dec8742d024020ac4ab6ac1a7d85488952b7c3702de62422efedde9efdbfb005254
+MISC ChangeLog-2015 2417 SHA256 a24e71cfbc7f3eb76d58bfb917d9538e1883170e8ba946f730c06a47dba5af4f SHA512 ef359c9ca4d10d06e28b472a56f0dcdfbf216976cbc930a0a6ec80670c8866bf3c36ec6511d8a39595daf332e0cd838eee7acd68cc084bd9802d2c58ac195d80 WHIRLPOOL 687507d258e0155c6d9e126d32283644687d47d6e147faad8d5ad194e2a8e60671a09e586731e538ae4168834b0967ee5a6276d9ba200ba1edd3c716caacbe7d
+MISC metadata.xml 345 SHA256 0d69ba7dbe50e45a3a432674ba0fa2c0937f5b668ca53963cae570d5609c26e9 SHA512 d034cf8435010ee64e6186cb7e14f559d3e43eec3b3b31e0cec4da133c65cd8c34a00cc4c66958fb13fc1470ef0fa5307331032cde328a443b877be6f3d4c44c WHIRLPOOL ae5dcd066039712e1d635dacca123201e5789281b68798b436f3f4273c976931d26ee24dfddc0a635f1b981e7c138e0e5c68cceb83a0b214e996cb67f60bfa58
diff --git a/app-accessibility/nfbtrans/files/nfbtrans-7.74-gentoo-fix.patch b/app-accessibility/nfbtrans/files/nfbtrans-7.74-gentoo-fix.patch
new file mode 100644
index 000000000000..7040de343db0
--- /dev/null
+++ b/app-accessibility/nfbtrans/files/nfbtrans-7.74-gentoo-fix.patch
@@ -0,0 +1,11 @@
+--- a/nfbtrans.c 2004-09-21 19:52:34.341784094 -0500
++++ b/nfbtrans.c 2004-09-21 19:54:07.005727168 -0500
+@@ -6,7 +6,7 @@
+ #define LINT_ARGS
+ #define DOS
+ #else
+-#define UNIX_PATH "/usr/local/lib/"
++#define UNIX_PATH "/etc/nfbtrans/"
+ #endif /* unix */
+ #include <stdio.h>
+ #include <sys/types.h>
diff --git a/app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch b/app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch
new file mode 100644
index 000000000000..14c13c063246
--- /dev/null
+++ b/app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch
@@ -0,0 +1,40 @@
+diff --git a/nfbtrans.c.orig b/nfbtrans.c
+index e697393..9a2944e 100644
+--- a/nfbtrans.c.orig
++++ b/nfbtrans.c
+@@ -534,7 +534,7 @@ void compact_line(char *);
+ void length_error(char *);
+ void do_lop_op(foptype *);
+ void do_lop(void);
+-void getline(void);
++void nfbtrans_getline(void);
+ void get_input(char *, int);
+ int get_paragraph_type(int);
+ void check_purge(void);
+@@ -2585,7 +2585,7 @@ void do_lop()
+ }
+ } /* do_lop */
+
+-void getline()
++void nfbtrans_getline()
+ {
+ int i = -1;
+ for (;;)
+@@ -2722,7 +2722,7 @@ int get_paragraph_type(int mode)
+ total_lines = 0;
+ do
+ {
+- getline();
++ nfbtrans_getline();
+ if (linein[0])
+ { /* line not empty */
+ if (prev_char == '\0')
+@@ -2874,7 +2874,7 @@ void get_word()
+ } /* head */
+ else
+ header_flag = 0;
+- getline();
++ nfbtrans_getline();
+ if (remove_page_nums)
+ remove_page_number();
+ if (auto_center)
diff --git a/app-accessibility/nfbtrans/files/nfbtrans-7.74-respect-ldflags.patch b/app-accessibility/nfbtrans/files/nfbtrans-7.74-respect-ldflags.patch
new file mode 100644
index 000000000000..61c991c8a368
--- /dev/null
+++ b/app-accessibility/nfbtrans/files/nfbtrans-7.74-respect-ldflags.patch
@@ -0,0 +1,24 @@
+--- a/Makefile 2017-06-13 11:08:23.428114301 -0500
++++ b/Makefile 2017-06-13 11:09:01.084376256 -0500
+@@ -28,10 +28,10 @@
+ djgppall: nfbtrans.exe
+
+ nfbtrans: $(OBJFILES)
+- $(CC) $(CFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
+
+ nfbtrans.exe:$(OBJFILES)
+- $(CC) $(CFLAGS) $(OBJFILES) -o nfbtrans.exe
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJFILES) -o nfbtrans.exe
+
+ ultrix:
+ $(MAKE) CFLAGS=-O
+@@ -44,7 +44,7 @@
+
+ insight:
+ insight -fno-builtin -fwritable-strings \
+- $(CFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
++ $(CFLAGS) $(LDFLAGS) $(OBJFILES) $(LIBS) -o nfbtrans
+
+ aix:
+ $(MAKE) all CC=cc CFLAGS="-o -Dunix -Daix"
diff --git a/app-accessibility/nfbtrans/metadata.xml b/app-accessibility/nfbtrans/metadata.xml
new file mode 100644
index 000000000000..8fb4aba1043e
--- /dev/null
+++ b/app-accessibility/nfbtrans/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>williamh@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/nfbtrans/nfbtrans-7.74-r1.ebuild b/app-accessibility/nfbtrans/nfbtrans-7.74-r1.ebuild
new file mode 100644
index 000000000000..6b5b3fe9191e
--- /dev/null
+++ b/app-accessibility/nfbtrans/nfbtrans-7.74-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit eutils
+
+DESCRIPTION="braille translator from the National Federation of the Blind"
+HOMEPAGE="http://www.nfb.org/nfbtrans"
+SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr774.zip"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND=" >=app-arch/unzip-5.50-r2"
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_prepare() {
+ mv MAKEFILE Makefile
+ mv SPANISH.ZIP spanish.zip
+ make lowercase || die
+ epatch "${FILESDIR}"/${P}-gentoo-fix.patch
+ epatch "${FILESDIR}"/${P}-getline-fix.patch
+}
+
+src_compile() {
+ make CC=$(tc-getCC) \
+ LIBS= \
+ CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" all || die
+}
+
+src_install() {
+ dobin nfbtrans || die
+ dodoc *fmt readme.txt makedoc
+ insinto /etc/nfbtrans
+ doins *cnf *tab *dic spell.dat *zip
+}
diff --git a/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild b/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild
new file mode 100644
index 000000000000..57efe93d0423
--- /dev/null
+++ b/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="braille translator from the National Federation of the Blind"
+HOMEPAGE="http://www.nfb.org/nfbtrans"
+SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr774.zip"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=" >=app-arch/unzip-5.50-r2"
+RDEPEND=""
+
+S=${WORKDIR}
+
+PATCHES=(
+"${FILESDIR}"/${P}-gentoo-fix.patch
+"${FILESDIR}"/${P}-getline-fix.patch
+"${FILESDIR}"/${P}-respect-ldflags.patch
+)
+
+src_prepare() {
+ mv MAKEFILE Makefile || die
+ mv SPANISH.ZIP spanish.zip || die
+ emake lowercase
+ default
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) \
+ LIBS= \
+ CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" all
+}
+
+src_install() {
+ dobin nfbtrans
+ dodoc *fmt readme.txt makedoc
+ insinto /etc/nfbtrans
+ doins *cnf *tab *dic spell.dat *zip
+}
diff --git a/app-accessibility/nfbtrans/nfbtrans-7.74.ebuild b/app-accessibility/nfbtrans/nfbtrans-7.74.ebuild
new file mode 100644
index 000000000000..384f8bbb2942
--- /dev/null
+++ b/app-accessibility/nfbtrans/nfbtrans-7.74.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="braille translator from the National Federation of the Blind"
+HOMEPAGE="http://www.nfb.org/nfbtrans"
+SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr774.zip"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+DEPEND=" >=app-arch/unzip-5.50-r2"
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ mv MAKEFILE Makefile
+ mv SPANISH.ZIP spanish.zip
+ make lowercase || die
+ epatch "${FILESDIR}"/${P}-gentoo-fix.patch
+ epatch "${FILESDIR}"/${P}-getline-fix.patch
+}
+
+src_compile() {
+ make CC=$(tc-getCC) LIBS= CFLAGS="${CFLAGS} -DLINUX" all || die
+}
+
+src_install() {
+ dobin nfbtrans || die
+ dodoc *fmt readme.txt makedoc
+ insinto /etc/nfbtrans
+ doins *cnf *tab *dic spell.dat *zip
+}
diff --git a/app-accessibility/orca/Manifest b/app-accessibility/orca/Manifest
new file mode 100644
index 000000000000..1f8766e8bbcd
--- /dev/null
+++ b/app-accessibility/orca/Manifest
@@ -0,0 +1,7 @@
+DIST orca-3.22.2.tar.xz 2345292 SHA256 599beeeec99fcf24aed7b97c832140f9355c79504c9250fcae90f611680368ca SHA512 0c4f3055509fd983da1081c4e33a4675ca498e75a8f2701318c000810cf691758eaded01969a6b56a2c25cf507bc4cb7e099f8498d1a0f6fa739d074a23528c5 WHIRLPOOL 9d6a88310a6e53ab93d16740e90eed8af54185b47b93fa2e0f7ffdda37178be2f07f5d1db38bc23b526ba2f3ec408aab15749a97f81367bfd5951a72e5967c53
+DIST orca-3.24.0.tar.xz 2391740 SHA256 27bd5e4eee12da737176a200b31d33e118d55ae832a4e3f0cbd3e756027246d1 SHA512 9aa65b534f69bb4a1b800e715776416843ac3756ec1267feca3c66476e34e54f6744f70c0f8ac8868a009d38b6cc165267268491a9ad29ebbd3601dba09d424c WHIRLPOOL 79c6e88d96603e14d5a7485f0cec22e5c6b67c850b974b9df279658cfb7a9ed1238b513256d45c7cbf34f81844eb6d8f3a851bc059d62d0730d85dbc19f301c2
+EBUILD orca-3.22.2.ebuild 1876 SHA256 c4ac89311bf0f535cbdccc334442fb87386d140853356827d241e7a7a3f454dc SHA512 5d2b5d9997fc9693636eac17f1c447a22f09522932b38e47df89914465a908d68a1795fe4fdd887665f14084e60773c4a1996233ae3823bc31c25c17a2d23061 WHIRLPOOL 71215094d947fb8dd914477fe32cc2c53d87fe07a0fbf4c7d452e3c32f1cc84f1a65994ba1a2a2e79282018a0853d961d3bc6a449f7a00a5f9b896dfaa2f1287
+EBUILD orca-3.24.0.ebuild 1878 SHA256 00fe2ab7fdf87ba045a1f4d6f1e9d318c7490a47de4a566265decea2279253f6 SHA512 69e631e41c310bb4c1f3a1e17f2cb693165017e6b989637038797476bf33cc9045b2c647dbd431567c3c70e9deb579f42b88596f0fd65c53f1f2f3c79998a7ad WHIRLPOOL a7144ac0efa8ff1a03410fcf4e455c50967fb45f991cd7e226042ca19bffc391169e7bcd21d55fada5f470bdccd4efd8a220530eb24ad86842068c9335d5372f
+MISC ChangeLog 6076 SHA256 9f1259a810806808063e46f09a2cfeccfcbecc6c72c59a20e30f28f329fc68d0 SHA512 ad924978496ebcde6a8146b58adc9adb81a0ed0d3634940409f112a40066638b74973ec3065e3ee38c844b349507ac0c070bde23a5c35783876c8962011a75c9 WHIRLPOOL 7c45773d9eb2c45a02073ed138cd4d13b9b6a66d74ae15be425055e09f30bf573bda79ae8fce00d5850cf54c5ea9ce73c11ab3fbe15c48d34808f281076124a8
+MISC ChangeLog-2015 19200 SHA256 7b61c6734ab2ede1777a9be6c3b3d0562943036307e7b6c837ef1175a6f1d3bf SHA512 d7aceaba85cfc016eb7f8aad367256a3d17e7e915730e3dcbfef06d0a0fc213b0ad61bd8dffeba4ebdf0b28f0cfd42c27c0c397d8ad4e1c55f96775cb8c15859 WHIRLPOOL 3e067b3bff285e749496ca8e7d8ad02eac5a9df407a4f9790bbff1752affb9a81dd4c49bd34760d7512fa1796255b7fecefc0d6cb69d2dc877fd210b810c3c7f
+MISC metadata.xml 640 SHA256 e078f20981340ae09357e2af644f5383d67fa1a32c7470006625064d8b33f379 SHA512 6fd5af9a57c21a72a37740f458947dce9a54e378ce5b602c9443d954ed536792cfa74299a69d02a2b0d81905a892d5b2d43f93678367ce7e039aa350c882cbb8 WHIRLPOOL 38d423748b624930bbfcf11b120cf6a1cb37ef1146159446d4b7f3e332e48e89a9cbd4840694ac7067040c8b40c2cf9eeb72476c58a14169594b2b686915b0c7
diff --git a/app-accessibility/orca/metadata.xml b/app-accessibility/orca/metadata.xml
new file mode 100644
index 000000000000..81828abc6360
--- /dev/null
+++ b/app-accessibility/orca/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+<use>
+ <flag name="braille">Enable braille support</flag>
+</use>
+<longdescription>
+ Orca is a flexible, extensible, and powerful assistive technology
+ for people with visual impairments. Using various combinations of
+ speech synthesis, braille, and magnification, Orca helps provide
+ access to applications and toolkits that support the AT-SPI (e.g.,
+ the GNOME desktop).
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/orca/orca-3.22.2.ebuild b/app-accessibility/orca/orca-3.22.2.ebuild
new file mode 100644
index 000000000000..5fef8aef7e15
--- /dev/null
+++ b/app-accessibility/orca/orca-3.22.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python3_{4,5} )
+PYTHON_REQ_USE="threads"
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Extensible screen reader that provides access to the desktop"
+HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+
+IUSE="+braille"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ >=app-accessibility/at-spi2-atk-2.12:2
+ >=app-accessibility/at-spi2-core-2.12:2[introspection]
+ >=dev-libs/atk-2.10
+ >=dev-libs/glib-2.28:2
+ dev-python/gst-python:1.0[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-3.10:3[${PYTHON_USEDEP}]
+ media-libs/gstreamer:1.0[introspection]
+ >=x11-libs/gtk+-3.6.2:3[introspection]
+ braille? (
+ >=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
+ dev-libs/liblouis[python,${PYTHON_USEDEP}] )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
+ dev-libs/atk[introspection]
+ dev-python/pyatspi[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/libwnck:3[introspection]
+ x11-libs/pango[introspection]
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.50
+ dev-util/itstool
+ virtual/pkgconfig
+"
+# app-text/yelp-tools
+
+src_prepare() {
+ gnome2_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir gnome2_src_configure \
+ $(use_with braille liblouis)
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_install() {
+ installing() {
+ gnome2_src_install
+ # Massage shebang to make python_doscript happy
+ sed -e 's:#!'"${PYTHON}:#!/usr/bin/python:" \
+ -i src/orca/orca || die
+ python_doscript src/orca/orca
+ }
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/app-accessibility/orca/orca-3.24.0.ebuild b/app-accessibility/orca/orca-3.24.0.ebuild
new file mode 100644
index 000000000000..5d32bd31ed77
--- /dev/null
+++ b/app-accessibility/orca/orca-3.24.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python3_{4,5} )
+PYTHON_REQ_USE="threads"
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Extensible screen reader that provides access to the desktop"
+HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+IUSE="+braille"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ >=app-accessibility/at-spi2-atk-2.12:2
+ >=app-accessibility/at-spi2-core-2.12:2[introspection]
+ >=dev-libs/atk-2.10
+ >=dev-libs/glib-2.28:2
+ dev-python/gst-python:1.0[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-3.10:3[${PYTHON_USEDEP}]
+ media-libs/gstreamer:1.0[introspection]
+ >=x11-libs/gtk+-3.6.2:3[introspection]
+ braille? (
+ >=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
+ dev-libs/liblouis[python,${PYTHON_USEDEP}] )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
+ dev-libs/atk[introspection]
+ dev-python/pyatspi[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/libwnck:3[introspection]
+ x11-libs/pango[introspection]
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.50
+ dev-util/itstool
+ virtual/pkgconfig
+"
+# app-text/yelp-tools
+
+src_prepare() {
+ gnome2_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir gnome2_src_configure \
+ $(use_with braille liblouis)
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_install() {
+ installing() {
+ gnome2_src_install
+ # Massage shebang to make python_doscript happy
+ sed -e 's:#!'"${PYTHON}:#!/usr/bin/python:" \
+ -i src/orca/orca || die
+ python_doscript src/orca/orca
+ }
+ python_foreach_impl run_in_build_dir installing
+}
diff --git a/app-accessibility/perlbox-voice/Manifest b/app-accessibility/perlbox-voice/Manifest
new file mode 100644
index 000000000000..0c47e784e0fe
--- /dev/null
+++ b/app-accessibility/perlbox-voice/Manifest
@@ -0,0 +1,5 @@
+DIST perlbox-voice-0.09.noarch.tgz 1316675 SHA256 b4f8355ffdb31d93e99bb1b9bab764d82c131ded746e36a31121bcbd5cf9e024 SHA512 db461c4b60003383cc14d25dbc6fdbc82069f588dae14434d6d29efa809c566b36c38f4311271492a9c35e965fed8fcdccf0debf06dc121c10fec460211387c6 WHIRLPOOL fff8a243e021f4c572991f2b922a7ed9ce57526da85f349d793730e6c992bd65ce36242d6b5c8a1351300e43e915ee3791bf4ef6f447d06e574df8760a2a92f7
+EBUILD perlbox-voice-0.09-r2.ebuild 562 SHA256 4fd9fc6e3fba93394ba43afe91ff3cf29522dd9643ac956a2bb94cff8298f551 SHA512 61d70a9807d48bd7c4a14c7e36f440638731301cc10a546d7938b40f576e100b49bebf6fccfe301db5832ab8854f08deaf646f85f2154d57fb0d0b6ce6fa27b3 WHIRLPOOL 12583f8b2d5830eac6249dfe14f074e438bc288e46ce000f2d331a2c8f3f2a0b03e230c3d0d8f180b4d1a4dbd0f27b90527fef51061c4d6c7edbdefceef49b58
+MISC ChangeLog 2710 SHA256 7980c66bc41b9a635ee28dfbdd97a9547ef579b0e9383cba50892d89a424392c SHA512 487f3f9f4536b2b68e3bab2f645f9363a4f69749d3e20eaa8146f21ffb4121a5a041deddeec17de70a587e1dd0cb3b377f7fda9b5752ca5b90a6f067491d7801 WHIRLPOOL fbc471cd0ab981574c5d37b036875a012770206df61d047039763500cf5ad14886ffbb233863497357f942d02395b7988e81f6add7d4d78eb9a9a2d204101249
+MISC ChangeLog-2015 2079 SHA256 0c2a74d70ddd73fb6623d4797f355a4f964db4aa050616054f77a0ddfc4812ec SHA512 413a8ba3b417cf1091ea33695f2fb1d124c9eda4ba34676970bc182b3bca628c9acf23ef5984dfc85b681bbc9081b44bc27b800d6a61a4cb6812ebd5c7045f12 WHIRLPOOL 440283b10c8b79355c1585d4cb1447fb5d4e9a06f5e2b5c651fbac80b063a01d7ba207e898c67987425f300e6162d47951b37d7b68d321820f31c752f7bf5309
+MISC metadata.xml 244 SHA256 003f0348662d8e9523fd171c07add269eb1e99936112a616e659fd7bdeb17c0f SHA512 fe707dfe4f31afb9a8d5fb323fbe09cffc54e895a8863cac7541a01ff26f90a99092cfa4c6b9cca75d5f3d464c283a5be3f87ecd8b01feee9491d7392af902e3 WHIRLPOOL 9d85b9f90e3515669c48ab2df2b16edcb2c281b328ad744ea238faefa483caf6ec7d8751bdae92ef04732bc0907285c5e24adcdd9ef9372c8b8729b60aa54d23
diff --git a/app-accessibility/perlbox-voice/metadata.xml b/app-accessibility/perlbox-voice/metadata.xml
new file mode 100644
index 000000000000..32f77b0a6625
--- /dev/null
+++ b/app-accessibility/perlbox-voice/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">perlbox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/perlbox-voice/perlbox-voice-0.09-r2.ebuild b/app-accessibility/perlbox-voice/perlbox-voice-0.09-r2.ebuild
new file mode 100644
index 000000000000..656deca16230
--- /dev/null
+++ b/app-accessibility/perlbox-voice/perlbox-voice-0.09-r2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A voice enabled application to bring your desktop under your command"
+HOMEPAGE="http://perlbox.sourceforge.net/"
+SRC_URI="mirror://sourceforge/perlbox/${P}.noarch.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="dev-lang/perl
+ dev-perl/Tk
+ app-accessibility/sphinx2
+ app-accessibility/festival
+ app-accessibility/mbrola"
+
+src_install() {
+ tar xvf perlbox-voice.ss -C "${D}" || die "tar failed"
+ dodoc ${PN}.readme
+}
diff --git a/app-accessibility/pidgin-festival/Manifest b/app-accessibility/pidgin-festival/Manifest
new file mode 100644
index 000000000000..98dd65a65cbe
--- /dev/null
+++ b/app-accessibility/pidgin-festival/Manifest
@@ -0,0 +1,5 @@
+DIST pidgin-festival-2.4.tar.gz 359230 SHA256 6bf71c12c30523ac39fae6bbf48f06a317377da224587431c1ec3fb1fc9baf8b SHA512 6f929e53eb3dd6b53cf18e217676f62230c016f955aa18985f186ac3c697318321a3138279bfe6d01a292b371af47d6f0759585ec57490e0fd04e7020e7abd3d WHIRLPOOL c15374b609267730452938af1dd48b8cd652b8a89dd788c94f69be66adcf9d3d0484729358f3630d4b3d8d393b2e876506362ccb096fca7e560856d04329fe25
+EBUILD pidgin-festival-2.4.ebuild 610 SHA256 1e274fc20d438909fa1fec7bcf05064693d3dfff2094aa4bf4b46855df416b23 SHA512 3fbce170fe4696b70f807fe6763a7519417436fcced400fbd72f63d3d6ef3a0f1eb12f99f474c38338f9d67c7651dfd91065ad81a08c19449b523824e2de75ad WHIRLPOOL 4f079963216383466815d67a468efea844340f68db4abb4802d57fb243f383edbb6ff8d541d2ff101aa619be919f2ebf2fea83f4fafb8e4db5f6efad44e51769
+MISC ChangeLog 2574 SHA256 4a8e896fa09d44f9ab254d58e207161a5f3b2db499254722805afefacc6dc3f5 SHA512 3642a731a936d33a38d8f0f2d58f02f522efd28b2d8003b0ad4c2b2acd75b3f40e2424cfab9bbd33a0b25bf2d1180ec32c64970074287944737fdfa8fdb7a3be WHIRLPOOL e3b50472c5c3fa6a245dffb80526218f7f70ff9364dc97be98c198d9650057ce8ce6c6eab4150d490d263676a97f267a76dee8222a133a7801e1dd5fd3f0e01c
+MISC ChangeLog-2015 1896 SHA256 3d36f28fd8d4158e9c564fced48ee343542778b181bca6486298b4ada0cb531c SHA512 be6e18a4a2c635bde4c36b1d2a434593e1e0e17a44f6d984d151c103cf1ce3f98f38539aee8b3a56cff516ebde65f041844231396ad346a86c9c68d5b78023c2 WHIRLPOOL 7616e8819be7942da7606fb943d005b4299e96af76ef53fe0328918de34dc1fede30534e32fb617321cf1a1f5b6254a7c6e50b37eccdb89938e51aee4951252c
+MISC metadata.xml 354 SHA256 66cf336d454176362c5077326ac6c4cebfd1afbc8a1971d983c803b056b36784 SHA512 ae277f8f2d930f13a7d7c470a5a3cf2c154f505fb638b642e4dc5129c4c38ee1c9f30f0f426018cbd14c1005c28a2fd7b23096384d0221ccbdf259d015885c28 WHIRLPOOL de02cae087dab422b5491e6340e01a2cf02f4176b1c8f7db40419ac2b434ab78f240c6df2cce8392acc8e0a915dd9b02028ebb98563d380d800e85178c3f4fe5
diff --git a/app-accessibility/pidgin-festival/metadata.xml b/app-accessibility/pidgin-festival/metadata.xml
new file mode 100644
index 000000000000..9b2b7c90b036
--- /dev/null
+++ b/app-accessibility/pidgin-festival/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">pidgin-festival</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/pidgin-festival/pidgin-festival-2.4.ebuild b/app-accessibility/pidgin-festival/pidgin-festival-2.4.ebuild
new file mode 100644
index 000000000000..4858afecda65
--- /dev/null
+++ b/app-accessibility/pidgin-festival/pidgin-festival-2.4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+DESCRIPTION="A plugin which enables text-to-speech output of conversations using festival"
+HOMEPAGE="https://sourceforge.net/projects/pidgin-festival/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="app-accessibility/festival
+ net-im/pidgin[gtk]
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README ChangeLog || die
+}
diff --git a/app-accessibility/pocketsphinx/Manifest b/app-accessibility/pocketsphinx/Manifest
new file mode 100644
index 000000000000..c444e190ac54
--- /dev/null
+++ b/app-accessibility/pocketsphinx/Manifest
@@ -0,0 +1,5 @@
+DIST pocketsphinx-0.8.tar.gz 23781837 SHA256 874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a SHA512 b53ab8883ddbc2c66c6a6af1bac318f3cdfd5a495cb636f33eb649d42f28780b36c43dfd9a61f213d6a1b83f0fba6b114d44b38d9fa091acf62a8e529118e583 WHIRLPOOL 90078dea3bcfeca6f04fb058e9d9d42e505dc3919606ef6f392abaf91251421243a02d6892eafb1c8890ab430b6f87a81b7b0c1c5df73675a737923d384ce674
+EBUILD pocketsphinx-0.8.ebuild 1023 SHA256 5b9b25d163cdaa855f4f8616e4defd195c525be84274ceceb7533c6d50143dff SHA512 979d56f0ec0886ded897007e5bbd87a105a852912b3c5e826252e0ba968a065d5fb9080713ac20b3b2d10e0c90337d63dbb4d751dc50b7ab7710ebb6c7751a97 WHIRLPOOL 4cd0d1a4c014e7f12d428e8e0d7b4ccf4c17820a27b0f7fbe37d4d279924d26517171aec0ddc8c7b946f810c802763a4d4bff4b760a40f2bcd62fa8e50f10953
+MISC ChangeLog 2447 SHA256 f31803d52f2f4e9091d77e9456a37743003af266e803d56ec31a9cf78f0dc9f1 SHA512 85e835457ba5fbc8bc7bb5d54fc83aee002798f1aa675a0a032159b40b9e3c6301a9dbfcf8f117dee7addc5aacfa781dacbdbd72ec97ab9517702402d660990d WHIRLPOOL eda65a3be888053ba5abf9cd2a99f5c00fe4538df9ff90d99f56127903e39f35d5b0288fcdd7368c44aae21ea1357efd85f87f8f4846fa7f95e73971bab205ea
+MISC ChangeLog-2015 894 SHA256 902a93bcf50f7545bbab3fc7a0102d0d5b84af02bb511f32085eb5bee8e3c829 SHA512 2992d93323391fc13bd95c9624e3d5ca36891c4cc639c6a20d6dbe41b7753568433fc4f556f00c1f04226f1987f933e4498d4734923c12c9a81b750ddf9a2a2e WHIRLPOOL 932502e2f322d3d5bc56d64c74a283810ddff367319721bea69e73f406c1cc39d32f5ed90701b55b91455f4a6e3772deea0d9e68597acfd746958467e8b776be
+MISC metadata.xml 348 SHA256 d9bd602b65a5fadd7279129dba6081262706e71364f005412f620ecee476e2df SHA512 34f2af68ffe473a5fc01eafc493532b72e40339ec299960ed5b9b0b45f0a2681497d1adad8c87dfefbdd446825c1eaa8d08a29b900e8e6998a131c20f24ef5c7 WHIRLPOOL 613351b663338df3c909b7e5262c484cb65d86b16799baf0cf440ba0fca4a780f5599204b6927c8fcc93221108a9a6613e2803a8a7b82e1ab5f93663328e457a
diff --git a/app-accessibility/pocketsphinx/metadata.xml b/app-accessibility/pocketsphinx/metadata.xml
new file mode 100644
index 000000000000..b41f634a646d
--- /dev/null
+++ b/app-accessibility/pocketsphinx/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">cmusphinx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild b/app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild
new file mode 100644
index 000000000000..6b2f52862a61
--- /dev/null
+++ b/app-accessibility/pocketsphinx/pocketsphinx-0.8.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+inherit eutils distutils-r1
+
+DESCRIPTION="Speaker-independent large vocabulary with continuous speech recognizer"
+HOMEPAGE="https://sourceforge.net/projects/cmusphinx/"
+SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="app-accessibility/sphinxbase
+ media-libs/gstreamer:0.10
+ media-libs/gst-plugins-base:0.10
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+run_distutils() {
+ if use python; then
+ pushd python > /dev/null || die
+ distutils-r1_"${@}"
+ popd > /dev/null || die
+ fi
+}
+
+src_configure() {
+ econf \
+ --without-python \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+ run_distutils ${FUNCNAME}
+}
+
+src_install() {
+ default
+ run_distutils ${FUNCNAME}
+ prune_libtool_files
+}
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
+}
diff --git a/app-accessibility/simon/Manifest b/app-accessibility/simon/Manifest
new file mode 100644
index 000000000000..fb3f4d3615c1
--- /dev/null
+++ b/app-accessibility/simon/Manifest
@@ -0,0 +1,12 @@
+AUX simon-0.4.1-libdir.patch 504 SHA256 da728c7f99a937657e3defcd2f125e3b152180c7e35ff6528dd63dd51ba47a3d SHA512 b43dc15ab893f048d6d18e7513abc1da054c1cc872c09a3f5e9916c481f63b8940a72c8454447391aafe93b4f665a54403430669de8c6351223518012e57efb1 WHIRLPOOL 5f8576e095453dc101bddf5f6e8f664464a2e71d5708ea31ca9fcec20bdd5ecff93ca81f17d575fa1e5ca7c359cb0164aa5272764a1b70c5a5a74124e824a519
+AUX simon-0.4.1-linguas.patch 2359 SHA256 fb579c507af1d34ea4d429f0b77b9fa880ac9cae5cbbe006a8c8140e532ef92f SHA512 b58939987238655e03f292fb15222ef87e1078c6375a2a8b45caabe83f92daa9d6c02658825a80f105c355ade316dd69b56cc5dd3320f37c6c4c5f4735e071f8 WHIRLPOOL 7fa6eff0a13dbc9f7274ba8ce7644cdccdc4fe40b611c846e910d55d528e70b8295aa30e0fb3af8b6670012941ec91feba66f69de38a97a7f93693b9cd7f40bf
+AUX simon-0.4.1-no-qtwebkit.patch 639 SHA256 891927d6d82325b94821ba65e4c5d05044524aa3bf5d6f0fb35fcb39e9f16590 SHA512 36140e80ab15d11d74df0518fd76aa147278e6f34bfe35c6ebd45650640aa2dd6dd18800aafa3fdf7a8d64d35f18e12791b0b2f94edb572abf0b74952ebd0003 WHIRLPOOL 555de1d3a160641e0616e512b46eec11b5e14310a018b9780324effeeea33bb180256146f5b9970d8a493a175493a6b9cce19dd696364eb015551afc844877f4
+AUX simon-0.4.1-opencv-include.patch 729 SHA256 69cc66f5ca2ad9157f6182ba4230b0b6d59890394e64d318b3157e73bc421fa2 SHA512 f84629d51a241589c9977dd2ab412dd155435a27cb5544848b6fe73d2a292bf3aef2b07ede226e5a89d616a50f50fa6d505a281118ea7f6f333e3479c423ed0a WHIRLPOOL 15a949f7cdbb3374235ab4908aa3ade16848fa0caff935bd22fe9437920ade18560e3de8f3056b633906be5c8aaaa4726c34dc5f484fa82358e867c1d12b0594
+AUX simon-0.4.1-sphinx.patch 881 SHA256 10afe6ebfa671d689e1eea9721d885c6092888c13390ca237d681eb960559df3 SHA512 93b0ff4ee18a51b868a89a4baa93a0b4f19ade6e0b3b7ed876f128eb3de480e8df8625abfb31d586cb0159092cac4e3e911cfcef47c5242c138019ddfb87f6d8 WHIRLPOOL a6c1663a946d27c904ac0456c3427039c3526447ddd69670bde5bffb45feb200b19d37ad51d444a7f188490f30299df279cacbdea0038d80b184fd479502052d
+DIST simon-0.4.1.tar.bz2 23856024 SHA256 8d55bc3f607a89e15efd51b844d93daf67d9967ad243f54efae324754859342d SHA512 d7349af3ec2482f18d8407891eeea7beea75630cc85aeade9f4105e3b84e82fde6284338688bbf84824d43c68de102eb34f3c21068cbe8a3307aa0586732b30d WHIRLPOOL 4c512bdfed8676cb5cfb896eacb14c66e3497abebe97a4faeb6804feb8ba36ed9101bc79a6efa573470d4a4d7eb6dfc94e3315dac488554563d35a397a066acb
+DIST simon-0.4.90.tar.xz 25257276 SHA256 e3a947c3b0b3f033cce43e2e7a5df86e0e8beec0442b2c19397f69f39a33307b SHA512 88b225e6d0168b87241649019376c8726fb3cc96ccbb985fd3dac5f5b67ed2d84de2756537300d7944797bceb7e340cdaf1c5aed731c1a7e2873d284ca3f94c1 WHIRLPOOL dca0174065a8c06269a02fdfdd6133e10e3f944ab2574259d1330b6210db5ddc381bd0f19f7566e225c0a73b3e2ba716e6fccbcf938e9a89f94cfbfba177f7c4
+EBUILD simon-0.4.1.ebuild 2129 SHA256 a4b560371f36976e5916ba12d13eaaa77bc302728a4359c553b656200d692ee6 SHA512 1321c489ebf1622e53cb27139994373cb9183fd8a39fdb6bd6548f528482651e77c0533460d4a139079ccdc27a5b3eb81f02f05f94c7c00a83eba460e60cc27a WHIRLPOOL a0c08d74537493008bb754ce35549cee37995d5fc7aec1bb6de740667ac2bea16dd04cb5850a60dce5b96859cf7efe0213d208ee7ce5771b6d7ddd5d3b63dea9
+EBUILD simon-0.4.90.ebuild 1610 SHA256 d86b9d916933578757d9eb9aa1ed4cbb1bf41b8d7fe13d9a4048875d133e8615 SHA512 1a47f2398d29b992e6900d8260f577389fac96f94461e0b4b06726f65ca4fc08061e26d6931acebed2ef9c7bf94e3cbcb9c8b3d5b7354567d5b2c9d0fa8425af WHIRLPOOL 3ea2a8338cf38111986a42b8217ecc9966eba46a85bba2d15e5766309d3c4abcbf4a87f357895e349eb6e5090931edc604501a51234b63fb42be7904c4c56453
+MISC ChangeLog 3884 SHA256 6475fca89f717ceeb8f91444b7acbb53ea8ad8c5355e5665d64ce3eae3a564b2 SHA512 baa166764a18557217ef43a672ab94d0304ee4e610a78367f1f98bef5cbeb1f4b41af2f680a71b1d1a7d7786bbb3823e169bc8771c8fc921a724dc3c8d2cc043 WHIRLPOOL 239a781e70b4f0fca6c4efa238dc44898018256068d6032b21f30ad416c4b1076f863da0240bb141d6e08aa5c3d497f10a2563a191efa87ba5238d81534795b3
+MISC ChangeLog-2015 1665 SHA256 190fb29a5103cf15b43d90f21a5614ff5058703f4e8dcba6ed600d43b9326597 SHA512 9c5fd52a816da3b906c29526bc3a3fa9b728661ee6c77f2e03677b384afc6e371aeb14fb85d768b8c4176d9e5188e2b29f618fabf43b8afa47d8c5bca2c513fd WHIRLPOOL 77b3a4ddebb29e739c219610510074b2f9f793c94052efab156a096e48f9f416bf7e5a68d5707597bff0ba88b6f5261ceb1b240ab787688c720bc93548278a59
+MISC metadata.xml 451 SHA256 275a4865dce1f31446a44f3e86757f90a9706f0f013344f5a08de8d70f596136 SHA512 eb8227475d109a54c445968c6e7ad98da678e7647547b42d04e369ad9dfe3fa8029398fe903ceff8bcb6ef61bb35298584363fb7d40fa2f7fed763d0e97f7b89 WHIRLPOOL 295a4ccfa4fab7b7276fc31b6c27c15920c8d0113cb98935dae6772c7ff30f8218abe16352c8d78f9086c36788ea21163de4ef8ca3b5b73f274b34494d280a1a
diff --git a/app-accessibility/simon/files/simon-0.4.1-libdir.patch b/app-accessibility/simon/files/simon-0.4.1-libdir.patch
new file mode 100644
index 000000000000..fae811bef6b0
--- /dev/null
+++ b/app-accessibility/simon/files/simon-0.4.1-libdir.patch
@@ -0,0 +1,16 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Fri Mar 29 22:00:19 UTC 2013
+Subject: build system
+
+make libdir modifiable
+
+--- a/cmake/SimonDirs.cmake
++++ b/cmake/SimonDirs.cmake
+@@ -29,6 +29,6 @@
+ #IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+ #set(SIMON_LIB_INSTALL_DIR lib64)
+ #ELSE(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+- set(SIMON_LIB_INSTALL_DIR lib)
++ set(SIMON_LIB_INSTALL_DIR lib CACHE STRING "libdir")
+ #ENDIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+ ENDIF(WIN32)
diff --git a/app-accessibility/simon/files/simon-0.4.1-linguas.patch b/app-accessibility/simon/files/simon-0.4.1-linguas.patch
new file mode 100644
index 000000000000..01f25d6550c0
--- /dev/null
+++ b/app-accessibility/simon/files/simon-0.4.1-linguas.patch
@@ -0,0 +1,87 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -14,6 +14,9 @@
+
+ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
+
++# NLS
++option(ENABLE_NLS "Enable native language support" 1)
++
+ find_package(KDE4 "4.4" REQUIRED)
+ find_package(Qt4 COMPONENTS QtCore QtDbus QtGui QtTest QtXml QtScript QtConcurrent REQUIRED)
+ find_package(Qwt6 REQUIRED)
+@@ -143,4 +146,6 @@
+ macro_display_feature_log()
+
+ include(MacroOptionalAddSubdirectory)
+-macro_optional_add_subdirectory( po )
++if(ENABLE_NLS)
++ macro_optional_add_subdirectory( po )
++endif(ENABLE_NLS)
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -1,11 +1,15 @@
++if(ENABLE_NLS)
++ # gettext behavior
++ execute_process(COMMAND sh -c "echo -n \${LINGUAS+x}"
++ OUTPUT_VARIABLE UNSETLINGUAS)
++set(langs pt_BR ca nl et de it pt es sv uk)
++
++ foreach(mylang ${langs})
++ if($ENV{LINGUAS} MATCHES "^.*${mylang}.*$" OR "${UNSETLINGUAS}" STREQUAL "")
++ add_subdirectory(${mylang})
++ endif()
++ endforeach()
++endif(ENABLE_NLS)
++
++# default doc
+ add_subdirectory(en_US)
+-add_subdirectory(pt_BR)
+-add_subdirectory(ca)
+-add_subdirectory(nl)
+-add_subdirectory(et)
+-add_subdirectory(de)
+-add_subdirectory(it)
+-add_subdirectory(pt)
+-add_subdirectory(es)
+-add_subdirectory(sv)
+-add_subdirectory(uk)
+--- a/po/CMakeLists.txt
++++ b/po/CMakeLists.txt
+@@ -11,25 +11,14 @@ endif (NOT GETTEXT_MSGMERGE_EXECUTABLE)
+ if (NOT GETTEXT_MSGFMT_EXECUTABLE)
+ MESSAGE(FATAL_ERROR "Please install msgmerge binary")
+ endif (NOT GETTEXT_MSGFMT_EXECUTABLE)
+-add_subdirectory(de)
+-add_subdirectory(da)
+-add_subdirectory(fr)
+-add_subdirectory(nl)
+-add_subdirectory(uk)
+-add_subdirectory(pt_BR)
+-add_subdirectory(pl)
+-add_subdirectory(es)
+-add_subdirectory(cs)
+-add_subdirectory(ro)
+-add_subdirectory(ca)
+-add_subdirectory(sk)
+-add_subdirectory(sl)
+-add_subdirectory(pt)
+-add_subdirectory(gl)
+-add_subdirectory(ca@valencia)
+-add_subdirectory(sv)
+-add_subdirectory(el)
+-add_subdirectory(fi)
+-add_subdirectory(it)
+-add_subdirectory(zh_TW)
+-add_subdirectory(et)
++
++# gettext behavior
++execute_process(COMMAND sh -c "echo -n \${LINGUAS+x}"
++ OUTPUT_VARIABLE UNSETLINGUAS)
++set(langs ca@valencia cs de da fr nl uk pt_BR pl es ro ca sl pt gl sk sv el fi it zh_TW et)
++
++foreach(mylang ${langs})
++ if($ENV{LINGUAS} MATCHES "^.*${mylang}.*$" OR "${UNSETLINGUAS}" STREQUAL "")
++ add_subdirectory(${mylang})
++ endif()
++endforeach()
diff --git a/app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch b/app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch
new file mode 100644
index 000000000000..53a157be38e1
--- /dev/null
+++ b/app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch
@@ -0,0 +1,24 @@
+From 81bd3d089a19f1e23383e2da7376740152540f7f Mon Sep 17 00:00:00 2001
+From: Rex Dieter <rdieter@math.unl.edu>
+Date: Mon, 6 Jul 2015 09:59:56 -0500
+Subject: omit unused reference to QWebView header
+
+no cmake checks for QtWebKit either
+---
+ simon/src/simonview.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/simon/src/simonview.cpp b/simon/src/simonview.cpp
+index 69673bc..7a1873d 100644
+--- a/simon/src/simonview.cpp
++++ b/simon/src/simonview.cpp
+@@ -60,7 +60,6 @@
+ #include <KDE/KComboBox>
+ #include <QDesktopServices>
+ #include <QTimeLine>
+-#include <QWebView>
+
+ #include <KMessageBox>
+ #include <KApplication>
+--
+cgit v0.11.2
diff --git a/app-accessibility/simon/files/simon-0.4.1-opencv-include.patch b/app-accessibility/simon/files/simon-0.4.1-opencv-include.patch
new file mode 100644
index 000000000000..b6a7d33c409f
--- /dev/null
+++ b/app-accessibility/simon/files/simon-0.4.1-opencv-include.patch
@@ -0,0 +1,20 @@
+From: Peter Grasch <me@bedahr.org>
+Date: Sat, 25 Jul 2015 08:45:03 +0000
+Subject: Adding OpenCV include directories to include path
+X-Git-Url: http://quickgit.kde.org/?p=simon.git&a=commitdiff&h=b4e663e5cc36511b15ef20865c723182cd3d88c9
+---
+Adding OpenCV include directories to include path
+---
+
+
+--- a/cmake/FindOpenCV.cmake
++++ b/cmake/FindOpenCV.cmake
+@@ -61,6 +61,7 @@
+
+ ## Include the standard CMake script
+ include("${OpenCV_DIR}/OpenCVConfig.cmake")
++ include_directories(${OpenCV_INCLUDE_DIRS})
+
+ ## Search for a specific version
+ set(CVLIB_SUFFIX "${OpenCV_VERSION_MAJOR}${OpenCV_VERSION_MINOR}${OpenCV_VERSION_PATCH}")
+
diff --git a/app-accessibility/simon/files/simon-0.4.1-sphinx.patch b/app-accessibility/simon/files/simon-0.4.1-sphinx.patch
new file mode 100644
index 000000000000..498475c81d05
--- /dev/null
+++ b/app-accessibility/simon/files/simon-0.4.1-sphinx.patch
@@ -0,0 +1,16 @@
+--- simon-0.4.1/CMakeLists.txt
++++ simon-0.4.1/CMakeLists.txt
+@@ -59,11 +59,11 @@
+ macro_optional_find_package(QAccessibilityClient)
+ macro_log_feature(QAccessibilityClient_FOUND "qaccessibilityclient" "KDE client-side accessibility library" "https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient" FALSE "" "Required to enable ATSPI plugin.")
+
+-find_package(Sphinxbase)
++macro_optional_find_package(Sphinxbase)
+ macro_log_feature(SphinxBase_LIBRARIES "Sphinxbase"
+ "Open source toolkit for speech recognition" "http://cmusphinx.sourceforge.net/"
+ FALSE "" "Required to build Sphinx backend")
+-find_package(Pocketsphinx)
++macro_optional_find_package(Pocketsphinx)
+ macro_log_feature(POCKETSPHINX_LIBRARIES "PocketSphinx"
+ "PocketSphinx is a small-footprint continuous speech recognition system"
+ "http://cmusphinx.sourceforge.net/" FALSE ""
diff --git a/app-accessibility/simon/metadata.xml b/app-accessibility/simon/metadata.xml
new file mode 100644
index 000000000000..6a60622dd262
--- /dev/null
+++ b/app-accessibility/simon/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>
+ <use>
+ <flag name="opencv">Use <pkg>media-libs/opencv</pkg></flag>
+ <flag name="sphinx">Build sphinx backend (pulls <pkg>app-accessibility/julius</pkg> if disabled</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-accessibility/simon/simon-0.4.1.ebuild b/app-accessibility/simon/simon-0.4.1.ebuild
new file mode 100644
index 000000000000..1fb96a7bf86a
--- /dev/null
+++ b/app-accessibility/simon/simon-0.4.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# KEEP KDE ECLASSES OUT OF HERE
+
+# TODO: qaccessibilityclient support (not in portage)
+# https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient/repository
+# TODO: julius
+
+EAPI=5
+
+inherit eutils multilib gnome2-utils cmake-utils
+
+DESCRIPTION="Open-source speech recognition program for replacing mouse and keyboard"
+HOMEPAGE="http://simon-listens.org/"
+SRC_URI="mirror://kde/stable/simon/${PV}/src/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="libsamplerate nls opencv sphinx"
+
+RDEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qtscript:4
+ dev-qt/qtsql:4
+ kde-frameworks/kdelibs:4[plasma(+)]
+ media-libs/alsa-lib
+ x11-libs/libX11
+ x11-libs/libXtst
+ x11-libs/qwt:6[qt4(+)]
+ libsamplerate? ( media-libs/libsamplerate )
+ nls? (
+ kde-apps/kde4-l10n
+ virtual/libintl
+ )
+ opencv? ( media-libs/opencv )
+ sphinx? (
+ >=app-accessibility/pocketsphinx-0.8
+ >=app-accessibility/sphinxbase-0.8
+ >=app-accessibility/SphinxTrain-1
+ )
+ !sphinx? ( app-accessibility/julius )"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-libdir.patch
+ "${FILESDIR}"/${P}-linguas.patch
+ "${FILESDIR}"/${P}-sphinx.patch
+ "${FILESDIR}"/${P}-opencv-include.patch
+ "${FILESDIR}"/${P}-no-qtwebkit.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DSIMON_LIB_INSTALL_DIR=/usr/$(get_libdir)
+ -DBackendType=$(usex sphinx "both" "jhtk")
+ $(cmake-utils_use_with sphinx Sphinxbase)
+ $(cmake-utils_use_with sphinx Pocketsphinx)
+ -DWITH_KdepimLibs=OFF
+ $(cmake-utils_use_with libsamplerate LibSampleRate)
+ $(cmake-utils_use_with opencv OpenCV)
+ $(cmake-utils_use_enable nls NLS)
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+
+ elog "optional dependencies:"
+ elog " kde-apps/jovie (support for Jovie TTS system)"
+ use sphinx && elog " app-accessibility/julius (alternative backend)"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-accessibility/simon/simon-0.4.90.ebuild b/app-accessibility/simon/simon-0.4.90.ebuild
new file mode 100644
index 000000000000..c5c349f0a267
--- /dev/null
+++ b/app-accessibility/simon/simon-0.4.90.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_LINGUAS="ast bs ca ca@valencia cs da de el en_GB es et fa fi fr ga gl
+hu ia ja kk lt mr nds nl pl pt pt_BR sk sl sv tr ug uk zh_CN zh_TW"
+SQL_REQUIRED="always"
+inherit kde4-base
+
+DESCRIPTION="Open-source speech recognition program for replacing mouse and keyboard"
+HOMEPAGE="http://simon-listens.org/"
+SRC_URI="mirror://kde/unstable/simon/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libsamplerate opencv sphinx"
+
+RDEPEND="
+ media-libs/alsa-lib
+ x11-libs/libX11
+ x11-libs/libXtst
+ x11-libs/qwt:6[qt4(+)]
+ libsamplerate? ( media-libs/libsamplerate )
+ opencv? ( media-libs/opencv )
+ sphinx? (
+ >=app-accessibility/pocketsphinx-0.8
+ >=app-accessibility/sphinxbase-0.8
+ >=app-accessibility/SphinxTrain-1
+ )
+ !sphinx? ( app-accessibility/julius )
+"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.4.1-libdir.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DSIMON_LIB_INSTALL_DIR=/usr/$(get_libdir)
+ -DWITH_KdepimLibs=OFF
+ -DUSE_PLASMA=OFF
+ -DWITH_LibSampleRate=$(usex libsamplerate)
+ -DWITH_OpenCV=$(usex opencv)
+ -DBackendType=$(usex sphinx "both" "jhtk")
+ $(cmake-utils_use_find_package sphinx Sphinxbase)
+ $(cmake-utils_use_find_package sphinx Pocketsphinx)
+ )
+
+ kde4-base_src_configure
+}
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+
+ elog "Optional dependencies:"
+ elog " kde-apps/jovie (support for Jovie TTS system)"
+ use sphinx && elog " app-accessibility/julius (alternative backend)"
+}
diff --git a/app-accessibility/sound-icons/Manifest b/app-accessibility/sound-icons/Manifest
new file mode 100644
index 000000000000..c89c2d3e1ff2
--- /dev/null
+++ b/app-accessibility/sound-icons/Manifest
@@ -0,0 +1,5 @@
+DIST sound-icons-0.1.tar.gz 591196 SHA256 382dda1d14a07b3125a8b5084695aa9ba5cb0fff02e5aab69fd6c7e23cbcf4d7 SHA512 f0ba9e1e84ace325671c7f323f01d647aa0e1a318e9adc2a6d8af4e0d795e478b2ea66007670f9c7ced9ef7310fdbccb5168b0f404579f5dff8712fe12ad93a0 WHIRLPOOL cacf8afc80819d99fed82a91ec2e82bee9f096483b7334364294bbd5c016e80f9f1fa200416f86c9dc54a8799824eaee7db1eec3c8ca0c506b7a784e2761a70e
+EBUILD sound-icons-0.1.ebuild 674 SHA256 4c737bfebcbe3a8da9b5f118fa3658ec7101be3023a864818efd0708ae37c581 SHA512 81f169584a6256f31b3f3f847ae0ab3613123063d1f8bae973586ded0a8e32116b109a88d7a0117a524dd94a6acd35449287dde90ea6b9a3c1949131b2014cce WHIRLPOOL 081cf8940707d81928a2078199cf1e8f520421813a7de7a82fd757530e54fcc803a9d2597967c591e65cb3c4c8fdf883096666c34626e6eac7c835d2d1f79154
+MISC ChangeLog 2444 SHA256 165e84d195694f708cf70d9f3cd7770de2c2205a82e5bcf77dbef607687ed3cd SHA512 99eff23287605a7b45937c7459b95468995dc1598123142a77228594eb04d82c9621d85ebe0563f009b4667121bc2a3e79b8f3b4939ffe163316d61b02ca1b79 WHIRLPOOL 30bd19a9af9830c369ffbf6500373c69023062143e44036f761922bbe2af8ddd6ad714e01df0b8efca13d685b19b910aeac90ca2509c2ff30f42138e4ee6af88
+MISC ChangeLog-2015 661 SHA256 9b1cd7d560060707c91e06cb95c436e689c8ad541cbc4d4f0cb54ec5a0823c2d SHA512 4c416d4bcf1516d1c74be7b760e38094b755ce66936cf746dd159794e71fba77ef92bc9d0afa28b5d06fcacd5a655fb275bcdc9771df587e59ad7fed4553e1e8 WHIRLPOOL e805012cd82210e6634b6f0eeb5bdd425f99c6c6a27c2e18cf8c95bc9ae862e1e777494881a4b2fa8883e74a5d8ebf30793b15f0c644107483a383d795769387
+MISC metadata.xml 468 SHA256 f98f223c8b5b6c23e9ec8d3ad4585e63f4cab2251786b27032ed07013f2aa96a SHA512 9ab288130466bb7e5574fb54cf239a7ff0b5415e24b02f022df013fd3eb1ef8f733b7e1e310a2305f816de797ab592db7a3c7e33af46fea05e39139536b0f611 WHIRLPOOL a57c2a4007b8cb9d9d33abcd540bbd158a49dc4d237170f6f51b20247a43f0bd53dd1efa51c3748d02dcd9a4557223f92a146b314ef28bc6a7a6e050d1e914b7
diff --git a/app-accessibility/sound-icons/metadata.xml b/app-accessibility/sound-icons/metadata.xml
new file mode 100644
index 000000000000..4e89c04468b7
--- /dev/null
+++ b/app-accessibility/sound-icons/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>williamh@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+</maintainer>
+<longdescription lang="en">
+This is a collection of sound icons which can be used by speech dispatcher.
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/sound-icons/sound-icons-0.1.ebuild b/app-accessibility/sound-icons/sound-icons-0.1.ebuild
new file mode 100644
index 000000000000..1fe8a80f3b2e
--- /dev/null
+++ b/app-accessibility/sound-icons/sound-icons-0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="a collection of Sound Icons for speech-dispatcher"
+HOMEPAGE="http://www.freebsoft.org"
+SRC_URI="http://www.freebsoft.org/pub/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+RDEPEND="app-accessibility/speech-dispatcher"
+
+src_compile(){
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ dodoc README
+ insinto /usr/share/sounds/sound-icons
+ doins "${S}"/*.wav
+ links="`find ${S} -type l -print`"
+ for link in $links; do
+ target=`readlink -n $link`
+ dosym $target /usr/share/sounds/sound-icons/`basename $link`
+ done
+}
diff --git a/app-accessibility/speech-dispatcher/Manifest b/app-accessibility/speech-dispatcher/Manifest
new file mode 100644
index 000000000000..589e55f282b6
--- /dev/null
+++ b/app-accessibility/speech-dispatcher/Manifest
@@ -0,0 +1,7 @@
+DIST speech-dispatcher-0.8.1.tar.gz 1309969 SHA256 d25727239bbee4ee7881dd5e23e4da64a184b2ff3c8c9830088a671fb23b7757 SHA512 35f1ae547001a45d7945406ae5672829ff9ab6ac3f0cccb9eb3670dd92888a63c7cc4270ee90b5a166e6788afe3b117b5c3ef62c41a9df9f9af94dc4e0948fe8 WHIRLPOOL 945ef7ab1d771dc1e3727f223cfadfd309db03813f11fe995c0f4caf3a6f24bc9abc18e1f2f342b072bcd5fd0d626dae315f1fd0228d4172e051a2aba1255092
+DIST speech-dispatcher-0.8.3.tar.gz 1292321 SHA256 96a293b2ba1e2498f1280c75a9607891a9990947a8d87e9855c2a642c93f1e4f SHA512 48eaa1fb27a14ad6c6a1f214044fbddde85ff07e636355e75f4f3ac1e46cea0cbbbd2cb9ce01ce4b9cb27d5395d840bd38afd2c65ec0fabcc8787483ae7a7b67 WHIRLPOOL 606bee401a98c91aa34f071007cabc3d7ad5f2a5a9425a32d40a8cce75a4b13795b4877a42451be37ea14a68a008fc1e0e063d881c08a78dce41f3a800962fd1
+EBUILD speech-dispatcher-0.8.1.ebuild 2645 SHA256 692f2e5e9ec9fa4f3b7b2646c1873431f52f1558293272e9f71f3b2addcf517e SHA512 7b9ada7edd6d2ccf949805c743f68848dbb35b8a3c4714e33b7a1c4248770165c77405214d24d38549d89309a85cc2233311b74594e9c0b21dcbc3390ab388a4 WHIRLPOOL ff7a06cd58423cb1f5ca42577a1da7619ff29812486147275d58e556edd9d79616ee59b9a89bafd87fd89f0f8b0afa40086c3e43f0f61326c15b299dbb510273
+EBUILD speech-dispatcher-0.8.3.ebuild 2626 SHA256 c79d2119d87a114d6c0c5144bcac674086e8009b6bbbd6a21dffd316ac0de4ff SHA512 1556ab61c84259db988c92d9ad9f0d02d647872c97bfc04f59be31cadec4a9aa42a7eed3197bd3c6812daa330a7bb5075ed98cac9e1a8d743d784700ad7d53a3 WHIRLPOOL 568fdb9bcb3b8e4a74803ef48cfe2465ef12b693f6b61afc4d4deb390d74c9dd1f77bbd160a61350d294f4ac99a200fa6fbb23bf35eb4e55fc74c15e9622f784
+MISC ChangeLog 3252 SHA256 7a899fc8cb74b0c90228f3f2a97e70aba2e8291f5e0e44531387437fe6228b65 SHA512 042045d5c3e423796ae1a6dc7a19017a27981ffd5284a1f3a0d723c57142e8dc49a1d2bac4d88488f550bbc41c79209c2c5901b59f15cc4505d74a63c82bea03 WHIRLPOOL ded0fc8e5b0d265ac2821b28c63a0847435c340ec82113036556e0f0198d6b24d6e85cc31abd4296b06cc02f7e24d1524bcb9a0530000a5d17e5edcaeb9f2103
+MISC ChangeLog-2015 19473 SHA256 2386b253103bf432d8eefed280ffe051b97a5edde90966394e0f6d01c6a13d9f SHA512 8ec1551fac69fdba8a4e8ee898c09e2b488a6493635c961bc42400bdc6692123acf74be9dabe8272a4d3da295862d9874fb408e5610c290d8eb6fbde0f0f3da1 WHIRLPOOL abfedde54d033248ae72acf54ac3fdd06e1bcd01a5bdbb183a8e5e66c82124311fdb1a06a638c1d62380d49cda2548915e510ac6fe76be1cb14d53119fcd6ac5
+MISC metadata.xml 632 SHA256 4ab0806f2fd7c313c2be2379d2f56ec03df12fa37a266bcd287a3dc5f0c11482 SHA512 db94cba99bd2c9bbfe98b1647ac53a3861cbd697df791bea025e2a713a5991ca6929f2bc82a985ba38eef4a2571515d96aac6558fe143b68e24713490c12dd0a WHIRLPOOL d3b4e5856cd9961bb4f030535f20b55595bf1a8264d228427f99d2b44d7b57892803a887a32f00e51bc77edc8d88f7ae4415dab6ac375c3f8f91a63ad34cfc55
diff --git a/app-accessibility/speech-dispatcher/metadata.xml b/app-accessibility/speech-dispatcher/metadata.xml
new file mode 100644
index 000000000000..3b8394dd85b4
--- /dev/null
+++ b/app-accessibility/speech-dispatcher/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ </maintainer>
+ <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>
+ <use>
+ <flag name="espeak">Adds support for espeak speech engine</flag>
+ <flag name="flite">Adds support for flite speech engine</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.1.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.1.ebuild
new file mode 100644
index 000000000000..04aa370dd7ea
--- /dev/null
+++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit eutils python-r1
+
+DESCRIPTION="Speech synthesis interface"
+HOMEPAGE="http://www.freebsoft.org/speechd"
+SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+IUSE="alsa ao +espeak flite nas pulseaudio python static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPEND="python? ( ${PYTHON_DEPS} )
+ >=dev-libs/dotconf-1.3
+ >=dev-libs/glib-2.28:2
+ >=media-libs/libsndfile-1.0.2
+ alsa? ( media-libs/alsa-lib )
+ ao? ( media-libs/libao )
+ espeak? ( app-accessibility/espeak )
+ flite? ( app-accessibility/flite )
+ nas? ( media-libs/nas )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40.0
+ virtual/pkgconfig"
+ RDEPEND="${COMMON_DEPEND}
+ dev-python/pyxdg"
+
+src_configure() {
+ local myeconfargs=(
+ --disable-python
+ $(use_enable static-libs static)
+ $(use_with alsa)
+ $(use_with ao libao)
+ $(use_with espeak)
+ $(use_with flite)
+ $(use_with pulseaudio pulse)
+ $(use_with nas)
+ )
+ econf ${myeconfargs[@]}
+}
+
+src_compile() {
+ use python && python_copy_sources
+
+ emake
+
+ if use python; then
+ building() {
+ cd src/api/python || die
+ emake \
+ pyexecdir="$(python_get_sitedir)" \
+ pythondir="$(python_get_sitedir)"
+ }
+ python_foreach_impl run_in_build_dir building
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ANNOUNCE AUTHORS BUGS ChangeLog FAQ NEWS README*
+
+ prune_libtool_files --all
+
+ if use python; then
+ installation() {
+ cd src/api/python || die
+ emake \
+ DESTDIR="${D}" \
+ pyexecdir="$(python_get_sitedir)" \
+ pythondir="$(python_get_sitedir)" \
+ install
+ }
+ python_foreach_impl run_in_build_dir installation
+ python_replicate_script "${ED}"/usr/bin/spd-conf
+ fi
+}
+
+pkg_postinst() {
+ local editconfig="n"
+ if ! use espeak; then
+ ewarn "You have disabled espeak, which is speech-dispatcher's"
+ ewarn "default speech synthesizer."
+ ewarn
+ editconfig="y"
+ fi
+ if ! use pulseaudio; then
+ ewarn "You have disabled pulseaudio support."
+ ewarn "pulseaudio is speech-dispatcher's default audio subsystem."
+ ewarn
+ editconfig="y"
+ fi
+ if [[ "${editconfig}" == "y" ]]; then
+ ewarn "You must edit ${EROOT}etc/speech-dispatcher/speechd.conf"
+ ewarn "and make sure the settings there match your system."
+ ewarn
+ fi
+ elog "For festival support, you need to"
+ elog "install app-accessibility/festival-freebsoft-utils."
+}
diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.3.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.3.ebuild
new file mode 100644
index 000000000000..3725e90a4d36
--- /dev/null
+++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+inherit eutils python-r1
+
+DESCRIPTION="Speech synthesis interface"
+HOMEPAGE="http://www.freebsoft.org/speechd"
+SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="alsa ao +espeak flite nas pulseaudio python static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPEND="python? ( ${PYTHON_DEPS} )
+ >=dev-libs/dotconf-1.3
+ >=dev-libs/glib-2.28:2
+ >=media-libs/libsndfile-1.0.2
+ alsa? ( media-libs/alsa-lib )
+ ao? ( media-libs/libao )
+ espeak? ( app-accessibility/espeak )
+ flite? ( app-accessibility/flite )
+ nas? ( media-libs/nas )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40.0
+ virtual/pkgconfig"
+ RDEPEND="${COMMON_DEPEND}
+ dev-python/pyxdg"
+
+src_configure() {
+ local myeconfargs=(
+ --disable-python
+ $(use_enable static-libs static)
+ $(use_with alsa)
+ $(use_with ao libao)
+ $(use_with espeak)
+ $(use_with flite)
+ $(use_with pulseaudio pulse)
+ $(use_with nas)
+ )
+ econf ${myeconfargs[@]}
+}
+
+src_compile() {
+ use python && python_copy_sources
+
+ emake
+
+ if use python; then
+ building() {
+ cd src/api/python || die
+ emake \
+ pyexecdir="$(python_get_sitedir)" \
+ pythondir="$(python_get_sitedir)"
+ }
+ python_foreach_impl run_in_build_dir building
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ANNOUNCE AUTHORS BUGS ChangeLog FAQ NEWS README*
+
+ prune_libtool_files --all
+
+ if use python; then
+ installation() {
+ cd src/api/python || die
+ emake \
+ DESTDIR="${D}" \
+ pyexecdir="$(python_get_sitedir)" \
+ pythondir="$(python_get_sitedir)" \
+ install
+ }
+ python_foreach_impl run_in_build_dir installation
+ python_replicate_script "${ED}"/usr/bin/spd-conf
+ fi
+}
+
+pkg_postinst() {
+ local editconfig="n"
+ if ! use espeak; then
+ ewarn "You have disabled espeak, which is speech-dispatcher's"
+ ewarn "default speech synthesizer."
+ ewarn
+ editconfig="y"
+ fi
+ if ! use pulseaudio; then
+ ewarn "You have disabled pulseaudio support."
+ ewarn "pulseaudio is speech-dispatcher's default audio subsystem."
+ ewarn
+ editconfig="y"
+ fi
+ if [[ "${editconfig}" == "y" ]]; then
+ ewarn "You must edit ${EROOT}etc/speech-dispatcher/speechd.conf"
+ ewarn "and make sure the settings there match your system."
+ ewarn
+ fi
+ elog "For festival support, you need to"
+ elog "install app-accessibility/festival-freebsoft-utils."
+}
diff --git a/app-accessibility/speech-tools/Manifest b/app-accessibility/speech-tools/Manifest
new file mode 100644
index 000000000000..31942706cbb1
--- /dev/null
+++ b/app-accessibility/speech-tools/Manifest
@@ -0,0 +1,8 @@
+AUX speech-tools-2.1-underlinking.patch 565 SHA256 2f0b8781c03362cf0a6c67e842778c44566db6b0089e980ec84779245b77468d SHA512 4091b64da995f2f859f8debd7c6b7c20bf3a788c91d8aa7651f3c6f89445c9fc60b60923a3056de678ec17faee41839917131b9a3176e53c0afc11e24fe92e47 WHIRLPOOL 93464e4fa43cefcdce6599ab5cdfef741a5ec90909a78019c3e56485b9d3f47df09f39316679ca7ee61a84bbabad0cd072dc9ffdaeeb844db1a923cbd101b794
+DIST speech_tools-2.1-r3-patches.tar.gz 6876 SHA256 c37357211aa88ca6038932222f664ee332d58c553960d13ef93c489d2bb41e11 SHA512 db4d656a77e3fcfc43447c11b160cf9b45f0c4ec10f2697e4357f0ec86ea56e2841f1b887493a781406975003f5d8065ffbb75eeebb79fcd9873055b52c248e3 WHIRLPOOL a038534ab83819e5c36e74026ee510bfc279e41b6eea62e6fcb54df599a888d51e7398bd91db615e8e6cdc140b52bc99d8d7c7e52c158ce161d2a74e5909cb2c
+DIST speech_tools-2.1-release.tar.gz 1681999 SHA256 ff6167cd929a88e2f91b47191c6c4dae87c9c06ba39fccc4465af9d79e9b2be9 SHA512 6ef9a7dd01ede152c4dafd0b2037312d62a79d875813d74ea048899a52eee505b93ffbabef9b6c0a1d15aeadb5508fd18a2f392e85276847fe071173aec5db96 WHIRLPOOL 6df6ca5168462599fadf209827e367c963af5ca6be05277618c9d09aac34a3b151665b860a14fa4742482cc77246e372671ac94b23bdca63bbbb7b8c7b234644
+EBUILD speech-tools-2.1-r2.ebuild 2699 SHA256 0ef9b709ac458b2d627446c1bbf77467fc26c391d9d517a299d33bd7bfd0d61c SHA512 1e684dcb5cf9503c5654424f777457f1e808c530fce6d07590a6e129314d67d7f78057ed9103abcae4b2e228e522c66f4d6ed8eadcdbbbedb29401a6b0cc762d WHIRLPOOL 11561d5bebf67879a45c37aa9fac702431d68f2c355e7fc696495df46e77cb79ffde7d9416161ce93dd7ebb3cee417aa669f3c58877095c7f65ea8dd2ca5e2a7
+EBUILD speech-tools-2.1-r3.ebuild 2982 SHA256 d2d4eaca2333f66a661c3cbb1b66c9155196daf9fc5d40e2264ac985168e967c SHA512 96d32a1b59baa8beb564583a56db7328f3d31c7f20c5537d993e3e43d68ac5ae01d6ed3306b111f482f2c68adb9d86628e8664ee0b3c4ef1a2bc44b75da908f8 WHIRLPOOL f64bf2b203db70e8aca68b46a669d4d7c7863d755c3ac5ffea887be03b526910ab5c934fcfcd3a210e3b7fad323e959722b5d18253593a6a6c0c0739d85c873d
+MISC ChangeLog 2742 SHA256 f5c77d83dc12db3ae35fcc3ac3a421802c220600af5f03e072ed696e3dde0ad9 SHA512 c1f0cb702b99825404ea09b217ea16eee5960798cdca8dd6a425cdf01646624f70a94a8a21cfcddbf34bf5188cf98d0ac9cb205b63869ed9ead949514c4989db WHIRLPOOL 67e1b82e2cd7ceb827b8467723dc9656e3768bb1c236ade7281c2e2d13a8b5e043f8b25a723f2042a6052ddda8a20c65de4f7e84279ea4573b9624cbf85d4f82
+MISC ChangeLog-2015 15635 SHA256 d9a8112a3aa116be7810d4287fe7524f963838289d5ce090a33d0d68e6b40de2 SHA512 908fcd4bc35763cb05fdc1dfdddbe17e48c45f3ba4936e7b735a3d2c79a834c3d69fedf13ad8c35db54c59fc3c8b4061e3251583ed87784df3b55c90f042a273 WHIRLPOOL 045de4c3d731d674049b8331dd4128bb87b2f94edce9592a297102f8fa79038e2c1e40d8605c2a3b4b950cfb907f2d68784f0c9dcba674b1bb30a55cf96155e0
+MISC metadata.xml 375 SHA256 2d266a45b4fb056159839f940687765d7e13a01d0748fac50bbbcbb4a19d2483 SHA512 affeb58d8d6f6659fc2d00b01bb627307920575589c7c78358b26074c94831af9a40bc2b0ba9e55758f968adf7b6a15bbc1542db83b1457107fd9fbdd2a3d224 WHIRLPOOL 4509576afbf26fe58f3dbac4b99d56b01588c69ee22f65bb50694d214ec6c06c5eaf7136cacb2da1259486d499d643b73726744e3d942bdfd5a3849630612644
diff --git a/app-accessibility/speech-tools/files/speech-tools-2.1-underlinking.patch b/app-accessibility/speech-tools/files/speech-tools-2.1-underlinking.patch
new file mode 100644
index 000000000000..35011735cc8c
--- /dev/null
+++ b/app-accessibility/speech-tools/files/speech-tools-2.1-underlinking.patch
@@ -0,0 +1,11 @@
+--- speech_tools.orig/config/systems/GentooLinux.mak.old 2013-11-24 01:49:44.000000000 +0200
++++ speech_tools/config/systems/GentooLinux.mak 2013-11-24 13:04:14.327758435 +0200
+@@ -38,6 +38,7 @@
+ ###########################################################################
+
+ MANDIR=$(INSTALL_PREFIX)/share/man
++GENTOO_ALSA_LIBS=$(shell pkg-config --libs alsa)
+ GENTOO_CURSES_LIBS=$(shell pkg-config --libs ncurses)
+ # Gentoo does not use termcap
+-OS_LIBS = $(GENTOO_CURSES_LIBS) $(LDFLAGS) -ldl
++OS_LIBS = $(GENTOO_ALSA_LIBS) $(GENTOO_CURSES_LIBS) $(LDFLAGS) -ldl
diff --git a/app-accessibility/speech-tools/metadata.xml b/app-accessibility/speech-tools/metadata.xml
new file mode 100644
index 000000000000..1dacdab965c1
--- /dev/null
+++ b/app-accessibility/speech-tools/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/speech-tools/speech-tools-2.1-r2.ebuild b/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild
new file mode 100644
index 000000000000..89c675a99f19
--- /dev/null
+++ b/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+MY_P=${P/speech-/speech_}
+PATCHSET="r3"
+
+DESCRIPTION="Speech tools for Festival Text to Speech engine"
+HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
+SRC_URI="http://www.festvox.org/packed/festival/${PV}/${MY_P}-release.tar.gz
+ https://dev.gentoo.org/~neurogeek/${PN}/${MY_P}-${PATCHSET}-patches.tar.gz"
+
+LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="nas X"
+
+RDEPEND="
+ nas? ( media-libs/nas )
+ X? ( x11-libs/libX11
+ x11-libs/libXt )
+ >=media-libs/alsa-lib-1.0.20-r1
+ !<app-accessibility/festival-1.96_beta
+ !sys-power/powerman
+ >=sys-libs/ncurses-5.6-r2
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/speech_tools"
+
+src_prepare() {
+ EPATCH_SUFFIX="patch"
+ epatch
+
+ sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' main/siod_main.cc
+
+ #WRT bug #309983
+ sed -i -e "s:\(GCC_SYSTEM_OPTIONS =\).*:\1:" "${S}"/config/systems/sparc_SunOS5.mak
+
+ # Fix underlinking, bug #493204
+ epatch "${FILESDIR}"/${PN}-2.1-underlinking.patch
+}
+
+src_configure() {
+ local CONFIG=config/config.in
+ sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG}
+ if use nas; then
+ sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG}
+ fi
+ if ! use X; then
+ sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak
+ fi
+ econf
+}
+
+src_compile() {
+ emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXX_OTHER_FLAGS="${CXXFLAGS}" CC_OTHER_FLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dolib.so lib/libest*.so*
+
+ dodoc "${S}"/README
+ dodoc "${S}"/lib/cstrutt.dtd
+
+ insinto /usr/share/doc/${PF}
+ doins -r lib/example_data
+
+ insinto /usr/share/speech-tools
+ doins -r config base_class
+
+ insinto /usr/share/speech-tools/lib
+ doins -r lib/siod
+
+ cd include
+ insinto /usr/include/speech-tools
+ doins -r *
+ dosym ../../include/speech-tools /usr/share/speech-tools/include
+
+ cd ../bin
+ for file in *; do
+ [ "${file}" = "Makefile" ] && continue
+ dobin ${file}
+ dstfile="${D}/usr/bin/${file}"
+ sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile}
+ sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
+ sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
+
+ # This just changes LD_LIBRARY_PATH
+ sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile}
+ done
+
+ cd "${S}"
+ exeinto /usr/$(get_libdir)/speech-tools
+ for file in `find main -perm +100 -type f`; do
+ doexe ${file}
+ done
+
+ #Remove /usr/bin/resynth as it is broken. See bug #253556
+ rm "${D}/usr/bin/resynth"
+}
diff --git a/app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild b/app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild
new file mode 100644
index 000000000000..8608bb592a5b
--- /dev/null
+++ b/app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+MY_P=${P/speech-/speech_}
+PATCHSET="r3"
+
+DESCRIPTION="Speech tools for Festival Text to Speech engine"
+HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
+SRC_URI="http://www.festvox.org/packed/festival/${PV}/${MY_P}-release.tar.gz
+ https://dev.gentoo.org/~neurogeek/${PN}/${MY_P}-${PATCHSET}-patches.tar.gz"
+
+LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="nas X"
+
+RDEPEND="
+ nas? ( media-libs/nas )
+ X? ( x11-libs/libX11
+ x11-libs/libXt )
+ >=media-libs/alsa-lib-1.0.20-r1
+ !<app-accessibility/festival-1.96_beta
+ !sys-power/powerman
+ >=sys-libs/ncurses-5.6-r2
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/speech_tools"
+
+src_prepare() {
+ EPATCH_SUFFIX="patch"
+ epatch
+
+ sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' \
+ main/siod_main.cc || die
+
+ #WRT bug #309983
+ sed -i -e "s:\(GCC_SYSTEM_OPTIONS =\).*:\1:" \
+ "${S}"/config/systems/sparc_SunOS5.mak || die
+
+ # Fix underlinking, bug #493204
+ epatch "${FILESDIR}"/${PN}-2.1-underlinking.patch
+}
+
+src_configure() {
+ local CONFIG=config/config.in
+ sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} || die
+ if use nas; then
+ sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" \
+ ${CONFIG} || die
+ fi
+ if ! use X; then
+ sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak || die
+ fi
+ econf
+}
+
+src_compile() {
+ emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXX_OTHER_FLAGS="${CXXFLAGS}" CC_OTHER_FLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dolib.so lib/libest*.so*
+
+ dodoc "${S}"/README
+ dodoc "${S}"/lib/cstrutt.dtd
+
+ insinto /usr/share/doc/${PF}
+ doins -r lib/example_data
+
+ insinto /usr/share/speech-tools
+ doins -r config base_class
+
+ insinto /usr/share/speech-tools/lib
+ doins -r lib/siod
+
+ cd include || die
+ insinto /usr/include/speech-tools
+ doins -r *
+ dosym ../../include/speech-tools /usr/share/speech-tools/include
+
+ cd ../bin || die
+ for file in *; do
+ [ "${file}" = "Makefile" ] && continue
+ dobin ${file}
+ dstfile="${D}/usr/bin/${file}"
+ sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" \
+ ${dstfile} || die
+ sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" \
+ ${dstfile} || die
+ sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" \
+ ${dstfile} || die
+
+ # This just changes LD_LIBRARY_PATH
+ sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} || die
+ done
+
+ cd "${S}" || die
+ exeinto /usr/$(get_libdir)/speech-tools
+ for file in `find main -perm /111 -type f`; do
+ doexe ${file}
+ done
+
+ #Remove /usr/bin/resynth as it is broken. See bug #253556
+ rm "${D}/usr/bin/resynth" || die
+
+ # Remove bcat (only useful for testing on windows, see bug #418301).
+ rm "${D}/usr/bin/bcat" || die
+ rm "${D}/usr/$(get_libdir)/speech-tools/bcat" || die
+}
diff --git a/app-accessibility/speechd-el/Manifest b/app-accessibility/speechd-el/Manifest
new file mode 100644
index 000000000000..ef9e56405a04
--- /dev/null
+++ b/app-accessibility/speechd-el/Manifest
@@ -0,0 +1,5 @@
+DIST speechd-el-2.5.tar.gz 183278 SHA256 1ec52b27248e1c68d3ac37bee78842f3e124dc78e63891a1b706519349e4824e SHA512 b4e5d00d3a86be9c42172ab48c5b0c0f5f25817cb542302f04e29f594422247e4b008428dfaaa1bb2e208a71f126b9c86d25186974606bf5764212a0d6a1a09f WHIRLPOOL 3063e34e19e239653455ebe51bbc0e2e8630c21d5bd2342a24e39c1c8d6a831bb595165611cfa9b441fb6e9ccab50d956b81e63bb4235a86a03464812ffbe4ac
+EBUILD speechd-el-2.5.ebuild 952 SHA256 12565dde69a685c08c540cfa5d5573d9fc5c9711342378291a25a113c86185ff SHA512 8e093afa0ceb7bbd429cf10ef149ce3725f05e03e6c3552f8f10d0bd5f303bbb2470920c9b4be5d7934a29b5849a812d03596f08fa2b1d28d56a9372cdd98e63 WHIRLPOOL a339e7730f068db4400e257c83f61b438b117d1cfd0b70eac9106569850cac1aa5e40c3ad81da259872a05220ba06c9b73e2b0bbb069868e9e48d2e8f08e30e6
+MISC ChangeLog 2569 SHA256 49f16f95b182fa04b644bae0a018466046ee4bc30454416b003c90e9c715e37b SHA512 8c4163f0f2b6cad4d9b2f1d99c20a06f28be946b85f8a99c83cf544b6b736b5b3bf31e859338dcfb9528d5e822772d64746f3393181d99bf53584c89156ed04c WHIRLPOOL dd35d1637bea9c117e974bd7f754dc99ad453468bc374fc4eee9419d31e09fb0d4f34cec3fd5ce89bae0df50f0a1445c3e2f0ab954807c731403cc0a35373e7d
+MISC ChangeLog-2015 3278 SHA256 f3260ddc466ade19cea9d052c633114a6f304acd21c5b84873063ec590383c3d SHA512 4e5e1d8fa14834058e1fb8288c6a2a4d10e864305833bcd8077ff2860368dd881588fb4310ac87a111b44c31e58995387af05e442ebd29fc162378f938ad8eb3 WHIRLPOOL a0306d64c83e761381905a4077e0112855105df95b3f8f00417baea8bd570d5029924ffee2e7ceca821934371ae1c97d689a55cf4de72b46fa2204fae822030b
+MISC metadata.xml 520 SHA256 468c8d266c876a04c1860edd1226ba38e723cecbf440427f14e92fce4500a76b SHA512 a3eac680b1c15b152cb6de69f0b4e421b83019eafb49ce781caf9388446f131dea00c0903fd17066d7deb85fa3c789ed4d593d3fb5a09362a673cb0a93c7e6a3 WHIRLPOOL b6e86be9af2df8b68a79265e998d6a6734068650e4c09d270ad6286d8ae97995cf4badfd782661ef363edd93e70a6bec346b9bc008be7d0888d7b4e967d2bb1e
diff --git a/app-accessibility/speechd-el/metadata.xml b/app-accessibility/speechd-el/metadata.xml
new file mode 100644
index 000000000000..298ece6d7d62
--- /dev/null
+++ b/app-accessibility/speechd-el/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>williamh@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+</maintainer>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<use>
+ <flag name="brltty">brltty support</flag>
+</use>
+</pkgmetadata>
diff --git a/app-accessibility/speechd-el/speechd-el-2.5.ebuild b/app-accessibility/speechd-el/speechd-el-2.5.ebuild
new file mode 100644
index 000000000000..f01f6acc0a06
--- /dev/null
+++ b/app-accessibility/speechd-el/speechd-el-2.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit elisp
+
+DESCRIPTION="Emacs speech support"
+HOMEPAGE="http://www.freebsoft.org/speechd-el"
+SRC_URI="http://www.freebsoft.org/pub/projects/speechd-el/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="brltty"
+
+DEPEND=""
+RDEPEND=">=app-accessibility/speech-dispatcher-0.7
+ brltty? ( app-accessibility/brltty )"
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ dobin speechd-log-extractor
+ dodoc ANNOUNCE NEWS README speechd-speak.pdf
+ doinfo speechd-el.info
+}
+
+pkg_postinst() {
+ elog "Execute the following commands from within emacs to get it to speak:"
+ elog " M-x load-library RET speechd-speak RET"
+ elog " M-x speechd-speak RET"
+ elog
+ elog "or add the following to your ~/.emacs file:"
+ elog
+ elog "(autoload 'speechd-speak \"speechd-speak\" nil t)"
+ elog '(speechd-speak)'
+}
diff --git a/app-accessibility/sphinx2/Manifest b/app-accessibility/sphinx2/Manifest
new file mode 100644
index 000000000000..fd33275340cd
--- /dev/null
+++ b/app-accessibility/sphinx2/Manifest
@@ -0,0 +1,6 @@
+AUX sphinx2-0.6-as-needed.patch 725 SHA256 ef8ea9a6afc7c86d4f4583a35983f208992f926f1621fb445bc82bb3fb581854 SHA512 88053a09965a40cbe6e089b35a96c562c115fe73a571391e0258b036363f6ec863d31fff93f8dc817a5afa84b407623d14efdc846a2835fda5a9385ce4023527 WHIRLPOOL 1b262f4cc3939ee16051a4c931b79fb3534df30a4cdd4240b114789b2da69a4e02cdd9212524fce2902bca47b9fc890bd168a09a3b43ebc91e1849b2910cc7d8
+DIST sphinx2-0.6.tar.gz 6883359 SHA256 af533d804906706eaeb80170b4222b293ed914b0b95b473334b5d2dba4bb0b65 SHA512 98e66cedf8a147aee7871df85ee45f58ab76637d26163cbb30ee9554638b503f52c9b14f4f3b64bbb49bb84282e399451a0f9a8622b6e7e545889773d72ba5d4 WHIRLPOOL 34cd1d2a3b279ce496d11ffaf7f6ec7452da5a394b545348fbf3e203ccd1b26003a875288985cbf3189ec6f082f3a51deee6798752f926f8864507f9134fbbb6
+EBUILD sphinx2-0.6.ebuild 714 SHA256 b450cfcd4bc2d66180bb2f133edba7314d03277d901621d769d3ca763bd779b6 SHA512 2bc62da98a691c4c40eec0b1d60b0a64ca850122dc133b8509e0df4537d7862453fe612ae1a60c471917e0bc6d2490800a7308e662916f79de6afdbe7ed176db WHIRLPOOL 6866bd79f53df5d84d5b6ca18c0848be8da2a9ae943a7bbac17a1595c6fdb6e043f789564ea878227fadeea2a421cff9c56d8633bc96ea4d9b22acc2a6653615
+MISC ChangeLog 2468 SHA256 6e726d20ef5d56950e8f285d3e78c82a2f3be4a1b14d6050cbe0b28e747121f9 SHA512 2754bb33f21e26ced4d093c315e8e543a0c8d4a96551eae5924330dc1a2afa29202d907ac5109e358ca08611e1ae7ea783e736b1f39172279689fb33fce578af WHIRLPOOL f8ab5573657a57b3c553c58fbdd5832b3adc7fd3b52c199753f374b810184ba4a5723fbef6db80e18613e91ea79dbeb14ed3b30f35e28bb7235c912cc63c1e59
+MISC ChangeLog-2015 2785 SHA256 1567dc669f91bc52aba60e47fbb2eb388bff65986876c35c5864def604955a23 SHA512 3eecd0ea706a28b60234eca032e15f2e42db1bbde93586ccd83df24b19295aa7b439eff6a21ec45d1b4e25be18829882d5b6d2db17551ba24e56b372424d82c2 WHIRLPOOL 9fe7967ad6d28739267e7762d1021b1a280439351c7010ece125cb576b6b590a375c7d03343df22c5593f52d2b21e7826ff3290ae98e988b700089eec11e9160
+MISC metadata.xml 462 SHA256 babf2533d2553a9ba578d75e28d3528cc41b0350587ae105097386e079cbf67f SHA512 3159e075a7d959d2a6a75305692f706690f3ae54f6f114a131a4750c0ae020d4721d4a33434d3d98088f9fb3e1315ea8a25e54542752605bfb7a5600203bbe25 WHIRLPOOL 0122df7c44e1424fe9843b13633d800bc9066e121a3dd2547261be68f441c965681e59319293ff4a4b6685463310ea019e5b9ed5b5ee8bdef83138f349f6b588
diff --git a/app-accessibility/sphinx2/files/sphinx2-0.6-as-needed.patch b/app-accessibility/sphinx2/files/sphinx2-0.6-as-needed.patch
new file mode 100644
index 000000000000..0520d4d987e4
--- /dev/null
+++ b/app-accessibility/sphinx2/files/sphinx2-0.6-as-needed.patch
@@ -0,0 +1,25 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 05a4f8a..23d0309 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,5 +1,5 @@
+-SUBDIRS = libsphinx2 \
+- libsphinx2fe \
++SUBDIRS = libsphinx2fe \
+ libsphinx2ad \
++ libsphinx2 \
+ examples
+
+diff --git a/src/libsphinx2/Makefile.am b/src/libsphinx2/Makefile.am
+index 66f0ac3..537381c 100644
+--- a/src/libsphinx2/Makefile.am
++++ b/src/libsphinx2/Makefile.am
+@@ -88,7 +88,7 @@ libsphinx2_la_SOURCES = \
+ word_fsg.c
+
+
+-# libsphinx2_la_LIBADD = -lc -lm $(top_srcdir)/src/libsphinx2fe/libsphinx2fe.la
++libsphinx2_la_LIBADD = -lc -lm $(top_srcdir)/src/libsphinx2fe/libsphinx2fe.la
+
+ # hjf@cs.brown.edu - Added for Solaris build
+ # LDADD = -L/usr/demo/SOUND/lib/ -laudio
diff --git a/app-accessibility/sphinx2/metadata.xml b/app-accessibility/sphinx2/metadata.xml
new file mode 100644
index 000000000000..5272aff94276
--- /dev/null
+++ b/app-accessibility/sphinx2/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">cmusphinx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/sphinx2/sphinx2-0.6.ebuild b/app-accessibility/sphinx2/sphinx2-0.6.ebuild
new file mode 100644
index 000000000000..d2fda0b62aef
--- /dev/null
+++ b/app-accessibility/sphinx2/sphinx2-0.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit autotools eutils
+
+MY_P=${P/_/}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="CMU Speech Recognition-engine"
+HOMEPAGE="http://fife.speech.cs.cmu.edu/sphinx/"
+SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README doc/README.bin doc/README.lib doc/SCHMM_format doc/filler.dict doc/phoneset doc/phoneset-old
+ dohtml doc/phoneset_s2.html doc/sphinx2.html
+}
diff --git a/app-accessibility/sphinx3/Manifest b/app-accessibility/sphinx3/Manifest
new file mode 100644
index 000000000000..e307541c8235
--- /dev/null
+++ b/app-accessibility/sphinx3/Manifest
@@ -0,0 +1,7 @@
+AUX sphinx3-0.8-libutil.patch 390 SHA256 2bf2446f0a403fc660d3bd87fa99c3712675ccc87d889d0d950dfb717eb3dbd6 SHA512 cddb0e0378129f75f0d453c421a6e94e99cd9f495fb431d5bd1113471e77299c4ee5c42f3400f3998ab398db6cc8d9ae9d10e0c7a6c77610e29c8c1883ebd4b6 WHIRLPOOL 188613c8ac83b3e3404e9b03ff5ff4fabd7b19c170101bc5d062a472f20f44fdea1907ff388fd1039b9b1d24724d8b70d51cb2aaef08655fb7ff18f421f39536
+AUX sphinx3-0.8_heap_fix.patch 1475 SHA256 ade4d1bf57eeb4a182d917bf33ada2e9f681df0743a68fa7c8b592d850468b8f SHA512 7b709e1f3741fb3403bbb9ffda77feeba7ff8e5373d1b3e8e03247dd5eff5e1b0f90595d579e6216602da376d2f297e9a46aa2d0016dbaeef400781ef9272751 WHIRLPOOL 53cf9d2e04f595c50f005daf85b7712709bbbb4ef31746384312946244bec217d43ead73c338eb9d415bf494341a82a6b1d0bc94aff7d1b3f30022396173e3d8
+DIST sphinx3-0.8.tar.gz 25226326 SHA256 1cf76a086f9b509e35f7226df2e61b0a0bf8b0858b9676e5b18cfc47b2ea2741 SHA512 85b8e574e2f92a758c8c56ef11b873c49ef8a376e964f30a12d75850d4a0db56e3108eaea25fa5587675ef2ffa4531a13f0f182a85cc8e434c6bcee42058e050 WHIRLPOOL 0f3604b4fa320f59e4ee65b79c4a779c48f2822a944b28b85a740826244f5eb7adc072538919c97ebf4eb270660fbe6f5b30b55cc67ec6276358063cf340aa7b
+EBUILD sphinx3-0.8-r1.ebuild 1236 SHA256 4aaa5245a02cfdaf312f112ff6aa3c2d1359f9b930836c22ec11e620649b9d5d SHA512 02200fa47d7d50f6010a7899c1a9564e632e59125efc21edfa6960af684540ea0e46320fefcd192303ec9377445b4be6bd403cfbbfcdcf2ce034c4ca1fa53f11 WHIRLPOOL 5ad4d864e5bdedbc294c08e97c1bfe496481c9561dc57f3dd060845e89fed0093cf0109afafcbabf685df4ace600e0db877673c8634e9eab269185c2df2e5bac
+MISC ChangeLog 3049 SHA256 0b018ed7d80f6e73faceefd30db7c0478db2f0dee1cf701fce56756bf71fbcd3 SHA512 480cf9791c311a56c07b894db387a413db5c3691b7702795feffc5b9481e3de13fafc6df63ef01a11cfde1978ffe98325960e80f0d72110e2144796cd9c5c4dc WHIRLPOOL fe488c75b480dff55573663b4f2d6e50d44f1615997e2e4ffddcab3d20e89c4a55196903e7197654df8eb34f426f9f25faec6640a592f286233a47c29a5b77af
+MISC ChangeLog-2015 1868 SHA256 e3aa933251990810ea8909f2f6c80d6827609f603fd95c6e0b91c70b45f1941b SHA512 98904af0639af5dd0ddfba430660a63cee96029e85acd2ac6fad26da1bda0019cda4457376a1c4d91e1d7bed5d9f380d79dc842b80dab0f0e0f5ace747ff4e54 WHIRLPOOL 0faf850ada6239b9acf0744e4a2faa7768d3a222ede7720415a162a94228cb1640f367767649534d17b62c5d0401399f6a494e9a86c268f1de7eb1189d580da5
+MISC metadata.xml 348 SHA256 d9bd602b65a5fadd7279129dba6081262706e71364f005412f620ecee476e2df SHA512 34f2af68ffe473a5fc01eafc493532b72e40339ec299960ed5b9b0b45f0a2681497d1adad8c87dfefbdd446825c1eaa8d08a29b900e8e6998a131c20f24ef5c7 WHIRLPOOL 613351b663338df3c909b7e5262c484cb65d86b16799baf0cf440ba0fca4a780f5599204b6927c8fcc93221108a9a6613e2803a8a7b82e1ab5f93663328e457a
diff --git a/app-accessibility/sphinx3/files/sphinx3-0.8-libutil.patch b/app-accessibility/sphinx3/files/sphinx3-0.8-libutil.patch
new file mode 100644
index 000000000000..0f7733154a53
--- /dev/null
+++ b/app-accessibility/sphinx3/files/sphinx3-0.8-libutil.patch
@@ -0,0 +1,18 @@
+--- src/libs3decoder/libsearch/fsg_history.c
++++ src/libs3decoder/libsearch/fsg_history.c
+@@ -55,7 +55,6 @@
+ #include <kb.h>
+ /*#include <phone.h>*/
+ #include <search.h>
+-#include "libutil.h"
+
+
+ #define __FSG_DBG__ 0
+--- src/libs3decoder/libcfg/s3_cfg_convert.c
++++ src/libs3decoder/libcfg/s3_cfg_convert.c
+@@ -1,5 +1,4 @@
+
+-#include <libutil.h>
+ #include "s3_cfg.h"
+ #include "fsg.h"
+
diff --git a/app-accessibility/sphinx3/files/sphinx3-0.8_heap_fix.patch b/app-accessibility/sphinx3/files/sphinx3-0.8_heap_fix.patch
new file mode 100644
index 000000000000..b7b71d974413
--- /dev/null
+++ b/app-accessibility/sphinx3/files/sphinx3-0.8_heap_fix.patch
@@ -0,0 +1,34 @@
+diff -uNr sphinx3-0.8.orig/python/setup.py sphinx3-0.8/python/setup.py
+--- sphinx3-0.8.orig/python/setup.py 2008-12-31 23:20:08.000000000 -0500
++++ sphinx3-0.8/python/setup.py 2011-11-17 09:46:57.000000000 -0500
+@@ -8,15 +8,10 @@
+ define_macros = []
+
+ module = Extension('_sphinx3',
+- include_dirs = ['../../sphinxbase/include',
+- '../include',
+- '/usr/local/include/sphinxbase/',
+- '/usr/local/include/sphinx3',
+- ],
++ include_dirs = ['../include',
++ '@GENTOO_PORTAGE_EPREFIX@/usr/include/sphinxbase'],
+ define_macros = define_macros,
+- library_dirs = ['../../sphinxbase/src/libsphinxbase/.libs',
+- '../src/libs3decoder/.libs',
+- '../../sphinxbase/lib/debug',
++ library_dirs = ['../src/libs3decoder/.libs',
+ '../lib/debug',
+ ],
+ libraries = ['sphinxbase', 's3decoder'],
+diff -uNr sphinx3-0.8.orig/src/libs3decoder/libsearch/vithist.c sphinx3-0.8/src/libs3decoder/libsearch/vithist.c
+--- sphinx3-0.8.orig/src/libs3decoder/libsearch/vithist.c 2008-12-31 13:27:56.000000000 -0500
++++ sphinx3-0.8/src/libs3decoder/libsearch/vithist.c 2011-11-17 09:46:24.000000000 -0500
+@@ -647,7 +647,7 @@
+ {
+ int32 se, fe, filler_done, th;
+ vithist_entry_t *ve;
+- heap_t h;
++ heap_t *h;
+ s3wid_t *wid;
+ int32 i;
+
diff --git a/app-accessibility/sphinx3/metadata.xml b/app-accessibility/sphinx3/metadata.xml
new file mode 100644
index 000000000000..b41f634a646d
--- /dev/null
+++ b/app-accessibility/sphinx3/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">cmusphinx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/sphinx3/sphinx3-0.8-r1.ebuild b/app-accessibility/sphinx3/sphinx3-0.8-r1.ebuild
new file mode 100644
index 000000000000..42f44dfce588
--- /dev/null
+++ b/app-accessibility/sphinx3/sphinx3-0.8-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# disable automatic phase exports and deps
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools-utils distutils-r1 prefix eutils
+
+DESCRIPTION="CMU Speech Recognition engine"
+HOMEPAGE="http://cmusphinx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc python static-libs"
+
+RDEPEND=">=app-accessibility/sphinxbase-0.7[static-libs?,python?,${PYTHON_USEDEP}]
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# Due to generated Python setup.py.
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}_heap_fix.patch" \
+ "${FILESDIR}/${P}-libutil.patch"
+ eprefixify 'python/setup.py'
+}
+
+src_compile() {
+ autotools-utils_src_compile
+
+ if use python; then
+ cd python || die
+ distutils-r1_src_compile
+ fi
+}
+
+src_install() {
+ local DOCS=( AUTHORS ChangeLog NEWS README )
+ autotools-utils_src_install
+
+ if use doc; then
+ cd doc || die
+ dohtml -r -x CVS s3* s3 *.html
+ fi
+
+ if use python; then
+ unset DOCS
+
+ cd "${S}"/python || die
+ distutils-r1_src_install
+ fi
+}
diff --git a/app-accessibility/sphinxbase/Manifest b/app-accessibility/sphinxbase/Manifest
new file mode 100644
index 000000000000..f4447e8874cd
--- /dev/null
+++ b/app-accessibility/sphinxbase/Manifest
@@ -0,0 +1,7 @@
+AUX sphinxbase-0.8-automake113.patch 844 SHA256 19921f03dbc071b1258737595f5a0f3fff06359fe663832fb4672fac1f320def SHA512 3275705839ce5d720e2f0914998ad8709e2199ae00852555c89691897499b4ea2dfcd9943213bd3d62472e7d73c6cc8a9ba2cf9315f4e0c2b3023b9adca01787 WHIRLPOOL 14fec6ef4057f95a4ca873d5657c24b7ac3dff66e664fee6b3453ea75a06eb836030b2718181044e041f3f5ecbcee79ebf906c0d8d97f8bbd9c9e788f5b210ed
+AUX sphinxbase-0.8-unbundle-lapack.patch 2838 SHA256 7cf9428b77870753b57f26e9527283355ec5d7f460532910fe477429ad360e63 SHA512 65fe50fb11851848d0ae9ad17b4839953c1bebb027b91c42dc347c7e714ddea5f2a3131e2e243ba0ff771501c074a5d9850cef44b848d0feae90c764daa59447 WHIRLPOOL 0449079aca9fb1dc65b9725de2efa2d130f4955753dc5ae27579df2d58814776c0ee8b737e1f41debdce5121b28b8c1fbb30028614796a3edf9854421e01f828
+DIST sphinxbase-0.8.tar.gz 3313197 SHA256 55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8 SHA512 fdb13c07e591e868c395d5f8209ec389fb9d5a93d99104a00cb82382e84d320091ae7e74d53225706331d4959ab5e248fa622582a148bfdb6ab5c38470d1963c WHIRLPOOL df050d547a263954574902ce08d966a184d428ea5ec700128fde2fee5d78f948a5920e2b92540f052e4a1d6ac208b388350d7ad66c0548ee945f99ceab0f0a0c
+EBUILD sphinxbase-0.8.ebuild 1614 SHA256 dc15824953d5a2f4e1c23a0a8808099e7a8d5b37db4010a5a4f9af61ab6c2614 SHA512 73652225a2391c08e925714b6bbdc320268e96ab71a137844855e0158f83b1c6458fa3c4fb14a715d4f34213485e220d3f6778dcd38d1c4201e3d582ac799b9e WHIRLPOOL d87a88318b6c4673745a16186d49b26aa9f2c5d2e7832ae732c7587b865f4171395a880244c8e76ceb11f17869582b9a520033b098379a370c0a8e33c5559b5c
+MISC ChangeLog 2531 SHA256 a5e86bd94c1ad001f9366467847241fb7b3053469d3c4c44e660a931ca82c517 SHA512 a020b8821597be02298fd215ca8285f18dbc958c97f96a8b9d2de45cda07b6a31f06d624d1df2eaf73de80bdd39f2f3ed1041ff3d5f7fe8e68924a01c9a970f4 WHIRLPOOL adb6cbec650293ec7bf3738aeee69fcaa6967a5e83c8cd59b19b4a2e375fcbb0b28996df4dd5d0ca6ca327dc53a3040a51fbea1cf809198d5a020d6a7a6205a3
+MISC ChangeLog-2015 1830 SHA256 8ba2249ea58f4616ca038b6822d8b4c58381a4a6a3d84f83bd669835fab46bd1 SHA512 64d3d40ed454279c6222c1b278cc36a6a4f29ae3ea44dbddd159fe8db8c5889840339e0bd9b17f4bca77712c61933309c702bf64a308cc90d2118280b66bb1c0 WHIRLPOOL 34bba38c14483458dd817dc286ae6ed95e3bbecfa06da55517adb7fd0cb91cc4941168d4950e04d9e6a906cbad3bd8fd7c0580c5e7ed5cc59631dedb28853618
+MISC metadata.xml 358 SHA256 7de1889b85f19ce573fdea383f64913606aacdc0113b612dbeac20c02105c9dd SHA512 f9dee1e233aa868e4b33adb73c09b58f97a17e6844723222f1bcd1363eef669e769f12f188da17789abccc88cabb306eea6f40e31ba36e4569e4f24bfbde2421 WHIRLPOOL 4ebec19294562709b118c7260aaa4a05b7b3898580286690de21d71183f3dc2aa8da6525071fde5fa2d57b600e4c3d1cdbf0e2e70bf4b3340dc6e48bee04a9b4
diff --git a/app-accessibility/sphinxbase/files/sphinxbase-0.8-automake113.patch b/app-accessibility/sphinxbase/files/sphinxbase-0.8-automake113.patch
new file mode 100644
index 000000000000..11031918ee68
--- /dev/null
+++ b/app-accessibility/sphinxbase/files/sphinxbase-0.8-automake113.patch
@@ -0,0 +1,25 @@
+diff -Naur sphinxbase-0.8/test/regression/Makefile.am sphinxbase-0.8.new/test/regression/Makefile.am
+--- sphinxbase-0.8/test/regression/Makefile.am 2012-12-05 06:05:39.000000000 -0800
++++ sphinxbase-0.8.new/test/regression/Makefile.am 2013-10-08 13:05:15.498853962 -0700
+@@ -33,9 +33,19 @@
+
+ # Disable sphinx_fe tests for now if fixed-point due to imprecision
+ if FIXED_POINT
+-TESTS = $(srcdir)/test-cepview.sh $(srcdir)/test-sphinx_pitch.sh
++TESTS = test-cepview.sh test-sphinx_pitch.sh
+ else
+-TESTS = $(srcdir)/test-*.sh
++TESTS = \
++ test-cepview.sh \
++ test-sphinx_fe-ctl.sh \
++ test-sphinx_fe-dct.sh \
++ test-sphinx_fe-dither-seed.sh \
++ test-sphinx_fe-logspec2cep.sh \
++ test-sphinx_fe-logspec.sh \
++ test-sphinx_fe.sh \
++ test-sphinx_fe-smoothspec.sh \
++ test-sphinx_jsgf2fsg.sh \
++ test-sphinx_pitch.sh
+ endif
+
+ EXTRA_DIST += $(TESTS)
diff --git a/app-accessibility/sphinxbase/files/sphinxbase-0.8-unbundle-lapack.patch b/app-accessibility/sphinxbase/files/sphinxbase-0.8-unbundle-lapack.patch
new file mode 100644
index 000000000000..70beae05de7e
--- /dev/null
+++ b/app-accessibility/sphinxbase/files/sphinxbase-0.8-unbundle-lapack.patch
@@ -0,0 +1,85 @@
+ configure.in | 40 +++++++++++++++++++++-------------------
+ src/libsphinxbase/Makefile.am | 1 +
+ 2 files changed, 22 insertions(+), 19 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index e10629c..b5d6ea9 100644
+--- a/configure.in
++++ b/configure.in
+@@ -62,13 +62,15 @@ if test x$withval = xno; then
+ use_lapack=false
+ fi
+ ])
+-if test x$use_lapack = xtrue; then
+- AC_CHECK_LIB(lapack, sgesv_,,use_internal_lapack=true)
+- if test x$use_internal_lapack != xtrue; then
+- AC_CHECK_LIB(blas, sgemm_,,use_internal_lapack=true)
+- fi
++AS_IF([test "x$with_lapack" = "xyes"], [
++ PKG_CHECK_MODULES([LAPACK], [lapack],,
++ AC_CHECK_LIB(lapack, sgesv_,,use_internal_lapack=true))
++ AS_IF([test "x$use_internal_lapack" != "xtrue"], [
++ PKG_CHECK_MODULES([BLAS], [blas],,
++ AC_CHECK_LIB(blas, sgemm_,,use_internal_lapack=true))
++ ])
+ AC_DEFINE(WITH_LAPACK, [], [Enable matrix algebra with LAPACK])
+-fi
++])
+ AM_CONDITIONAL(LAPACK_LITE, test x$use_internal_lapack = xtrue)
+ AM_CONDITIONAL(USE_LAPACK, test x$use_lapack = xtrue)
+
+@@ -208,9 +210,15 @@ AM_PROG_LIBTOOL
+ dnl
+ dnl Check for Doxygen, and build dox if present
+ dnl
+-AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, yes, no)
++AC_ARG_ENABLE([doc],
++ AS_HELP_STRING([--enable-doc], [Build docs using doxygen]))
++AS_IF([test "x$enable_doc" = "xyes"], [
++ AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, yes, no)
++ AS_IF([test "x$HAVE_DOXYGEN" != "xyes"], [
++ AC_MSG_ERROR([--enable-doc given, but doxygen not found.]); exit 1
++ ])
++])
+ AM_CONDITIONAL(BUILD_DOXYGEN, test "x$HAVE_DOXYGEN" = "xyes")
+-
+ dnl
+ dnl Check for Python, and build python module if present
+ dnl
+@@ -260,19 +268,13 @@ fi
+ AM_CONDITIONAL(BUILD_CYTHON, test "x$HAVE_CYTHON" = "xyes")
+
+ dnl
+-dnl Check for pkgconfig
+-dnl
+-AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
+-
+-dnl
+ dnl Check for libsndfile
+ dnl
+-if test "x$HAVE_PKGCONFIG" = "xyes"; then
+- PKG_CHECK_MODULES(SNDFILE,sndfile,,true)
+- AC_CHECK_HEADERS([sndfile.h])
+- PKG_CHECK_MODULES(SAMPLERATE,samplerate,,true)
+- AC_CHECK_HEADERS([samplerate.h])
+-fi
++PKG_CHECK_MODULES(SNDFILE,sndfile,,true)
++AC_CHECK_HEADERS([sndfile.h])
++PKG_CHECK_MODULES(SAMPLERATE,samplerate,,true)
++AC_CHECK_HEADERS([samplerate.h])
++
+ AC_SUBST(SNDFILE_LIBS)
+ AC_SUBST(SNDFILE_CFLAGS)
+ AC_SUBST(SAMPLERATE_LIBS)
+diff --git a/src/libsphinxbase/Makefile.am b/src/libsphinxbase/Makefile.am
+index 52ee3e1..f4efd8a 100644
+--- a/src/libsphinxbase/Makefile.am
++++ b/src/libsphinxbase/Makefile.am
+@@ -8,6 +8,7 @@ libsphinxbase_la_SOURCES =
+ # This is API version 2, software release 1, which also supports API version 1
+ libsphinxbase_la_LDFLAGS = -version-info 2:1:1
+ libsphinxbase_la_LIBADD = $(LTLIBICONV) \
++ @LAPACK_LIBS@ \
+ util/libsphinxutil.la \
+ fe/libsphinxfe.la \
+ feat/libsphinxfeat.la \
diff --git a/app-accessibility/sphinxbase/metadata.xml b/app-accessibility/sphinxbase/metadata.xml
new file mode 100644
index 000000000000..c381beacd5fe
--- /dev/null
+++ b/app-accessibility/sphinxbase/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">cmusphinx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/sphinxbase/sphinxbase-0.8.ebuild b/app-accessibility/sphinxbase/sphinxbase-0.8.ebuild
new file mode 100644
index 000000000000..b52de17feda6
--- /dev/null
+++ b/app-accessibility/sphinxbase/sphinxbase-0.8.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils distutils-r1
+
+DESCRIPTION="Support library required by the Sphinx Speech Recognition Engine"
+HOMEPAGE="http://cmusphinx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
+
+LICENSE="BSD-2 HPND MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc lapack python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# automagic dep on pulseaudio
+RDEPEND="
+ media-sound/pulseaudio
+ lapack? ( virtual/lapack )
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.4.7 )"
+
+# Due to generated Python setup.py.
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+PATCHES=(
+ "${FILESDIR}"/${P}-unbundle-lapack.patch
+ "${FILESDIR}"/${P}-automake113.patch
+)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with lapack)
+ $(use_enable doc)
+ # python modules are built through distutils
+ # so disable the ugly wrapper
+ --without-python
+ )
+ autotools-utils_src_configure
+}
+
+run_distutils() {
+ if use python; then
+ pushd python > /dev/null || die
+ distutils-r1_"${@}"
+ popd > /dev/null || die
+ fi
+}
+
+src_compile() {
+ autotools-utils_src_compile
+
+ run_distutils ${FUNCNAME}
+}
+
+python_test() {
+ LD_LIBRARY_PATH="${S}"/src/lib${PN}/.libs \
+ "${PYTHON}" sb_test.py || die "Tests fail with ${EPYTHON}"
+}
+
+src_test() {
+ autotools-utils_src_test
+
+ run_distutils ${FUNCNAME}
+}
+
+src_install() {
+ run_distutils ${FUNCNAME}
+
+ use doc && local HTML_DOCS=( doc/html/. )
+ autotools-utils_src_install
+}
diff --git a/app-accessibility/yasr/Manifest b/app-accessibility/yasr/Manifest
new file mode 100644
index 000000000000..e005cc0f2c78
--- /dev/null
+++ b/app-accessibility/yasr/Manifest
@@ -0,0 +1,9 @@
+AUX yasr-0.6.9-automake113.patch 421 SHA256 cb3a59125436792546ee171f36ce78d39471d6eb6d3983ff39292765702f1f6c SHA512 dd7ed04dd5706819f0abafe6d96ef1beffa2e9161b2b395cff8c0c3a8394f56edd9e41043494cfc245cb643ec69f2fcb016b2ff34e0e487f661754f1815dd600 WHIRLPOOL 1a862428db1e8c1765ee960c6a4e3c7a858d1920b56d23874f247ebe6f5825bd5de6d5b24e9c0ff89866e3dd659e66ee225f50575f0c499b21cb75a201e1c50c
+AUX yasr-0.6.9-gcc43.patch 987 SHA256 6ec4991154946e011daded5db791414f7a47bc3e67af742716de57be070801ed SHA512 9511d50b550939fb36bb3311fe0cafeb9a62a1ad55748c46ee9af5fb6ef9e510252588fd25bac600ac88badfd38518b43f0f8cc532759bd5e0bfff20ac8f9990 WHIRLPOOL 78bd35911f0b6dfe60aaed084915fd456130bd1a8eba3c8d571c92099d46f9b28206bf090f3ff4c4c8c2aabe85201f0d687a6f5c7fdf4b8f8262bdf25f3b7ab8
+AUX yasr-0.6.9-gettext018.patch 283 SHA256 3779a7acd810600217c5f866d6e23d0dd4ebbbf998be8dd270a5a645dcdc9e1a SHA512 214b709bd69127dbb3559d97e09ff40c55d65374ebda22a4e2b7791c0589df39f9bf0413b4690ac3350bf46a2440e5954fdedb99d6e071701e26fee97f5b0778 WHIRLPOOL 9c834d68d912fd9cd4f7419d7fe668ff1f699dc725f1db997c8afcc62aec5d03ceb2743529954996bc419996173e5c012e389f43a07b848d4f6754ae205e4cc4
+AUX yasr-0.6.9-remove-m4.patch 728 SHA256 0ec9ba59e5def3ac84c461c60891218aab9efe77d2c374c2c8034d995187df07 SHA512 f2ee9f752cd177cf9ce919044b8128e6293ac87a955f2f974f76a828b32b4531fdd3ea0cad0d4513c74c9d44ee0589ca0663d15d8b67bad7fe874f19c1ef4c0d WHIRLPOOL b2ea09770f90b5186ed97f7b693309a7336541628e903fc2dc3097d7bf0048981e66b5e5b55f64ba0e4a6be1faed349d294c5ea07f85bb92bdf36d0a293a72bb
+DIST yasr-0.6.9.tar.gz 235768 SHA256 41f17cfab8e88824a8dc1476602a0944b9030a8f8da2538a7a6549e3534e3bdf SHA512 107af558fce20bd79b81d68915032e511aa44df33a37b82ee2e82fb0d60ee14759d9b4dfe8634fdf1926c8b5c57e89aad1966e2dba243b725e72f783fe123df4 WHIRLPOOL f8db1799ab82f6373750b1e72486fd995e33da0d55e866dbc9df4fc475588e82f04015a1668ccaad4c6b3c664bf155420a37ab4ecc8b48fa1419010689f57e2c
+EBUILD yasr-0.6.9-r1.ebuild 1270 SHA256 7c5b0d85c6ec3826d03072418aab37a49b020f25088fdd6a509f0c3df32e622d SHA512 9ba6ebf087640d40eb4268b625e0cd626fd954f208dfa306a92c59023786fafc868b9982c8440460a901b94181d65f139e41ecbdac7505a4d52e3a2f08cddb13 WHIRLPOOL f29f93e855adad1602038b60ef9d86aaacdee3682004b3515b022b5cf907f3c254c25d47a398c9357eb5ff10d68e897be9d1f75f5d4c99f0358057188091e97a
+MISC ChangeLog 2576 SHA256 9121a48ce5e5dcfdb58c1281da4ae13a9faa06ac3591b9b841440c2c4a86e997 SHA512 b47c7652eb64a8e6481bcff0854c055283c350d50c8c0e186ce68bd1c9fe8b76b9cb4323a9afa7fc4a7404e4594f42db592562e4745fa6a5bb55efc6a31a3481 WHIRLPOOL 7e4f04469b70648d8ffde364a21536e2490e9a534b4beeedee671ac5168fb61a2958c7f7c1b6b78dbf898ef70664c7c8bb062237f570c75fd842d72403ad2677
+MISC ChangeLog-2015 4034 SHA256 844a4a6a67cbbf02dbf7f917554f19d290a7c8d46ec68061fdf8790860006d46 SHA512 b16759a666cb37bfcb3eb4a0ce89b4634e3ff89f00e6b6c9cf2c0f6cc62860ca9b8436e1553eb310ae877bd153a955e131d8ab5981f5924b45dce37e178e4f96 WHIRLPOOL 7d0d5eca3707c6b0e0ada28f1ecba924c155e977ae41134197b22b24ad2030b32669cbe0421a0503e97b8910fa28a24266823a957ff53808b593eedd81146914
+MISC metadata.xml 343 SHA256 23d24b36e015f3373b8fef8cd5dd57c9e8ffe77a1ce63fa10cefd8cfad547b0b SHA512 ec1a6eb820455bbb6d1dca0aba4e60e1e47e91725ea2091480f96a52cc98b1779b0c6bd2927142bc9bed45a45d51de22c84626531ee287303fce14ff9bd1a8f0 WHIRLPOOL 531b47320a71b45b9236758161350b00a2dfe7b08311c599fa9fe1db4b9cd812666f275bdf33abafd3854677da0cf1f62345af64e11566837de2b3f965e12e55
diff --git a/app-accessibility/yasr/files/yasr-0.6.9-automake113.patch b/app-accessibility/yasr/files/yasr-0.6.9-automake113.patch
new file mode 100644
index 000000000000..2fbc32c2e986
--- /dev/null
+++ b/app-accessibility/yasr/files/yasr-0.6.9-automake113.patch
@@ -0,0 +1,17 @@
+diff --git a/configure.in b/configure.in
+index d78e8b2..15e8666 100644
+--- a/configure.in
++++ b/configure.in
+@@ -2,11 +2,10 @@ dnl Process this file with autoconf to produce a configure script.
+
+ AC_INIT(yasr, 0.6.9, mgorse@alum.wpi.edu)
+ AM_INIT_AUTOMAKE()
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ AC_ISC_POSIX
+ AC_PROG_CC
+-AM_PROG_CC_STDC
+ AC_HEADER_STDC
+ AC_PROG_INSTALL
+ dnl Checks for libraries.
diff --git a/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch b/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch
new file mode 100644
index 000000000000..ee2b1a6ef7bd
--- /dev/null
+++ b/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch
@@ -0,0 +1,26 @@
+diff -NrU5 yasr-0.6.9.orig/yasr/yasr.h yasr-0.6.9/yasr/yasr.h
+--- yasr-0.6.9.orig/yasr/yasr.h 2008-06-29 01:23:44.000000000 +0200
++++ yasr-0.6.9/yasr/yasr.h 2008-06-29 01:37:00.000000000 +0200
+@@ -306,22 +306,10 @@
+ extern void opt_say(int num, int flag);
+ extern void opt_set(int num, void *val);
+ extern void opt_queue_empty(int ll);
+ extern void opt_write(FILE * fp);
+
+-/* openpty.c prototypes */
+-extern int openpty(int *, int *, char *, struct termios *, struct winsize *);
+-
+-/* cfmakeraw.c prototypes */
+-extern void cfmakeraw(struct termios *);
+-
+-/* login_tty.c prototypes */
+-extern int login_tty(int);
+-
+-/* forkpty.c prototypes */
+-extern int forkpty(int *, char *, struct termios *, struct winsize *);
+-
+ /* tbc - Would it be more efficient to ensure that "blank" grids always held
+ ascii 0x20 rather than ascii 0x00? */
+ #define y_isblank(ch) ((ch & 0xdf) == 0)
+ #define cblank(r, c) ((win->row[r][c] & 0xdf) == 0)
+ #define ttssend(x) if (x) tts_send(x, strlen(x))
diff --git a/app-accessibility/yasr/files/yasr-0.6.9-gettext018.patch b/app-accessibility/yasr/files/yasr-0.6.9-gettext018.patch
new file mode 100644
index 000000000000..26337dbc6735
--- /dev/null
+++ b/app-accessibility/yasr/files/yasr-0.6.9-gettext018.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.in b/configure.in
+index c26f577..d78e8b2 100644
+--- a/configure.in
++++ b/configure.in
+@@ -57,7 +57,7 @@ fi
+ changequote([,])dnl
+
+ AM_GNU_GETTEXT(external)
+-AM_GNU_GETTEXT_VERSION([0.17])
++AM_GNU_GETTEXT_VERSION([0.18.1])
+
+ AC_OUTPUT([ m4/Makefile
+ Makefile
diff --git a/app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch b/app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch
new file mode 100644
index 000000000000..fa05f0791fc2
--- /dev/null
+++ b/app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch
@@ -0,0 +1,29 @@
+diff -Naur yasr-0.6.9.orig/Makefile.am yasr-0.6.9/Makefile.am
+--- yasr-0.6.9.orig/Makefile.am 2008-02-02 06:44:05.000000000 -0600
++++ yasr-0.6.9/Makefile.am 2009-02-06 08:37:07.000000000 -0600
+@@ -7,7 +7,6 @@
+
+ SUBDIRS = \
+ $(yasr_DDIRS) \
+-m4 \
+ po
+
+ pkgdata_DATA = \
+@@ -25,4 +24,3 @@
+ README-fr \
+ README-ru
+
+-ACLOCAL_AMFLAGS = -I m4
+diff -Naur yasr-0.6.9.orig/configure.in yasr-0.6.9/configure.in
+--- yasr-0.6.9.orig/configure.in 2008-02-02 07:09:04.000000000 -0600
++++ yasr-0.6.9/configure.in 2009-02-06 08:36:43.000000000 -0600
+@@ -59,8 +59,7 @@
+ AM_GNU_GETTEXT(external)
+ AM_GNU_GETTEXT_VERSION([0.17])
+
+-AC_OUTPUT([ m4/Makefile
+-Makefile
++AC_OUTPUT([ Makefile
+ yasr/Makefile
+ acclogin/Makefile
+ po/Makefile.in
diff --git a/app-accessibility/yasr/metadata.xml b/app-accessibility/yasr/metadata.xml
new file mode 100644
index 000000000000..57bad5623af8
--- /dev/null
+++ b/app-accessibility/yasr/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">yasr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
new file mode 100644
index 000000000000..2bf8a4603be6
--- /dev/null
+++ b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="general-purpose console screen reader"
+HOMEPAGE="http://yasr.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls"
+
+RDEPEND=""
+DEPEND="nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ local x=/usr/share/gettext/po/Makefile.in.in
+ [[ -e $x ]] && cp -f $x po/ #330879
+
+ epatch "${FILESDIR}"/${P}-automake113.patch \
+ "${FILESDIR}"/${P}-gettext018.patch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-remove-m4.patch
+
+ rm -r "${S}"/m4
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --datadir=/etc \
+ --disable-dependency-tracking \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README ChangeLog AUTHORS BUGS CREDITS
+ dosed \
+ 's:^\(synthesizer=emacspeak server\):#\1:
+ s:^\(synthesizer port=|/usr/local/bin/eflite\):#\1:
+ s:^#\(synthesizer=speech dispatcher\):\1:
+ s:^#\(synthesizer port=127.0.0.1.6560\):\1:' /etc/yasr/yasr.conf
+}
+
+pkg_postinst() {
+ elog
+ elog "Speech-dispatcher is configured as the default synthesizer for yasr."
+ elog "If this is not what you want, edit /etc/yasr/yasr.conf."
+}