Files
haikuports/media-video/dvdauthor/dvdauthor-0.7.2.recipe
2017-01-04 01:59:53 +00:00

83 lines
2.0 KiB
Bash

SUMMARY="DVD authoring tools"
DESCRIPTION="Tools for generating DVD files to be played on standalone DVD \
players."
HOMEPAGE="http://dvdauthor.sourceforge.net/"
COPYRIGHT="2002-2005, 2007, 2010, 2012, 2016 Scott Smith, Lawrence D'Oliveiro"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://downloads.sourceforge.net/dvdauthor/dvdauthor-$portVersion.tar.gz"
CHECKSUM_SHA256="3020a92de9f78eb36f48b6f22d5a001c47107826634a785a62dfcd080f612eb7"
SOURCE_DIR="dvdauthor"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
if [ "$targetArchitecture" != x86_gcc2 ]; then
commandBinDir=$binDir
else
commandBinDir=$prefix/bin
fi
PROVIDES="
dvdauthor$secondaryArchSuffix = $portVersion
cmd:dvdauthor = $portVersion
cmd:dvddirdel = $portVersion
cmd:dvdunauthor = $portVersion
cmd:mpeg2desc = $portVersion
cmd:spumux = $portVersion
cmd:spuunmux = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libdvdread$secondaryArchSuffix
lib:libfontconfig$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libfribidi$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libmagickcore_6.q16$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libdvdread$secondaryArchSuffix
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libfribidi$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libmagickcore_6.q16$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:makeinfo
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
make
}
INSTALL()
{
make install
}
TEST()
{
make check
}