[Midnightbsd-cvs] mports: mports/accessibility: Add gnome-speech.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Jan 1 15:51:05 EST 2008


Log Message:
-----------

Add gnome-speech.

Modified Files:
--------------
    mports/accessibility:
        Makefile (r1.8 -> r1.9)

Added Files:
-----------
    mports/accessibility/gnome-speech:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/accessibility/gnome-speech/files:
        patch-configure (r1.1)

-------------- next part --------------
--- /dev/null
+++ accessibility/gnome-speech/pkg-descr
@@ -0,0 +1,3 @@
+GNOME Speech is a simple general API for producing text-to-speech output.
+
+WWW: http://live.gnome.org/Orca/GnomeSpeech
--- /dev/null
+++ accessibility/gnome-speech/pkg-plist
@@ -0,0 +1,23 @@
+%%ESPEAK:%%bin/espeak-synthesis-driver
+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.la
+lib/libgnomespeech.so
+lib/libgnomespeech.so.7
+lib/orbit-2.0/GNOME_Speech_module.a
+lib/orbit-2.0/GNOME_Speech_module.la
+lib/orbit-2.0/GNOME_Speech_module.so
+%%ESPEAK:%%libdata/bonobo/servers/GNOME_Speech_SynthesisDriver_Espeak.server
+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
+ at dirrm share/idl/gnome-speech-1.0
+ at dirrm include/gnome-speech-1.0/gnome-speech
+ at dirrm include/gnome-speech-1.0
--- /dev/null
+++ accessibility/gnome-speech/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for:	gnomespeech
+# Date created:			11 May 2003
+# Whom:				Joe Marcus Clarke <marcus at FreeBSD.org>
+#
+# $MidnightBSD: mports/accessibility/gnome-speech/Makefile,v 1.1 2008/01/01 20:51:03 laffer1 Exp $
+# $FreeBSD: ports/accessibility/gnome-speech/Makefile,v 1.32 2007/07/30 04:29:12 mezz Exp $
+#   $MCom: ports/accessibility/gnome-speech/Makefile,v 1.21 2006/08/22 00:55:57 ahze Exp $
+#
+
+PORTNAME=	gnome-speech
+PORTVERSION=	0.4.16
+CATEGORIES=	accessibility audio gnome
+MASTER_SITES=	${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR=	gnome2
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	GNOME text-to-speech API
+LICENSE=	lgpl
+
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_GNOME=	gnomehack libbonobo
+GNU_CONFIGURE=  yes
+USE_LDCONFIG=	yes
+CONFIGURE_ARGS=	--enable-static
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libespeak.so)
+WITH_ESPEAK=	yes
+.endif
+
+.if exists(${LOCALBASE}/bin/festival)
+WITH_FESTIVAL=	yes
+.endif
+
+.if defined(WITH_ESPEAK)
+LIB_DEPENDS+=	espeak.1:${PORTSDIR}/audio/espeak
+CONFIGURE_ARGS+=--with-espeak-dir=${LOCALBASE}
+PLIST_SUB+=	ESPEAK:=""
+.else
+PLIST_SUB+=	ESPEAK:="@comment "
+.endif
+
+.if defined(WITH_FESTIVAL)
+RUN_DEPENDS+=	festival:${PORTSDIR}/audio/festival
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|== x|= x|g' \
+		${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ accessibility/gnome-speech/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-speech-0.4.16.tar.bz2) = 83f23b400c39c67567e3b4c4e88dbec4
+SHA256 (gnome2/gnome-speech-0.4.16.tar.bz2) = 8a0e52948f0fa45b3142a236a980d6dc7be9c0ceaa3d20ff3b3041c4258d96c9
+SIZE (gnome2/gnome-speech-0.4.16.tar.bz2) = 309022
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/accessibility/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -L accessibility/Makefile -L accessibility/Makefile -u -r1.8 -r1.9
--- accessibility/Makefile
+++ accessibility/Makefile
@@ -10,6 +10,7 @@
     SUBDIR += atk-reference
     SUBDIR += gail
     SUBDIR += gail-reference
+    SUBDIR += gnome-speech
     SUBDIR += kdeaccessibility
     SUBDIR += linux-atk
 
--- /dev/null
+++ accessibility/gnome-speech/files/patch-configure
@@ -0,0 +1,21 @@
+--- configure.orig	Tue Jun  7 02:40:27 2005
++++ configure	Tue Jun  7 02:41:02 2005
+@@ -20213,8 +20213,8 @@
+ 
+ fi
+ if test "x$JAVAC" != "x" ; then
+-  javac_version=`$JAVAC -version 2>&1 | sed -e "1s/javac //" -e "1q" `
+-  echo JAVAC VERSION $javac_version
++#  javac_version=`$JAVAC -version 2>&1 | sed -e "1s/javac //" -e "1q" `
++#  echo JAVAC VERSION $javac_version
+   JAVAC="$JAVAC -source 1.4"
+ fi
+ 
+@@ -20423,6 +20423,7 @@
+ fi
+ 
+ # Find the Java Access Bridge
++JAB="no"
+ 
+ 
+ # Check whether --with-jab_dir or --without-jab_dir was given.


More information about the Midnightbsd-cvs mailing list