mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libbdplus: fix libVersion, add debuginfo. (#2242)
This commit is contained in:
@@ -5,7 +5,7 @@ movies. It is intended for software that want to support Blu-ray playback \
|
||||
HOMEPAGE="https://www.videolan.org/developers/libbdplus.html"
|
||||
COPYRIGHT="2011-2015 VideoLAN"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="https://download.videolan.org/pub/videolan/libbdplus/$portVersion/libbdplus-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="a631cae3cd34bf054db040b64edbfc8430936e762eb433b1789358ac3d3dc80a"
|
||||
PATCHES="libbdplus-0.1.2.patchset"
|
||||
@@ -13,9 +13,13 @@ PATCHES="libbdplus-0.1.2.patchset"
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64 ?arm ?ppc"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="0.1.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
portVersionCompat="$portVersion compat >= ${portVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libbdplus$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libbdplus$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
libbdplus$secondaryArchSuffix = $portVersionCompat
|
||||
lib:libbdplus$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -24,8 +28,8 @@ REQUIRES="
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libbdplus${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||
devel:libbdplus$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
libbdplus${secondaryArchSuffix}_devel = $portVersionCompat
|
||||
devel:libbdplus$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libbdplus$secondaryArchSuffix == $portVersion base
|
||||
@@ -47,6 +51,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libbdplus$secondaryArchSuffix \
|
||||
"$libDir"/libbdplus.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
|
||||
Reference in New Issue
Block a user