From 27bf120379a023d9341fbdcba7f02b73c569c21a Mon Sep 17 00:00:00 2001 From: dkociela Date: Wed, 6 Jan 2016 19:43:34 -0700 Subject: [PATCH] dvdauthor: add build_options for default video format (NTSC or PAL) default video format set to PAL, revision bump to 2 --- srcpkgs/dvdauthor/template | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dvdauthor/template b/srcpkgs/dvdauthor/template index 4c895293e0..49e8299d23 100644 --- a/srcpkgs/dvdauthor/template +++ b/srcpkgs/dvdauthor/template @@ -2,11 +2,10 @@ pkgname="dvdauthor" version="0.7.1" -revision=1 +revision=2 patch_args="-Np1" build_style=gnu-configure wrksrc="$pkgname" -configure_args="--enable-localize-filenames" hostmakedepends="pkg-config" makedepends="libpng-devel freetype-devel fribidi-devel libxml2-devel libdvdnav-devel" short_desc="DVD authoring tools, generate a DVD movie from MPEG2 stream" @@ -16,3 +15,14 @@ homepage="http://dvdauthor.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/dvdauthor/dvdauthor-${version}.tar.gz" checksum="501fb11b09c6eb9c5a229dcb400bd81e408cc78d34eab6749970685023c51fe9" +build_options="NTSC PAL" +build_options_default="PAL" +desc_option_NTSC="Enable default video format NTSC" +desc_option_PAL="Enable default video format PAL" +vopt_conflict NTSC PAL + +configure_args="--enable-localize-filenames \ + $(vopt_if NTSC '--enable-default-video-format=NTSC' "" ) \ + $(vopt_if PAL '--enable-default-video-format=PAL' "")" + +