diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-18 07:01:13 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-18 07:01:13 +0000 |
commit | b992c3888cd5be32b10bb9a4fca83b6cd55d59da (patch) | |
tree | 28e7f81c2b940b36ec73c0b3fc864ff970da31d8 /audio/gnomespeech | |
parent | Update to GNOME 2.4.0. (diff) |
Add gnomespeech, a library that facilitates text-to-speech for the GNOME
desktop.
Notes
Notes:
svn path=/head/; revision=89033
Diffstat (limited to 'audio/gnomespeech')
-rw-r--r-- | audio/gnomespeech/Makefile | 39 | ||||
-rw-r--r-- | audio/gnomespeech/distinfo | 1 | ||||
-rw-r--r-- | audio/gnomespeech/files/patch-ltmain.sh | 51 | ||||
-rw-r--r-- | audio/gnomespeech/pkg-descr | 1 | ||||
-rw-r--r-- | audio/gnomespeech/pkg-plist | 18 |
5 files changed, 110 insertions, 0 deletions
diff --git a/audio/gnomespeech/Makefile b/audio/gnomespeech/Makefile new file mode 100644 index 000000000000..c1ccecaaf3e8 --- /dev/null +++ b/audio/gnomespeech/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: gnomespeech +# Date created: 11 May 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnomespeech +PORTVERSION= 0.2.7 +CATEGORIES= audio gnome accessibility +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-speech/0.2 +DISTNAME= gnome-speech-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME text-to-speech API + +USE_BZIP2= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GNOME= gnomehack libbonobo +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --enable-static +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/festival) +WITH_FESTIVAL= yes +.endif + +.if defined(WITH_FESTIVAL) +RUN_DEPENDS= festival:${PORTSDIR}/audio/festival +.endif + +.include <bsd.port.post.mk> diff --git a/audio/gnomespeech/distinfo b/audio/gnomespeech/distinfo new file mode 100644 index 000000000000..58626bf0ec76 --- /dev/null +++ b/audio/gnomespeech/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/gnome-speech-0.2.7.tar.bz2) = 63669571096af17e495abbde890d19c6 diff --git a/audio/gnomespeech/files/patch-ltmain.sh b/audio/gnomespeech/files/patch-ltmain.sh new file mode 100644 index 000000000000..be26a38ade1b --- /dev/null +++ b/audio/gnomespeech/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Fri May 2 16:51:22 2003 ++++ ltmain.sh Tue May 20 15:31:37 2003 +@@ -1277,7 +1277,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1287,8 +1287,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2997,6 +3005,9 @@ + # problems, so we reset it completely + verstring= + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -5425,10 +5436,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/audio/gnomespeech/pkg-descr b/audio/gnomespeech/pkg-descr new file mode 100644 index 000000000000..bab24f6015fd --- /dev/null +++ b/audio/gnomespeech/pkg-descr @@ -0,0 +1 @@ +GNOME Speech is a simple general API for producing text-to-speech output. diff --git a/audio/gnomespeech/pkg-plist b/audio/gnomespeech/pkg-plist new file mode 100644 index 000000000000..65ebac9bf8a3 --- /dev/null +++ b/audio/gnomespeech/pkg-plist @@ -0,0 +1,18 @@ +bin/festival-synthesis-driver +bin/test-speech +include/gnome-speech-1.0/gnome-speech/GNOME_Speech.h +include/gnome-speech-1.0/gnome-speech/gnome-speech.h +include/gnome-speech-1.0/gnome-speech/speaker.h +lib/libgnomespeech.a +lib/libgnomespeech.so +lib/libgnomespeech.so.6 +lib/orbit-2.0/GNOME_Speech_module.so +libdata/bonobo/servers/GNOME_Speech_SynthesisDriver_Festival.server +libdata/pkgconfig/gnome-speech-1.0.pc +share/idl/gnome-speech-1.0/GNOME_Speech.idl +share/idl/gnome-speech-1.0/GNOME_Speech_Speaker.idl +share/idl/gnome-speech-1.0/GNOME_Speech_SpeechCallback.idl +share/idl/gnome-speech-1.0/GNOME_Speech_SynthesisDriver.idl +@dirrm share/idl/gnome-speech-1.0 +@dirrm include/gnome-speech-1.0/gnome-speech +@dirrm include/gnome-speech-1.0 |