Skip to content

Commit

Permalink
espeak: builds on x86_64 now (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanie-fu authored and korli committed Jan 16, 2017
1 parent 2901c1e commit 15acb18
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions app-accessibility/espeak/espeak-1.48.04.recipe
Expand Up @@ -10,13 +10,13 @@ which are based on human speech recordings."
HOMEPAGE="http://espeak.sourceforge.net/"
COPYRIGHT="2005-2014 Jonathan Duddington"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/espeak-1.48.04-source.zip"
CHECKSUM_SHA256="bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659"
SOURCE_DIR="espeak-${portVersion}-source"
PATCHES="espeak-1.48.04.patch"

ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"

PROVIDES="
espeak = $portVersion
Expand All @@ -39,7 +39,13 @@ BUILD_PREREQUIRES="
BUILD()
{
cd src
make LIB_STDCPP=-lstdc++.r4 \

STDCPPLIBS=-lstdc++
if [ "$targetArchitecture" = x86_gcc2 ]; then
STDCPPLIBS=-lstdc++.r4
fi

make LIB_STDCPP=$STDCPPLIBS \
AUDIO=wave LIB_PTHREAD= \
VISIBILITY_FLAG= \
PREFIX=$prefix \
Expand All @@ -50,7 +56,7 @@ BUILD()
INSTALL()
{
cd src
make LIB_STDCPP=-lstdc++.r4 \
make LIB_STDCPP=$STDCPPLIBS \
AUDIO=wave LIB_PTHREAD= \
VISIBILITY_FLAG= \
PREFIX=$prefix \
Expand Down

0 comments on commit 15acb18

Please sign in to comment.