mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libebml: bump version
keep lib:libebml version 4 for compatibility
This commit is contained in:
56
dev-libs/libebml/libebml-1.4.0.recipe
Normal file
56
dev-libs/libebml/libebml-1.4.0.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="A C++ library to parse EBML content (read/write)"
|
||||
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="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/release-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5ad468d78d21dfcde2901320faad4122ade2a12ecb65ce557b5e15d46671cceb"
|
||||
SOURCE_DIR="libebml-release-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libebml$secondaryArchSuffix = $portVersion
|
||||
lib:libebml$secondaryArchSuffix = 5.0.0 compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libebml${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libebml$secondaryArchSuffix = 5.0.0 compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libebml$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build && cd build
|
||||
cmake .. $cmakeDirArgs -DBUILD_SHARED_LIBS=TRUE \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLibs libebml
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir $libDir/cmake
|
||||
}
|
||||
@@ -13,7 +13,7 @@ ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libebml$secondaryArchSuffix = $portVersion
|
||||
libebml4$secondaryArchSuffix = $portVersion
|
||||
lib:libebml$secondaryArchSuffix = 4.0.0 compat >= 4
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -21,11 +21,14 @@ REQUIRES="
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libebml${secondaryArchSuffix}_devel = $portVersion
|
||||
libebml4${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libebml$secondaryArchSuffix = 4.0.0 compat >= 4
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libebml$secondaryArchSuffix == $portVersion base
|
||||
libebml4$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
libebml${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
Reference in New Issue
Block a user