Files
haikuports/media-libs/libdvdnav/libdvdnav-4.2.1.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

82 lines
1.9 KiB
Plaintext

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/"
LICENSE="GNU GPL v2"
COPYRIGHT="2000 Rich Wareham
2001-2004 the dvdnav project"
SRC_URI="http://dvdnav.mplayerhq.hu/releases/libdvdnav-$portVersion.tar.xz"
CHECKSUM_SHA256="7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="libdvdnav-4.2.0.patch"
PROVIDES="
libdvdnav$secondaryArchSuffix = $portVersion
lib:libdvdnav$secondaryArchSuffix
cmd:dvdnav_config$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
libdvdread$secondaryArchSuffix
libdvdcss$secondaryArchSuffix
"
BUILD_REQUIRES="
libdvdread${secondaryArchSuffix}_devel
libdvdcss${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:pkg_config$secondaryArchSuffix
"
SOURCE_DIR="libdvdnav-${portVersion}"
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
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libdvdnav${secondaryArchSuffix}_devel = $portVersion
devel:libdvdnav$secondaryArchSuffix = $portVersion
devel:libdvdnavmini$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libdvdnav$secondaryArchSuffix == $portVersion base
"