mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
espeak: builds on x86_64 now (#1051)
This commit is contained in:
committed by
Jérôme Duval
parent
2901c1e1cd
commit
15acb181d3
@@ -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
|
||||
@@ -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 \
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user