mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
djvulibre: enable gcc2 support
This commit is contained in:
@@ -1,24 +1,17 @@
|
||||
SUMMARY="Web-centric format for distributing documents and images"
|
||||
DESCRIPTION="
|
||||
DjVu is a web-centric format and software platform for distributing documents \
|
||||
and images.
|
||||
"
|
||||
and images."
|
||||
HOMEPAGE="http://djvulibre.sourceforge.net/"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2002 Leon Bottou and Yann Le Cun.
|
||||
2001 AT&T
|
||||
COPYRIGHT="2002 Leon Bottou and Yann Le Cun.
|
||||
2001 AT&T
|
||||
1999-2001 LizardTech, Inc."
|
||||
SRC_URI="http://downloads.sourceforge.net/project/djvu/DjVuLibre/3.5.25/djvulibre-3.5.25.2.tar.gz"
|
||||
CHECKSUM_SHA256="619becf24cf2b9289d5102a19bb81424f68008f90ded841085f07c32e5d48158"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -48,18 +41,22 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
lib:libgcc_s$secondaryArchSuffix
|
||||
lib:libtiff$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
REQUIRES+="
|
||||
lib:libgcc_s$secondaryArchSuffix
|
||||
lib:libsupc++$secondaryArchSuffix
|
||||
"
|
||||
# haiku_x86 doesn't claim to provide lib:libtiff_x86 on gcc2 builds
|
||||
if [ "$targetArchitecture" != x86_gcc2 ];then
|
||||
REQUIRES="$REQUIRES lib:libtiff$secondaryArchSuffix"
|
||||
fi
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
#needs devel:libtiff too but that isn't provided by anything
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
@@ -82,7 +79,7 @@ REQUIRES_devel="
|
||||
|
||||
SOURCE_DIR="djvulibre-3.5.25"
|
||||
|
||||
PATCHES="djvulibre-3.5.25.patch"
|
||||
PATCHES="djvulibre-3.5.25.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user