diff options
Diffstat (limited to 'community/tvtime')
-rw-r--r-- | community/tvtime/PKGBUILD | 33 | ||||
-rw-r--r-- | community/tvtime/tvtime-1.0.2+linux-headers-2.6.18.patch | 5 |
2 files changed, 22 insertions, 16 deletions
diff --git a/community/tvtime/PKGBUILD b/community/tvtime/PKGBUILD index 32ccec0c5..59a5792c6 100644 --- a/community/tvtime/PKGBUILD +++ b/community/tvtime/PKGBUILD @@ -1,4 +1,4 @@ -# $Id$ +# $Id: PKGBUILD 59091 2011-11-21 09:46:20Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer:thefatprecious <marty@loomar.com> @@ -9,20 +9,25 @@ pkgdesc="A high quality television application for use with video capture cards" arch=('i686' 'x86_64') url='http://tvtime.sourceforge.net/' license=('GPL' 'LGPL') -depends=('gcc-libs' 'libpng' 'libxml2' 'freetype2' 'libxtst' 'libxinerama' 'libxv' 'libsm' 'libxxf86vm') -makedepends=('libxt') -source=(http://downloads.sourceforge.net/sourceforge/tvtime/$pkgname-$pkgver.tar.gz \ - tvtime-1.0.2+linux-headers-2.6.18.patch tvtime-1.0.2-gcc41.patch tvtime-1.0.2-locale_t.patch) -md5sums=('4b3d03afe61be239b08b5e522cd8afed' '29b0aefd80fddae68613854b627e044a'\ - 'c782789825dfa664e1f6fcc96ac7246c' '1069dc5b47bba8456cbf48e34cb5c0b6') +depends=('gcc-libs' 'libpng' 'libxml2' 'freetype2' 'libxtst' 'libxinerama' 'libxv' + 'libsm' 'libxxf86vm') +makedepends=('libxt' 'v4l-utils') +source=(http://downloads.sourceforge.net/sourceforge/tvtime/$pkgname-$pkgver.tar.gz + tvtime-1.0.2+linux-headers-2.6.18.patch + tvtime-1.0.2-gcc41.patch + tvtime-1.0.2-locale_t.patch) +md5sums=('4b3d03afe61be239b08b5e522cd8afed' + 'e956821745686b5b3a784f7471996ade' + 'c782789825dfa664e1f6fcc96ac7246c' + '1069dc5b47bba8456cbf48e34cb5c0b6') build() { cd $srcdir/$pkgname-$pkgver - patch -p1 < ../tvtime-1.0.2+linux-headers-2.6.18.patch || return 1 - patch -p1 < ../tvtime-1.0.2-gcc41.patch || return 1 - patch -p1 < ../tvtime-1.0.2-locale_t.patch || return 1 - ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc || return 1 - make || return 1 - make DESTDIR=$pkgdir install || return 1 - install -D -m644 docs/html/default.tvtime.xml $pkgdir/usr/share/tvtime/default.tvtime.xml || return 1 + patch -p1 < ../tvtime-1.0.2+linux-headers-2.6.18.patch + patch -p1 < ../tvtime-1.0.2-gcc41.patch + patch -p1 < ../tvtime-1.0.2-locale_t.patch + [ -f Makefile ] || ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc + make + make DESTDIR=$pkgdir install + install -D -m644 docs/html/default.tvtime.xml $pkgdir/usr/share/tvtime/default.tvtime.xml } diff --git a/community/tvtime/tvtime-1.0.2+linux-headers-2.6.18.patch b/community/tvtime/tvtime-1.0.2+linux-headers-2.6.18.patch index b1cfd49f1..d0772783d 100644 --- a/community/tvtime/tvtime-1.0.2+linux-headers-2.6.18.patch +++ b/community/tvtime/tvtime-1.0.2+linux-headers-2.6.18.patch @@ -2,14 +2,15 @@ Index: tvtime-1.0.2/src/videoinput.c =================================================================== --- tvtime-1.0.2.orig/src/videoinput.c +++ tvtime-1.0.2/src/videoinput.c -@@ -35,8 +35,8 @@ +@@ -35,8 +35,9 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#include "videodev.h" -#include "videodev2.h" -+#include <linux/videodev.h> ++#include <libv4l1-videodev.h> +#include <linux/videodev2.h> ++#define BASE_VIDIOCPRIVATE 192 /* 192-255 are private */ #include "videoinput.h" #include "mixer.h" |