mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libbluray1, disable static library, use libVersionCompat (#8341)
This commit is contained in:
@@ -3,7 +3,7 @@ DESCRIPTION="This library is simply a tool for playback of Blu-ray movies."
|
||||
HOMEPAGE="https://www.videolan.org/developers/libbluray.html"
|
||||
COPYRIGHT="2010-2016 VideoLAN"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://download.videolan.org/pub/videolan/libbluray/$portVersion/libbluray-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="a6366614ec45484b51fe94fcd1975b3b8716f90f038a33b24d59978de3863ce0"
|
||||
SOURCE_DIR="libbluray-$portVersion"
|
||||
@@ -11,9 +11,12 @@ SOURCE_DIR="libbluray-$portVersion"
|
||||
ARCHITECTURES="?all !x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
libVersion="1.10.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libbluray1$secondaryArchSuffix = $portVersion compat >= 0.7
|
||||
lib:libbluray$secondaryArchSuffix = 1.10.0 compat >= 1
|
||||
lib:libbluray$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -27,7 +30,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libbluray1${secondaryArchSuffix}_devel = $portVersion compat >= 0.7
|
||||
devel:libbluray$secondaryArchSuffix = 1.10.0 compat >= 1
|
||||
devel:libbluray$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libbluray1$secondaryArchSuffix == $portVersion base
|
||||
@@ -62,7 +65,8 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-bdjava
|
||||
runConfigure ./configure --disable-bdjava \
|
||||
--disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user