libdvdnav: bump (#5972)

This commit is contained in:
extrowerk
2021-06-08 16:25:15 +02:00
committed by GitHub
parent cc1ea1dc1f
commit 0d86bd636d
2 changed files with 16 additions and 16 deletions

View File

@@ -0,0 +1,68 @@
SUMMARY="DVD navigation library"
DESCRIPTION="libdvdnav is a library that allows easy use of sophisticated DVD navigation \
features such as DVD menus, multiangle playback and even interactive DVD games."
HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html"
COPYRIGHT="2000 Rich Wareham
2001-2004 the dvdnav project"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.videolan.org/pub/videolan/libdvdnav/$portVersion/libdvdnav-$portVersion.tar.bz2"
CHECKSUM_SHA256="c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48"
PATCHES="libdvdnav-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libdvdnav$secondaryArchSuffix = $portVersion
lib:libdvdnav$secondaryArchSuffix = 4.3.0 compat >= 4
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libdvdread$secondaryArchSuffix
"
PROVIDES_devel="
libdvdnav${secondaryArchSuffix}_devel = $portVersion
devel:libdvdnav$secondaryArchSuffix = 4.3.0 compat >= 4
"
REQUIRES_devel="
libdvdnav$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libdvdread$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoreconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
runConfigure ./configure --enable-shared --disable-static
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libdvdnav.la
# prepare develop/lib
prepareInstalledDevelLibs libdvdnav
fixPkgconfig
packageEntries devel \
$docDir \
$developDir
}