mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
HaikuPorter now does not care what is in ARCHITECTURES when building for a SECONDARY_ARCHITECTURE.
77 lines
1.8 KiB
Bash
77 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="http://www.videolan.org/libdvbpsi"
|
|
COPYRIGHT="
|
|
2001-2009 VideoLAN
|
|
"
|
|
LICENSE="GNU LGPL v2.1"
|
|
SOURCE_URI="http://download.videolan.org/pub/libdvbpsi/$portVersion/libdvbpsi-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="36d9b233306e48b58999e87864253b564e20932ed46a485e44ef7058f1f927e8"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86 x86_64 x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PATCHES="libdvbpsi-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
libdvbpsi$secondaryArchSuffix = $portVersion compat >= 1
|
|
lib:libdvbpsi$secondaryArchSuffix = 9.0.0 compat >= 9
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libdvbpsi
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libdvbpsi${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
devel:libdvbpsi$secondaryArchSuffix = 9.0.0 compat >= 9
|
|
"
|
|
REQUIRES_devel="
|
|
libdvbpsi$secondaryArchSuffix == $portVersion base
|
|
"
|