Files
haikuports/media-libs/libdvbpsi/libdvbpsi-1.3.1.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

76 lines
1.8 KiB
Bash

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-2015 VideoLAN"
LICENSE="GNU LGPL v2.1"
REVISION="2"
SOURCE_URI="https://download.videolan.org/pub/libdvbpsi/$portVersion/libdvbpsi-$portVersion.tar.bz2"
CHECKSUM_SHA256="d68367afd5ad8e6ebca813e7958a3ceb9743b421adb4265eceeb6a3511c84420"
PATCHES="libdvbpsi-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libdvbpsi$secondaryArchSuffix = $portVersion compat >= 1
lib:libdvbpsi$secondaryArchSuffix = 10.0.0 compat >= 10
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libdvbpsi${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libdvbpsi$secondaryArchSuffix = 10.0.0 compat >= 10
"
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
"
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
}