wok-stable rev 7455
Add zvbi. VBI capture and decoding library.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 30 13:08:15 2010 +0000 (2010-11-30) |
parents | 098353dab753 |
children | bf10468bd4fd |
files | zvbi-dev/receipt zvbi/receipt zvbi/stuff/fix-includes.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zvbi-dev/receipt Tue Nov 30 13:08:15 2010 +0000 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zvbi-dev" 1.7 +VERSION="0.2.33" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for zvbi" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="zvbi" 1.12 +WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome" 1.13 +WANTED="zvbi" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 +} 1.22 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/zvbi/receipt Tue Nov 30 13:08:15 2010 +0000 2.3 @@ -0,0 +1,36 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="zvbi" 2.7 +VERSION="0.2.33" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="VBI capture and decoding library." 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="libpng xorg-libX11" 2.12 +BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome" 2.15 +WGET_URL="$SF_MIRROR/zapping/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + patch -Np1 -i ../stuff/fix-includes.patch 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + --infodir=/usr/share/info \ 2.25 + --mandir=/usr/share/man \ 2.26 + --disable-static \ 2.27 + $CONFIGURE_ARGS && 2.28 + make && make DESTDIR=$PWD/_pkg install 2.29 +} 2.30 + 2.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.32 +genpkg_rules() 2.33 +{ 2.34 + mkdir -p $fs/usr/lib 2.35 + cp -a $_pkg/usr/bin $fs/usr 2.36 + cp -a $_pkg/usr/sbin $fs/usr 2.37 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.38 +} 2.39 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/zvbi/stuff/fix-includes.patch Tue Nov 30 13:08:15 2010 +0000 3.3 @@ -0,0 +1,36 @@ 3.4 +Add proper #includes so that we do not get undef errors to S_ISCHR 3.5 +during linking. 3.6 + 3.7 +Signed-off-by: Alex Chiang <achiang@canonical.com> 3.8 +--- 3.9 +--- zvbi-0.2.33.orig/src/io-dvb.c 3.10 ++++ zvbi-0.2.33/src/io-dvb.c 3.11 +@@ -29,6 +29,8 @@ 3.12 + #include <errno.h> 3.13 + #include <sys/select.h> 3.14 + #include <sys/ioctl.h> 3.15 ++#include <sys/types.h> 3.16 ++#include <sys/stat.h> 3.17 + 3.18 + #ifndef HAVE_S64_U64 3.19 + /* Linux 2.6.x asm/types.h defines __s64 and __u64 only 3.20 +--- zvbi-0.2.33.orig/src/io-v4l.c 3.21 ++++ zvbi-0.2.33/src/io-v4l.c 3.22 +@@ -42,6 +42,7 @@ static const char rcsid [] = 3.23 + #include <assert.h> 3.24 + #include <sys/time.h> /* timeval */ 3.25 + #include <sys/types.h> /* fd_set, uid_t */ 3.26 ++#include <sys/stat.h> /* S_ISCHR */ 3.27 + #include <sys/ioctl.h> /* for (_)videodev.h */ 3.28 + #include <pthread.h> 3.29 + 3.30 +--- zvbi-0.2.33.orig/contrib/ntsc-cc.c 3.31 ++++ zvbi-0.2.33/contrib/ntsc-cc.c 3.32 +@@ -34,6 +34,7 @@ 3.33 + #include <locale.h> 3.34 + #include <sys/ioctl.h> 3.35 + #include <sys/types.h> 3.36 ++#include <sys/stat.h> 3.37 + #include <sys/time.h> 3.38 + #ifdef HAVE_GETOPT_LONG 3.39 + # include <getopt.h>