mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libmatroska, disable static library, cleanup (#8373)
This commit is contained in:
@@ -3,7 +3,7 @@ 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="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://dl.matroska.org/downloads/libmatroska/libmatroska-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="79023fa46901e5562b27d93a9dd168278fa101361d7fd11a35e84e58e11557bc"
|
||||
if [ $effectiveTargetArchitecture = x86_gcc2 ]; then
|
||||
@@ -15,9 +15,12 @@ fi
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="6.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libmatroska$secondaryArchSuffix = $portVersion
|
||||
lib:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
||||
lib:libmatroska$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
@@ -26,20 +29,16 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libmatroska${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmatroska$secondaryArchSuffix = 6.0.0 compat >= 6
|
||||
devel:libmatroska$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
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
|
||||
@@ -56,7 +55,7 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -f -i
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -64,8 +63,9 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libmatroska
|
||||
prepareInstalledDevelLib libmatroska
|
||||
fixPkgconfig
|
||||
|
||||
rm $developLibDir/libmatroska.la
|
||||
|
||||
packageEntries devel $developDir
|
||||
|
||||
Reference in New Issue
Block a user