From dfba0b85cf7bede6ab7a763bcbc78fee4cd6af7d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Dec 2014 16:55:23 +0100 Subject: [PATCH] espeak: enable pulseaudio support; build with our CXXFLAGS. --- srcpkgs/espeak/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/espeak/template b/srcpkgs/espeak/template index f87762345a..02aa18679b 100644 --- a/srcpkgs/espeak/template +++ b/srcpkgs/espeak/template @@ -1,21 +1,25 @@ # Template file for 'espeak' pkgname="espeak" version="1.48.04" -revision=1 +revision=2 short_desc="Text to Speech engine" maintainer="Martin Riese " license="GPL-3" homepage="http://espeak.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-source.zip" hostmakedepends="unzip" -makedepends="portaudio-devel" -wrksrc="${pkgname}-${version}-source/src" +makedepends="pulseaudio-devel portaudio-devel" +wrksrc="${pkgname}-${version}-source" +build_wrksrc="src" checksum="bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659" build_style="gnu-makefile" pre_configure() { cp portaudio19.h portaudio.h } +do_build() { + make CXX=$CXX CXXFLAGS="$CXXFLAGS" AUDIO=runtime +} libespeak_package() { shorst_desc+=" - runtime libraries"