diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-accessibility/sphinx2 |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-accessibility/sphinx2')
-rw-r--r-- | app-accessibility/sphinx2/Manifest | 6 | ||||
-rw-r--r-- | app-accessibility/sphinx2/files/sphinx2-0.6-as-needed.patch | 25 | ||||
-rw-r--r-- | app-accessibility/sphinx2/metadata.xml | 15 | ||||
-rw-r--r-- | app-accessibility/sphinx2/sphinx2-0.6.ebuild | 29 |
4 files changed, 75 insertions, 0 deletions
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 +} |