mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libvisio: add boost constrains
This commit is contained in:
@@ -1,92 +0,0 @@
|
||||
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/"
|
||||
COPYRIGHT="2011 Fridrich Strba
|
||||
2011 Eilidh McAdam"
|
||||
LICENSE="GNU GPL v2
|
||||
GNU LGPL v2.1
|
||||
MPL v1.1"
|
||||
REVISION="3"
|
||||
SOURCE_URI="http://dev-www.libreoffice.org/src/libvisio-0.0.31.tar.gz"
|
||||
CHECKSUM_SHA256="4805b530eb79a9817d5daa3f069ef24959f439c0c0c80f12d30f9bc67b00cf90"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
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
|
||||
lib:libicudata$secondaryArchSuffix
|
||||
lib:libicui18n$secondaryArchSuffix
|
||||
lib:libicuuc$secondaryArchSuffix
|
||||
lib:libwpd_0.9$secondaryArchSuffix
|
||||
lib:libwpg_0.2$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libvisio${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libvisio_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
$portName$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
boost${secondaryArchSuffix}_devel >= 1.36
|
||||
devel:libicudata$secondaryArchSuffix
|
||||
devel:libicui18n$secondaryArchSuffix
|
||||
devel:libicuuc$secondaryArchSuffix
|
||||
devel:libwpd_0.9$secondaryArchSuffix
|
||||
devel:libwpg_0.2$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
pkgconfig$secondaryArchSuffix >= 0.27
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gperf
|
||||
cmd:icu_config$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
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
|
||||
}
|
||||
@@ -7,13 +7,15 @@ COPYRIGHT="Fridrich Strba
|
||||
Eilidh McAdam
|
||||
David Tardon"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://dev-www.libreoffice.org/src/libvisio/libvisio-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
boostMinimumVersion=1.65.1
|
||||
|
||||
PROVIDES="
|
||||
libvisio$secondaryArchSuffix = $portVersion
|
||||
cmd:vsd2raw$secondaryArchSuffix
|
||||
@@ -26,7 +28,7 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libboost_system$secondaryArchSuffix
|
||||
lib:libboost_system$secondaryArchSuffix >= $boostMinimumVersion
|
||||
lib:libicudata$secondaryArchSuffix
|
||||
lib:libicui18n$secondaryArchSuffix
|
||||
lib:libicuuc$secondaryArchSuffix
|
||||
@@ -49,7 +51,7 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:libboost_system$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libcppunit$secondaryArchSuffix
|
||||
devel:libicudata$secondaryArchSuffix
|
||||
devel:libicui18n$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user