libebml, use libVersionCompat, disable static library (#8140)

This commit is contained in:
Schrijvers Luc
2023-03-27 20:40:14 +02:00
committed by GitHub
parent 7b4515c67a
commit 5d21e504b0
3 changed files with 19 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ DESCRIPTION="libebml is a C++ library to parse EBML content (read/write)."
HOMEPAGE="https://github.com/Matroska-Org/libebml/"
COPYRIGHT="2005-2017 Matroska"
LICENSE="GNU LGPL v2.1"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/archive/release-$portVersion.tar.gz"
CHECKSUM_SHA256="efe9851797db47bc78486b6c518d822cfca435afe3d9c9d0812d8e3825cd71e6"
SOURCE_DIR="libebml-release-$portVersion"
@@ -12,9 +12,12 @@ PATCHES="libebml-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
libVersion="4.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
libebml$secondaryArchSuffix = $portVersion
lib:libebml$secondaryArchSuffix = 4.0.0 compat >= 4
lib:libebml$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku${secondaryArchSuffix}
@@ -22,7 +25,7 @@ REQUIRES="
PROVIDES_devel="
libebml${secondaryArchSuffix}_devel = $portVersion
devel:libebml$secondaryArchSuffix = 4.0.0 compat >= 4
devel:libebml$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
libebml$secondaryArchSuffix == $portVersion base
@@ -50,7 +53,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -f -i
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}

View File

@@ -3,7 +3,7 @@ DESCRIPTION="libebml is a C++ library to parse EBML content (read/write)."
HOMEPAGE="https://github.com/Matroska-Org/libebml/"
COPYRIGHT="2005-2023 Matroska"
LICENSE="GNU LGPL v2.1"
REVISION="2"
REVISION="3"
SOURCE_URI="$HOMEPAGE/archive/release-$portVersion.tar.gz"
CHECKSUM_SHA256="3b30d89a5699fef4bdf5b4d7de7a1c94d9be47fababf9caca59250282f051283"
SOURCE_DIR="libebml-release-$portVersion"
@@ -12,9 +12,12 @@ PATCHES="libebml-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion="5.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
libebml$secondaryArchSuffix = $portVersion
lib:libebml$secondaryArchSuffix = 5.0.0 compat >= 5
lib:libebml$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku${secondaryArchSuffix}
@@ -22,7 +25,7 @@ REQUIRES="
PROVIDES_devel="
libebml${secondaryArchSuffix}_devel = $portVersion
devel:libebml$secondaryArchSuffix = 5.0.0 compat >= 5
devel:libebml$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
libebml$secondaryArchSuffix == $portVersion base

View File

@@ -3,18 +3,21 @@ DESCRIPTION="libebml is a C++ library to parse EBML content (read/write)."
HOMEPAGE="https://github.com/Matroska-Org/libebml/"
COPYRIGHT="2005-2019 Matroska"
LICENSE="GNU LGPL v2.1"
REVISION="3"
REVISION="4"
SOURCE_URI="$HOMEPAGE/archive/release-$portVersion.tar.gz"
CHECKSUM_SHA256="2562bb9bc3248e956a6ed1148eafe4d7d68759257133083c212d14faa8709d1e"
SOURCE_DIR="libebml-release-$portVersion"
PATCHES="libebml-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
libVersion="4.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
libebml4$secondaryArchSuffix = $portVersion
lib:libebml$secondaryArchSuffix = 4.0.0 compat >= 4
lib:libebml$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku${secondaryArchSuffix}