mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
libdvbpsi: bump to 1.3.2, add debuginfo.
This commit is contained in:
81
media-libs/libdvbpsi/libdvbpsi-1.3.2.recipe
Normal file
81
media-libs/libdvbpsi/libdvbpsi-1.3.2.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="Library for MPEG TS/DVB PSI tables decoding and generation"
|
||||
DESCRIPTION="The libdvbpsi is part of the VideoLAN project, a full MPEG2 \
|
||||
client/server solution. The libdvbpsi can also be used with extra \
|
||||
programs that need DVB and PSI decoders and generators.
|
||||
The VideoLAN team decided to write the libdvbpsi to make the VideoLAN \
|
||||
Client and the VideoLAN Server capable of demultiplexing a satellite \
|
||||
DVB stream. The library aims at making it easy to decode PSI tables \
|
||||
(such as PAT, PMT etc.) present in a TS/DVB stream."
|
||||
HOMEPAGE="https://www.videolan.org/libdvbpsi"
|
||||
COPYRIGHT="2001-2018 VideoLAN"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.videolan.org/pub/libdvbpsi/$portVersion/libdvbpsi-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="ac4e39f2b9b1e15706ad261fa175a9430344d650a940be9aaf502d4cb683c5fe"
|
||||
PATCHES="libdvbpsi-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion=10.0.0
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libdvbpsi$secondaryArchSuffix = $portVersion
|
||||
lib:libdvbpsi$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libdvbpsi${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libdvbpsi$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdvbpsi$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:xsltproc
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libdvbpsi$secondaryArchSuffix \
|
||||
"$libDir"/libdvbpsi.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libdvbpsi.la
|
||||
|
||||
prepareInstalledDevelLib libdvbpsi
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user