0
0
Fork 0
haikuports/media-libs/libdv/libdv-1.0.0.recipe

76 lines
1.8 KiB
Bash

SUMMARY="A GPL codec for DV video"
DESCRIPTION="The Quasar DV codec (libdv) is a software codec for DV video, \
the encoding format used by most digital camcorders, typically those that \
support the IEEE 1394 (a.k.a FireWire or i.Link) interface. Libdv was \
developed according to the official standards for DV video: IEC 61834 and \
SMPTE 314M."
HOMEPAGE="http://libdv.sourceforge.net"
COPYRIGHT="1999 Erik Walthinsen
1999 Charles 'Buck' Krasic"
LICENSE="GNU LGPL v2.1"
REVISION="4"
SOURCE_URI="http://sourceforge.net/projects/libdv/files/libdv/$portVersion/libdv-$portVersion.tar.gz"
CHECKSUM_SHA256="a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba"
PATCHES="libdv-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libdv$secondaryArchSuffix = $portVersion compat >= 1.0
cmd:dubdv$secondaryArchSuffix
cmd:encodedv$secondaryArchSuffix
lib:libdv$secondaryArchSuffix = 4.0.3 compat >= 4
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpopt$secondaryArchSuffix
lib:libsdl_1.2$secondaryArchSuffix
"
PROVIDES_devel="
libdv${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
devel:libdv$secondaryArchSuffix = 4.0.3 compat >= 4
"
REQUIRES_devel="
libdv$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpopt${secondaryArchSuffix}
devel:libsdl_1.2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal_1.13
cmd:autoconf
cmd:automake_1.13
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
libtoolize --force --copy --install
aclocal-1.13
autoconf
automake-1.13
runConfigure ./configure --disable-gtk \
--without-debug
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libdv
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}