diff options
author | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
commit | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch) | |
tree | 8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/zvbi | |
parent | bdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff) |
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/zvbi')
-rw-r--r-- | extra/zvbi/PKGBUILD | 27 | ||||
-rw-r--r-- | extra/zvbi/zvbi-0.2.33-libpng15.patch | 21 |
2 files changed, 41 insertions, 7 deletions
diff --git a/extra/zvbi/PKGBUILD b/extra/zvbi/PKGBUILD index 8ad534a47..e80fae342 100644 --- a/extra/zvbi/PKGBUILD +++ b/extra/zvbi/PKGBUILD @@ -1,25 +1,38 @@ -# $Id: PKGBUILD 101442 2010-11-29 09:37:06Z jgc $ +# $Id: PKGBUILD 148988 2012-02-05 11:59:13Z ibiru $ # Maintainer: # Contributor: Alexander Baldeck <alexander@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> + pkgname=zvbi pkgver=0.2.33 -pkgrel=3 +pkgrel=4 pkgdesc="VBI capture and decoding library" url="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome" -arch=(i686 x86_64) +arch=('i686' 'x86_64') depends=('libpng' 'libx11') license=('GPL') options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2 - fix-includes.patch) +source=("http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2" + 'fix-includes.patch' + 'zvbi-0.2.33-libpng15.patch') md5sums=('1741a6045c3eedfb611d645f2da69ac8' - '38766bc59e1571133d0399f0102da653') + '38766bc59e1571133d0399f0102da653' + '4434de7addc438be8c5a33274146bd11') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/fix-includes.patch" - ./configure --prefix=/usr --disable-static --mandir=/usr/share/man + patch -Np0 -i "${srcdir}/zvbi-0.2.33-libpng15.patch" + + ./configure --prefix=/usr \ + --disable-static \ + --mandir=/usr/share/man make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/extra/zvbi/zvbi-0.2.33-libpng15.patch b/extra/zvbi/zvbi-0.2.33-libpng15.patch new file mode 100644 index 000000000..262677376 --- /dev/null +++ b/extra/zvbi/zvbi-0.2.33-libpng15.patch @@ -0,0 +1,21 @@ +Index: src/exp-gfx.c +=================================================================== +RCS file: /cvsroot/zapping/vbi/src/exp-gfx.c,v +retrieving revision 1.16 +diff -u -B -r1.16 exp-gfx.c +--- src/exp-gfx.c 24 Feb 2008 14:17:47 -0000 1.16 ++++ src/exp-gfx.c 15 Feb 2011 20:03:58 -0000 +@@ -1672,11 +1672,11 @@ + char title[80]; + unsigned int i; + +- if (setjmp (png_ptr->jmpbuf)) ++ if (setjmp (png_jmpbuf(png_ptr))) + return FALSE; + + png_set_write_fn (png_ptr, +- (voidp) gfx, ++ (png_voidp) gfx, + write_data, + flush_data); + |