mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libdvbpsi: exhume 1.2.0, fix 1.3.0 versioning, drop static lib. (#636)
This commit is contained in:
@@ -9,7 +9,7 @@ DVB stream. The library aims at making it easy to decode PSI tables \
|
||||
HOMEPAGE="https://www.videolan.org/libdvbpsi"
|
||||
COPYRIGHT="2001-2015 VideoLAN"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.videolan.org/pub/libdvbpsi/$portVersion/libdvbpsi-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="a2fed1d11980662f919bbd1f29e2462719e0f6227e1a531310bd5a706db0a1fe"
|
||||
PATCHES="libdvbpsi-$portVersion.patchset"
|
||||
@@ -19,7 +19,7 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libdvbpsi$secondaryArchSuffix = $portVersion compat >= 1
|
||||
lib:libdvbpsi$secondaryArchSuffix = 9.0.0 compat >= 9
|
||||
lib:libdvbpsi$secondaryArchSuffix = 10.0.0 compat >= 10
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -27,7 +27,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libdvbpsi${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
devel:libdvbpsi$secondaryArchSuffix = 9.0.0 compat >= 9
|
||||
devel:libdvbpsi$secondaryArchSuffix = 10.0.0 compat >= 10
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdvbpsi$secondaryArchSuffix == $portVersion base
|
||||
@@ -43,14 +43,14 @@ BUILD_PREREQUIRES="
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libdvbpsi
|
||||
prepareInstalledDevelLib libdvbpsi
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
|
||||
80
media-libs/libdvbpsi/libdvbpsi12-1.2.0.recipe
Normal file
80
media-libs/libdvbpsi/libdvbpsi12-1.2.0.recipe
Normal file
@@ -0,0 +1,80 @@
|
||||
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-2009 VideoLAN"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.videolan.org/pub/libdvbpsi/$portVersion/libdvbpsi-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="36d9b233306e48b58999e87864253b564e20932ed46a485e44ef7058f1f927e8"
|
||||
SOURCE_DIR="libdvbpsi-$portVersion"
|
||||
PATCHES="libdvbpsi-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libdvbpsi12$secondaryArchSuffix = $portVersion compat >= 1
|
||||
lib:libdvbpsi$secondaryArchSuffix = 9.0.0 compat >= 9
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libdvbpsi12${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
devel:libdvbpsi$secondaryArchSuffix = 9.0.0 compat >= 9
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdvbpsi12$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
libdvbpsi$secondaryArchSuffix
|
||||
"
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
sed -i -e "s|^\(old_library='\)libdvbpsi.a'$|\1'|" \
|
||||
$libDir/libdvbpsi.la
|
||||
rm $libDir/libdvbpsi.a
|
||||
|
||||
prepareInstalledDevelLib libdvbpsi
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
3467
media-libs/libdvbpsi/patches/libdvbpsi-1.2.0.patchset
Normal file
3467
media-libs/libdvbpsi/patches/libdvbpsi-1.2.0.patchset
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user