mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 11:10:07 +02:00
73 lines
1.7 KiB
Bash
73 lines
1.7 KiB
Bash
SUMMARY="A simple foundation for reading DVD video disks"
|
|
DESCRIPTION="libdvdread provides the functionality that is required to \
|
|
access many DVDs. It parses IFO files, reads NAV-blocks, and performs CSS \
|
|
authentication and descrambling (if an external libdvdcss library is \
|
|
installed)."
|
|
HOMEPAGE="https://dvdnav.mplayerhq.hu/"
|
|
COPYRIGHT="1998-1999 Eric Smith
|
|
2000-2002 Björn Englund
|
|
2000-2003 Håkan Hjort, et al."
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="4"
|
|
SOURCE_URI="https://download.videolan.org/pub/videolan/libdvdread/$portVersion/libdvdread-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="321cdf2dbdc83c96572bc583cd27d8c660ddb540ff16672ecb28607d018ed82b"
|
|
PATCHES="libdvdread-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libdvdread$secondaryArchSuffix = $portVersion
|
|
lib:libdvdread$secondaryArchSuffix = 4.2.0 compat >= 4
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libdvdread${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libdvdread$secondaryArchSuffix = 4.2.0 compat >= 4
|
|
"
|
|
REQUIRES_devel="
|
|
libdvdread$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libdvdcss$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoreconf
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure --enable-shared --enable-static \
|
|
--disable-maintainer-mode
|
|
touch ChangeLog
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libdvdread.la
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libdvdread
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$docDir \
|
|
$developDir
|
|
}
|