mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
77 lines
1.6 KiB
Bash
77 lines
1.6 KiB
Bash
SUMMARY="A library to access DVDs"
|
|
DESCRIPTION="libdvdcss is a simple library designed for accessing DVDs like a \
|
|
block device without having to bother about the decryption."
|
|
HOMEPAGE="https://www.videolan.org/developers/libdvdcss.html"
|
|
COPYRIGHT="1998-2018 VideoLAN"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://download.videolan.org/pub/libdvdcss/$portVersion/libdvdcss-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="78c2ed77ec9c0d8fbed7bf7d3abc82068b8864be494cfad165821377ff3f2575"
|
|
SOURCE_DIR="libdvdcss-$portVersion"
|
|
PATCHES="libdvdcss-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64 ?arm ?ppc"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
libVersion="2.2.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libdvdcss$secondaryArchSuffix = $portVersion
|
|
lib:libdvdcss$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libdvdcss${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libdvdcss$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libdvdcss$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# remove libtool file
|
|
rm $libDir/libdvdcss.la
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLib libdvdcss
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|