mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
libmatroska: bump version
keep lib:libmatroska version 6 for compatibility.
This commit is contained in:
59
media-libs/libmatroska/libmatroska-1.6.2.recipe
Normal file
59
media-libs/libmatroska/libmatroska-1.6.2.recipe
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
SUMMARY="A library to parse Matroska files"
|
||||||
|
DESCRIPTION="libmatroska is a C++ libary to parse Matroska files."
|
||||||
|
HOMEPAGE="https://www.matroska.org/"
|
||||||
|
COPYRIGHT="2003-2019 Matroska"
|
||||||
|
LICENSE="GNU LGPL v2.1"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://dl.matroska.org/downloads/libmatroska/libmatroska-$portVersion.tar.xz"
|
||||||
|
CHECKSUM_SHA256="bc4479aa8422ab07643df6a1fa5a19e4bed4badfd41ca77e081628620d1e1990"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
libmatroska$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libmatroska$secondaryArchSuffix = 7.0.0 compat >= 7
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}
|
||||||
|
lib:libebml$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
libmatroska${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libmatroska$secondaryArchSuffix = 7.0.0 compat >= 7
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
libmatroska$secondaryArchSuffix == $portVersion base
|
||||||
|
devel:libebml$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libebml$secondaryArchSuffix >= 5
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:cmake
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
cmd:pkg_config$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
mkdir -p build && cd build
|
||||||
|
cmake .. $cmakeDirArgs -DBUILD_SHARED_LIBS=TRUE \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make -C build install
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs libmatroska
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
packageEntries devel $developDir $libDir/cmake
|
||||||
|
}
|
||||||
@@ -3,15 +3,16 @@ DESCRIPTION="libmatroska is a C++ libary to parse Matroska files."
|
|||||||
HOMEPAGE="https://www.matroska.org/"
|
HOMEPAGE="https://www.matroska.org/"
|
||||||
COPYRIGHT="2003-2019 Matroska"
|
COPYRIGHT="2003-2019 Matroska"
|
||||||
LICENSE="GNU LGPL v2.1"
|
LICENSE="GNU LGPL v2.1"
|
||||||
REVISION="2"
|
REVISION="1"
|
||||||
SOURCE_URI="https://dl.matroska.org/downloads/libmatroska/libmatroska-$portVersion.tar.xz"
|
SOURCE_URI="https://dl.matroska.org/downloads/libmatroska/libmatroska-$portVersion.tar.xz"
|
||||||
CHECKSUM_SHA256="0ac6debfbf781d47f001b830aaf9be9dfbcefd13bcfb80ca5efc1c04b4a3c962"
|
CHECKSUM_SHA256="0ac6debfbf781d47f001b830aaf9be9dfbcefd13bcfb80ca5efc1c04b4a3c962"
|
||||||
|
SOURCE_DIR="libmatroska-$portVersion"
|
||||||
|
|
||||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
libmatroska$secondaryArchSuffix = $portVersion
|
libmatroska6$secondaryArchSuffix = $portVersion
|
||||||
lib:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
lib:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
@@ -19,16 +20,6 @@ REQUIRES="
|
|||||||
lib:libebml$secondaryArchSuffix
|
lib:libebml$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|
||||||
PROVIDES_devel="
|
|
||||||
libmatroska${secondaryArchSuffix}_devel = $portVersion
|
|
||||||
devel:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
|
||||||
"
|
|
||||||
REQUIRES_devel="
|
|
||||||
libmatroska$secondaryArchSuffix == $portVersion base
|
|
||||||
libebml${secondaryArchSuffix}_devel >= 1.3.9
|
|
||||||
devel:libebml$secondaryArchSuffix
|
|
||||||
"
|
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
# devel:libebml version is the same between 1.3.1 and 1.3.9
|
# devel:libebml version is the same between 1.3.1 and 1.3.9
|
||||||
@@ -59,5 +50,5 @@ INSTALL()
|
|||||||
prepareInstalledDevelLibs libmatroska
|
prepareInstalledDevelLibs libmatroska
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
packageEntries devel $developDir $libDir/cmake
|
rm -rf $developDir $libDir/cmake
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user