Merge bk://openembedded@openembedded.bkbits.net/packages
authorRene Wagner <rw@handhelds.org>
Mon, 4 Oct 2004 21:33:28 +0000 (21:33 +0000)
committerRene Wagner <rw@handhelds.org>
Mon, 4 Oct 2004 21:33:28 +0000 (21:33 +0000)
into sugarcube.dyndns.org:/home2/oe/oe/packages

2004/10/04 23:33:17+02:00 dyndns.org!reenoo
flite: fix compiler errors and split into several packages

BKrev: 4161c1a8lcmo-HHYycAEWe7gC-WkBg

flite/flite-1.2/fix-read-only-assignments.patch [new file with mode: 0644]
flite/flite_1.2.oe

diff --git a/flite/flite-1.2/fix-read-only-assignments.patch b/flite/flite-1.2/fix-read-only-assignments.patch
new file mode 100644 (file)
index 0000000..e69de29
index a62986c..d49a446 100644 (file)
@@ -2,13 +2,30 @@ HOMEPAGE = "http://fife.speech.cs.cmu.edu/flite/"
 DESCRIPTION = "festival light speech synthesizer"
 PRIORITY = "optional"
 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+PR = "r1"
 
-SRC_URI = "http://www.speech.cs.cmu.edu/flite/packed/flite-${PV}/flite-${PV}-release.tar.bz2"
+SRC_URI = "http://www.speech.cs.cmu.edu/flite/packed/flite-${PV}/flite-${PV}-release.tar.bz2 \
+           file://fix-read-only-assignments.patch;patch=1"
 S = "${WORKDIR}/flite-${PV}-release"
 
 inherit autotools 
 
-EXTRA_OECONF = "--enable-shared"
+EXTRA_OECONF = "--with-audio=oss --enable-shared"
+
+PACKAGES += "lib${PN} lib${PN}-vox8 lib${PN}-vox16"
+
+FILES_${PN} = "${bindir}"
+
+FILES_lib${PN} ="${libdir}/libflite.so.* \
+                 ${libdir}/libflite_cmu_time_awb.so.* \
+                ${libdir}/libflite_cmulex.so.* \
+                ${libdir}/libflite_usenglish.so.*"
+
+FILES_lib${PN}-vox8 = "${libdir}/libflite_cmu_us_kal.so.*"
+
+FILES_lib${PN}-vox16 = "${libdir}/libflite_cmu_us_kal16.so.*"
+
+LEAD_SONAME = "libflite.so"
 
 do_install() {
         oe_runmake INSTALLBINDIR="${D}${bindir}" INSTALLLIBDIR="${D}${libdir}" INSTALLINCDIR="${D}${includedir}" install