summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-21 19:28:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-21 19:28:37 +0000
commit6e0133dc00f0095842a31d43bd528b6537ddba57 (patch)
tree5c20aa3988fcc1150ec951613ebc1a4d2b6a2498 /app-accessibility/sphinx2
parentInstall documentation. (diff)
downloadhistorical-6e0133dc00f0095842a31d43bd528b6537ddba57.tar.gz
historical-6e0133dc00f0095842a31d43bd528b6537ddba57.tar.bz2
historical-6e0133dc00f0095842a31d43bd528b6537ddba57.zip
Fix USE static abuse and remove unused patch.
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'app-accessibility/sphinx2')
-rw-r--r--app-accessibility/sphinx2/Manifest3
-rw-r--r--app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch14
-rw-r--r--app-accessibility/sphinx2/sphinx2-0.6.ebuild12
3 files changed, 4 insertions, 25 deletions
diff --git a/app-accessibility/sphinx2/Manifest b/app-accessibility/sphinx2/Manifest
index 126afe47e4b7..035db5d2e0f7 100644
--- a/app-accessibility/sphinx2/Manifest
+++ b/app-accessibility/sphinx2/Manifest
@@ -1,5 +1,4 @@
-AUX sphinx2-gcc3.4.patch 892 RMD160 ed847f3f6bcd11dafe0da7b5f8eb615bc10e100a SHA1 d6c98b39a2e99876760bfc52212340831634df63 SHA256 c2be69ea6194fd19347382c3d4d8597b4423ee229e29bd3dc0649bdd08975b2e
DIST sphinx2-0.6.tar.gz 6883359 RMD160 7258a341d8ba26005a33c493bcf25b1f8dcf51ba SHA1 691d4e140869492e9c0b14f0f61ddfd32df12175 SHA256 af533d804906706eaeb80170b4222b293ed914b0b95b473334b5d2dba4bb0b65
-EBUILD sphinx2-0.6.ebuild 779 RMD160 166df863d727f280185b593cff60ec6a0fcac097 SHA1 c01db8edb8ce6a041260cadbf989104d3369389c SHA256 c9e8d4bb7e87f572503b9bbce6ec56706075ae1fcf03e4bdc96b22566fc3272d
+EBUILD sphinx2-0.6.ebuild 729 RMD160 b8efa85922ddc2aaf905cafb0053b5f5f1e98e59 SHA1 2fa86224ab2f280fdc236929c2c5f2ce93cb5bca SHA256 d43a18fc4017d79e9d071e9a811adb8099f47906b41c1225ca873ff6aa518db9
MISC ChangeLog 2379 RMD160 a4ba77446319832791a6fc647f9b580b29c12ed5 SHA1 d80eaf232349c1b26ea584166e2fcf8158eff8fe SHA256 c9f44c897725fd12cf0db221235d359dc021fb60d6474b699bcec3885316287f
MISC metadata.xml 185 RMD160 75382db82e4c69d70f2d53f63363adec302720e5 SHA1 90563c269eff265fbd369095c606bc383cc07232 SHA256 b6de40518e01d3ef5447352b3f476c1f5b8e6ae53d5e654a2fb9e4ee7fdbe135
diff --git a/app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch b/app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch
deleted file mode 100644
index 59ddace28b4c..000000000000
--- a/app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur sphinx2-0.4.vanilla/src/libsphinx2/cdcn_update.c sphinx2-0.4/src/libsphinx2/cdcn_update.c
---- sphinx2-0.4.vanilla/src/libsphinx2/cdcn_update.c 2001-12-13 21:11:20.000000000 +0000
-+++ sphinx2-0.4/src/libsphinx2/cdcn_update.c 2004-04-29 21:25:43.572307112 +0000
-@@ -57,8 +57,8 @@
- float *noise, *tilt, *codebook, *prob, *variance, *corrbook;
- int num_codes;
- /* Multidimensional arrays, gar gar gar */
-- static float initialize (float *, int, float *, float *, float,
-- float *, float *, float *, int);
-+ static float initialize (float data[][], int num_frames, float *noise, float tilt[], float speech_threshold,
-+ float codebook[][], float *prob, float var[][], int ncodes);
- static void correction(float *, float *, float *, float *, int);
- static float max_q (float *, float *, float *, float *, float *,
- float *, int, float *, int);
diff --git a/app-accessibility/sphinx2/sphinx2-0.6.ebuild b/app-accessibility/sphinx2/sphinx2-0.6.ebuild
index 9cf032ecc5cc..8ccfcb013fd1 100644
--- a/app-accessibility/sphinx2/sphinx2-0.6.ebuild
+++ b/app-accessibility/sphinx2/sphinx2-0.6.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx2/sphinx2-0.6.ebuild,v 1.5 2009/04/01 17:52:38 williamh Exp $
-
-IUSE="static"
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx2/sphinx2-0.6.ebuild,v 1.6 2009/08/21 19:28:36 ssuominen Exp $
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
@@ -14,14 +12,10 @@ SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
LICENSE="BSD as-is"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-
-src_compile() {
- econf $(use_enable static) || die
- emake || die
-}
+IUSE=""
src_install() {
- make DESTDIR="${D}" install || die
+ 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
}