mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
73 lines
1.6 KiB
Bash
73 lines
1.6 KiB
Bash
SUMMARY="A library to parse Matroska files"
|
|
DESCRIPTION="libmatroska is a C++ libary to parse Matroska files."
|
|
HOMEPAGE="https://www.matroska.org/"
|
|
COPYRIGHT="2003-2015 Matroska"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="http://dl.matroska.org/downloads/libmatroska/libmatroska-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="46441eb3bae9f970f68affaa211dd74302a7072dcd2becfb1114da11b66525fa"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
libmatroska$secondaryArchSuffix = $portVersion
|
|
lib:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
lib:libebml$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libmatroska${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
|
"
|
|
REQUIRES_devel="
|
|
libmatroska$secondaryArchSuffix == $portVersion base
|
|
devel:libebml$secondaryArchSuffix
|
|
libebml${secondaryArchSuffix}_devel >= 1.3.4
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libebml$secondaryArchSuffix
|
|
# devel:libebml version is the same between 1.3.1 and 1.3.3
|
|
# but we need 1.3.3
|
|
libebml${secondaryArchSuffix}_devel >= 1.3.3
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -f -i
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libmatroska
|
|
fixPkgconfig
|
|
rm $developLibDir/libmatroska.la
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|