mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
99 lines
2.6 KiB
Bash
99 lines
2.6 KiB
Bash
SUMMARY="Microsoft Visio import library"
|
|
DESCRIPTION="Libvisio is library providing ability to interpret and import \
|
|
Visio diagrams into various applications. You can find it being used in \
|
|
LibreOffice."
|
|
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
|
|
COPYRIGHT="Fridrich Strba
|
|
Eilidh McAdam
|
|
David Tardon"
|
|
LICENSE="MPL v2.0"
|
|
REVISION="3"
|
|
SOURCE_URI="http://dev-www.libreoffice.org/src/libvisio/libvisio-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libvisio$secondaryArchSuffix = $portVersion
|
|
cmd:vsd2raw$secondaryArchSuffix
|
|
cmd:vsd2text$secondaryArchSuffix
|
|
cmd:vsd2xhtml$secondaryArchSuffix
|
|
cmd:vss2raw$secondaryArchSuffix
|
|
cmd:vss2text$secondaryArchSuffix
|
|
cmd:vss2xhtml$secondaryArchSuffix
|
|
lib:libvisio_0.1$secondaryArchSuffix = 1.0.7 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libboost_system$secondaryArchSuffix
|
|
lib:libicudata$secondaryArchSuffix >= 66
|
|
lib:libicui18n$secondaryArchSuffix >= 66
|
|
lib:libicuuc$secondaryArchSuffix >= 66
|
|
lib:librevenge_0.0$secondaryArchSuffix
|
|
lib:librevenge_generators_0.0$secondaryArchSuffix
|
|
lib:librevenge_stream_0.0$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libvisio${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libvisio_0.1$secondaryArchSuffix = 1.0.7 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libvisio$secondaryArchSuffix == $portVersion base
|
|
devel:libicui18n$secondaryArchSuffix >= 66
|
|
devel:libxml2$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix >= 1.65.0
|
|
devel:libcppunit$secondaryArchSuffix
|
|
devel:libicudata$secondaryArchSuffix
|
|
devel:libicui18n$secondaryArchSuffix
|
|
devel:libicuuc$secondaryArchSuffix
|
|
devel:librevenge_0.0$secondaryArchSuffix
|
|
devel:librevenge_generators_0.0$secondaryArchSuffix
|
|
devel:librevenge_stream_0.0$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gperf
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoheader
|
|
automake -a -c --foreign
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libvisio-0.1.la
|
|
|
|
prepareInstalledDevelLibs libvisio-0.1
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|