Files
haikuports/media-video/dvdauthor/dvdauthor-0.7.2.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

84 lines
2.1 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="5"
SOURCE_URI="http://downloads.sourceforge.net/dvdauthor/dvdauthor-$portVersion.tar.gz"
CHECKSUM_SHA256="3020a92de9f78eb36f48b6f22d5a001c47107826634a785a62dfcd080f612eb7"
SOURCE_DIR="dvdauthor"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
dvdauthor$secondaryArchSuffix = $portVersion
cmd:dvdauthor$commandSuffix = $portVersion
cmd:dvddirdel$commandSuffix = $portVersion
cmd:dvdunauthor$commandSuffix = $portVersion
cmd:mpeg2desc$commandSuffix = $portVersion
cmd:spumux$commandSuffix = $portVersion
cmd:spuunmux$commandSuffix = $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
}