diff options
author | root <root@rshg054.dnsready.net> | 2012-10-25 01:42:20 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-25 01:42:20 -0700 |
commit | a3b55a0c47a00ac40bc00a4ce87d93f809273840 (patch) | |
tree | 6fcc1360f835115b132c35ca978b1f804540a372 /testing/dvdauthor | |
parent | 120df4e0db159525806a9b33364483e76f9d51d3 (diff) |
Thu Oct 25 01:42:05 PDT 2012
Diffstat (limited to 'testing/dvdauthor')
-rw-r--r-- | testing/dvdauthor/PKGBUILD | 31 | ||||
-rw-r--r-- | testing/dvdauthor/dvdauthor-0.7.0-libpng15.patch | 19 |
2 files changed, 50 insertions, 0 deletions
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 <giovanni@archlinux.org> +# Contributor: Travis Willard <travisw@wmpub.ca> +# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com> +# Contributor: Nicolai Lissner <nlissne@linux01.gwdg.de> + +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 <netinet/in.h> + + #include <png.h> ++#include <zlib.h> + + #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); |