mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
102 lines
2.5 KiB
Plaintext
102 lines
2.5 KiB
Plaintext
SUMMARY="A library providing ability to interpret and import visio diagrams"
|
|
DESCRIPTION="
|
|
Libvisio is library providing ability to interpret and import visio \
|
|
diagrams into various applications. You can find it being used in \
|
|
libreoffice.
|
|
"
|
|
HOMEPAGE="http://www.freedesktop.org/wiki/Software/libvisio/"
|
|
SRC_URI="http://dev-www.libreoffice.org/src/libvisio-0.0.31.tar.gz"
|
|
LICENSE="
|
|
GNU GPL v2
|
|
GNU LGPL v2.1
|
|
MPL v1.1
|
|
"
|
|
COPYRIGHT="
|
|
2011 Fridrich Strba
|
|
2011 Eilidh McAdam
|
|
"
|
|
REVISION="2"
|
|
CHECKSUM_SHA256="4805b530eb79a9817d5daa3f069ef24959f439c0c0c80f12d30f9bc67b00cf90"
|
|
|
|
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"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
$portName$secondaryArchSuffix = $portVersion
|
|
cmd:vsd2raw$secondaryArchSuffix
|
|
cmd:vsd2text$secondaryArchSuffix
|
|
cmd:vsd2xhtml$secondaryArchSuffix
|
|
cmd:vss2raw$secondaryArchSuffix
|
|
cmd:vss2text$secondaryArchSuffix
|
|
cmd:vss2xhtml$secondaryArchSuffix
|
|
lib:libvisio_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libicui18n$secondaryArchSuffix
|
|
lib:libicuuc$secondaryArchSuffix
|
|
lib:libicudata$secondaryArchSuffix
|
|
lib:libwpd_0.9$secondaryArchSuffix
|
|
lib:libwpg_0.2$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
boost_devel$secondaryArchSuffix >= 1.36
|
|
devel:libicui18n$secondaryArchSuffix
|
|
devel:libicuuc$secondaryArchSuffix
|
|
devel:libicudata$secondaryArchSuffix
|
|
devel:libwpd_0.9$secondaryArchSuffix
|
|
devel:libwpg_0.2$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
pkgconfig$secondaryArchSuffix >= 0.27
|
|
cmd:aclocal
|
|
cmd:libtoolize
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:gperf
|
|
cmd:icu_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libvisio-0.0
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
libvisio${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libvisio_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
$portName$secondaryArchSuffix == $portVersion base
|
|
"
|