Files
haikuports/media-libs/libdvdnav/libdvdnav-4.2.0.recipe
dash102 a3591a7721 Reformat 10 recipes
Update libnsgif-0.1.1.recipe

Update libsdl2-2.0.0.recipe

Update haikuwebkit-1.2.0.recipe

Update haikuwebkit-1.2.1.recipe

Update haikuwebkit-1.2.2.recipe

Update haikuwebkit-1.2.3.recipe

Update haikuwebkit-1.2.0.recipe

Update haikuwebkit-1.2.1.recipe

Update haikuwebkit-1.2.2.recipe

Update libnsbmp-0.1.1.recipe

Update libnsgif-0.1.1.recipe

Update libsdl2-2.0.0.recipe

Update libmpdclient-2.11_git.recipe

Update libpng-1.5.25.recipe

Update libcss-0.4.0.recipe

Update libdvdnav-4.2.0.recipe

Update libsdl2-2.0.0.recipe
2015-12-26 13:42:37 +00:00

74 lines
1.7 KiB
Bash

SUMMARY="Easy use of sophisticated DVD navigation features"
DESCRIPTION="libdvdnav allows easy use of sophisticated DVD navigation features such as \
DVD menus, multiangle playback and even interactive DVD games."
HOMEPAGE="http://dvdnav.mplayerhq.hu/"
COPYRIGHT="2000 Rich Wareham
2001-2004 the dvdnav project"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.0.tar.bz2"
CHECKSUM_SHA256="8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550"
SOURCE_DIR="libdvdnav-${portVersion}"
PATCHES="libdvdnav-${portVersion}.patch"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
libdvdnav${secondaryArchSuffix} = $portVersion
lib:libdvdnav
cmd:dvdnav_config
"
REQUIRES="
haiku${secondaryArchSuffix}
libdvdread${secondaryArchSuffix}
libdvdcss${secondaryArchSuffix}
"
PROVIDES_devel="
libdvdnav${secondaryArchSuffix}_devel = $portVersion
devel:libdvdnav$secondaryArchSuffix = $portVersion
devel:libdvdnavmini$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libdvdnav$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
libdvdread${secondaryArchSuffix}_devel
libdvdcss${secondaryArchSuffix}_devel
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:make
cmd:libtoolize
cmd:aclocal
cmd:autoconf
"
BUILD()
{
./autogen.sh
runConfigure ./configure --enable-shared --enable-static
make $jobArgs
}
INSTALL()
{
make install
# move headers to the correct location
mkdir -p $(dirname $includeDir)
mv $prefix/include $includeDir/
# prepare develop/lib
prepareInstalledDevelLibs libdvdnav libdvdnavmini
fixPkgconfig
packageEntries devel \
$developDir
}