dvdauthor: create recipe.

This commit is contained in:
fbrosson
2016-11-28 17:32:49 +00:00
parent 30a5c3e8be
commit 8976ade1c1

View File

@@ -0,0 +1,82 @@
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 Scott Smith, Lawrence D'Oliveiro"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://downloads.sourceforge.net/dvdauthor/dvdauthor-$portVersion.tar.gz"
CHECKSUM_SHA256="501fb11b09c6eb9c5a229dcb400bd81e408cc78d34eab6749970685023c51fe9"
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
}