From 8cd0a2c03be58a6b03f05da0565286819897720a Mon Sep 17 00:00:00 2001 From: Nathan Harris Date: Sat, 10 Jan 2009 20:55:40 -0500 Subject: Added Hauppauge HD-PVR drivers --- abs/extra-testing/mercurial/ChangeLog | 17 ++++++++++++ abs/extra-testing/mercurial/PKGBUILD | 35 +++++++++++++++++++++++++ abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD | 27 +++++++++++++++++++ abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install | 23 ++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 abs/extra-testing/mercurial/ChangeLog create mode 100644 abs/extra-testing/mercurial/PKGBUILD create mode 100644 abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD create mode 100644 abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install diff --git a/abs/extra-testing/mercurial/ChangeLog b/abs/extra-testing/mercurial/ChangeLog new file mode 100644 index 0000000..fa0df00 --- /dev/null +++ b/abs/extra-testing/mercurial/ChangeLog @@ -0,0 +1,17 @@ + +2009-01-03 Douglas Soares de Andrade + + * Updated for i686: 1.1.2 + +2008-12-02 Douglas Soares de Andrade + + * Updated for i686: 1.1 + +2008-08-17 Douglas Soares de Andrade + + * Updated for i686: 1.0.2 + +2008-07-10 Douglas Soares de Andrade + + * Updated for i686: 1.0.1 + diff --git a/abs/extra-testing/mercurial/PKGBUILD b/abs/extra-testing/mercurial/PKGBUILD new file mode 100644 index 0000000..74de74a --- /dev/null +++ b/abs/extra-testing/mercurial/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 23135 2009-01-03 12:10:17Z douglas $ +# Contributor: Jeff Mickey +# Contributor: Giovanni Scafora +# Contributor: David 'SleepyDog' +# Maintainer: Douglas Soares de Andrade + +pkgname=mercurial +pkgver=1.1.2 +pkgrel=1 +pkgdesc="A scalable distributed SCM tool" +url="http://www.selenic.com/mercurial" +license=("GPL") +depends=('python>=2.5') +source=(http://www.selenic.com/mercurial/release/$pkgname-$pkgver.tar.gz) +arch=('i686' 'x86_64') + +build() { + cd $startdir/src/$pkgname-$pkgver + python setup.py install --root $startdir/pkg + + install -d $startdir/pkg/usr/share/man/{man1,man5} + install -m644 doc/hg.1 $startdir/pkg/usr/share/man/man1 + install -m644 doc/{hgrc.5,hgignore.5} $startdir/pkg/usr/share/man/man5 + install -m755 contrib/hgk $startdir/pkg/usr/bin + install -m644 -D contrib/zsh_completion $startdir/pkg/usr/share/zsh/site-functions/_hg + install -m644 -D contrib/bash_completion $startdir/pkg/etc/bash_completion.d/hg + install -d $startdir/pkg/usr/share/emacs/site-lisp + install -m644 contrib/{mq.el,mercurial.el} $startdir/pkg/usr/share/emacs/site-lisp + install -m644 -D contrib/vim/HGAnnotate.vim $startdir/pkg/usr/share/vim/syntax/HGAnnotate.vim + + # Autoloading plugins to vim = no good. + # install -d $startdir/pkg/usr/share/vim/plugin + # install -m644 contrib/vim/{hg-menu.vim,hgcommand.vim,patchreview.vim} $startdir/pkg/usr/share/vim/plugin +} +md5sums=('4fd3b9a2e5dcd025840c3849b136bec8') diff --git a/abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD b/abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD new file mode 100644 index 0000000..7464266 --- /dev/null +++ b/abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $ +# Maintainer: Cecil Watson + +pkgname=v4l-dvb-hdpvr +_kernver=2.6.26-ARCH +pkgver=1 +pkgrel=1 +pkgdesc="V4L-DVB drivers for HD-PVR from mercurial" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://linuxtv.org/" +depends=('kernel26') +replaces=(v4l-dvb) +makedepends=(kernel-headers) +install=v4l-dvb.install +source=() + +build() { + cd $startdir/src/ + hg clone http://hg.jannau.net/hdpvr/ || return 1 + cd hdpvr + make KERNDIR=/lib/modules/$_kernver/build \ + DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver all || return 1 + make KERNDIR=/lib/modules/$_kernver/build \ + DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver install || return 1 + rm -fr $startdir/pkg/lib/modules/$_kernver/modules* +} diff --git a/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install b/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install new file mode 100644 index 0000000..c87bb82 --- /dev/null +++ b/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install @@ -0,0 +1,23 @@ +# arg 1: the new package version +post_install() { + KERNEL_VERSION='2.6.26-ARCH' + depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + KERNEL_VERSION='2.6.26-ARCH' + depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 + +} + +# arg 1: the old package version +post_remove() { + KERNEL_VERSION='2.6.26-ARCH' + depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 +} + +op=$1 +shift +$op $* -- cgit v0.12