From a3b55a0c47a00ac40bc00a4ce87d93f809273840 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 25 Oct 2012 01:42:20 -0700 Subject: Thu Oct 25 01:42:05 PDT 2012 --- testing/dvdauthor/PKGBUILD | 31 ++++++++++++++++++++++++ testing/dvdauthor/dvdauthor-0.7.0-libpng15.patch | 19 +++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 testing/dvdauthor/PKGBUILD create mode 100644 testing/dvdauthor/dvdauthor-0.7.0-libpng15.patch (limited to 'testing/dvdauthor') diff --git a/testing/dvdauthor/PKGBUILD b/testing/dvdauthor/PKGBUILD new file mode 100644 index 000000000..05058218d --- /dev/null +++ b/testing/dvdauthor/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 169632 2012-10-25 01:34:55Z eric $ +# Maintainer: Giovanni Scafora +# Contributor: Travis Willard +# Contributor: Jaroslaw Swierczynski +# Contributor: Nicolai Lissner + +pkgname=dvdauthor +pkgver=0.7.1 +pkgrel=2 +pkgdesc="DVD authoring tools" +arch=('i686' 'x86_64') +url="http://dvdauthor.sourceforge.net/" +license=('GPL') +depends=('libdvdread' 'imagemagick' 'libxml2' 'libpng' 'fribidi') +options=('!makeflags') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('2694a5a3ef460106ea3caf0f7f60ff80') + +build() { + cd "${srcdir}/${pkgname}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}" + + make DESTDIR="${pkgdir}" install +} diff --git a/testing/dvdauthor/dvdauthor-0.7.0-libpng15.patch b/testing/dvdauthor/dvdauthor-0.7.0-libpng15.patch new file mode 100644 index 000000000..2bb636380 --- /dev/null +++ b/testing/dvdauthor/dvdauthor-0.7.0-libpng15.patch @@ -0,0 +1,19 @@ +--- src/spuunmux.c ++++ src/spuunmux.c +@@ -39,6 +39,7 @@ + #include + + #include ++#include + + #include "rgb.h" + #include "common.h" +@@ -610,7 +611,7 @@ + png_destroy_write_struct(&png_ptr, (png_infopp)NULL); + return -1; + } /*if*/ +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_write_struct(&png_ptr, &info_ptr); + fclose(fp); -- cgit v1.2.3-54-g00ecf