mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
72 lines
1.7 KiB
Bash
72 lines
1.7 KiB
Bash
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="2"
|
|
SOURCE_URI="https://download.videolan.org/pub/videolan/libdvdnav/$portVersion/libdvdnav-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48"
|
|
PATCHES="libdvdnav-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="4.3.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libdvdnav$secondaryArchSuffix = $portVersion
|
|
lib:libdvdnav$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libdvdread$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libdvdnav${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libdvdnav$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
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
|
|
prepareInstalledDevelLib libdvdnav
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$docDir \
|
|
$developDir
|
|
}
|