From a1922d0ec660fdc1892f2783515f781c090df0a9 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 20 Jan 2012 23:14:48 +0000 Subject: Fri Jan 20 23:14:48 UTC 2012 --- staging/dvdauthor/PKGBUILD | 35 ++++++++++++++++++++++++ staging/dvdauthor/dvdauthor-0.7.0-libpng15.patch | 19 +++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 staging/dvdauthor/PKGBUILD create mode 100644 staging/dvdauthor/dvdauthor-0.7.0-libpng15.patch (limited to 'staging/dvdauthor') diff --git a/staging/dvdauthor/PKGBUILD b/staging/dvdauthor/PKGBUILD new file mode 100644 index 000000000..849754c1e --- /dev/null +++ b/staging/dvdauthor/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 146985 2012-01-19 22:25:27Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Travis Willard +# Contributor: Jaroslaw Swierczynski +# Contributor: Nicolai Lissner + +pkgname=dvdauthor +pkgver=0.7.0 +pkgrel=4 +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" + 'dvdauthor-0.7.0-libpng15.patch') +md5sums=('33a447fb98ab3293ac40f869eedc17ff' + '9ea90bbea6adb0469c8c1b2f7d033f11') + +build() { + cd "${srcdir}/${pkgname}" + + patch -Np0 -i "${srcdir}/dvdauthor-0.7.0-libpng15.patch" + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}" + + make DESTDIR="${pkgdir}" install +} diff --git a/staging/dvdauthor/dvdauthor-0.7.0-libpng15.patch b/staging/dvdauthor/dvdauthor-0.7.0-libpng15.patch new file mode 100644 index 000000000..2bb636380 --- /dev/null +++ b/staging/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