mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
libdvdread: Add working 4.2.0 recipe
This commit is contained in:
@@ -1,27 +1,77 @@
|
|||||||
DESCRIPTION="libdvdread"
|
SUMMARY="A simple foundation for reading DVD video disks."
|
||||||
HOMEPAGE="http://www.mplayerhq.hu/design7/news.html"
|
DESCRIPTION="libdvdread provides a simple foundation for reading DVD video disks.
|
||||||
SRC_URI="http://dvdnav.mplayerhq.hu/releases/libdvdread-4.2.0.tar.bz2"
|
It provides the functionality that is required to access many DVDs.
|
||||||
CHECKSUM_MD5="ab7a19d3ab1a437ae754ef477d6231a4"
|
libdvdread parses IFO files, reads NAV-blocks, and performs CSS authentication
|
||||||
REVISION="1"
|
and descrambling (if an external libdvdcss library is installed)."
|
||||||
STATUS_HAIKU="stable"
|
HOMEPAGE="http://dvdnav.mplayerhq.hu"
|
||||||
DEPEND=""
|
|
||||||
BUILD()
|
|
||||||
{
|
|
||||||
cd libdvdread-4.2.0
|
|
||||||
./autogen.sh
|
|
||||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
|
||||||
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
|
|
||||||
--enable-shared --enable-static
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
INSTALL()
|
|
||||||
{
|
|
||||||
cd libdvdread-4.2.0
|
|
||||||
make install
|
|
||||||
}
|
|
||||||
|
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
COPYRIGHT="1998-1999 Eric Smith
|
COPYRIGHT="1998-1999 Eric Smith
|
||||||
2000-2002 Björn Englund
|
2000-2002 Björn Englund
|
||||||
2000-2003 Håkan Hjort, et al."
|
2000-2003 Håkan Hjort, et al."
|
||||||
|
SRC_URI="http://dvdnav.mplayerhq.hu/releases/libdvdread-4.2.0.tar.bz2"
|
||||||
|
CHECKSUM_MD5="ab7a19d3ab1a437ae754ef477d6231a4"
|
||||||
|
REVISION="1"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
||||||
|
|
||||||
|
PATCHES="libdvdread-${portVersion}.patch"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
libdvdread${secondaryArchSuffix} = $portVersion
|
||||||
|
lib:libdvdread
|
||||||
|
cmd:dvdread_config
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||||
|
cmd:gcc
|
||||||
|
cmd:ld
|
||||||
|
cmd:make
|
||||||
|
cmd:libtoolize
|
||||||
|
cmd:aclocal
|
||||||
|
cmd:autoconf
|
||||||
|
"
|
||||||
|
|
||||||
|
SOURCE_DIR="libdvdread-${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 libdvdread
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
# ----- devel package -------------------------------------------------------
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
libdvdread${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libdvdread$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
libdvdread$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user