From 8cd0a2c03be58a6b03f05da0565286819897720a Mon Sep 17 00:00:00 2001 From: Nathan Harris <nharris@eoimaging.com> 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 <douglas@archlinux.org> + + * Updated for i686: 1.1.2 + +2008-12-02 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 1.1 + +2008-08-17 Douglas Soares de Andrade <douglas@archlinux.org> + + * Updated for i686: 1.0.2 + +2008-07-10 Douglas Soares de Andrade <douglas@archlinux.org> + + * 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 <jeff@archlinux.org> +# Contributor: Giovanni Scafora <linuxmania@gmail.com> +# Contributor: David 'SleepyDog' <goodluv@gmail.com> +# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org> + +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<knoppmyth@gmail.com> + +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 From c9a21e49990da76516f862b690aa8e7ceda42e46 Mon Sep 17 00:00:00 2001 From: Nathan Harris <nharris@eoimaging.com> Date: Sat, 10 Jan 2009 21:21:13 -0500 Subject: renamed install file --- .../v4l-dvb-hdpvr/v4l-dvb-hdpvr.install | 23 ++++++++++++++++++++++ abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install | 23 ---------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb-hdpvr.install delete mode 100644 abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install diff --git a/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb-hdpvr.install b/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb-hdpvr.install new file mode 100644 index 0000000..c87bb82 --- /dev/null +++ b/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb-hdpvr.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 $* diff --git a/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install b/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install deleted file mode 100644 index c87bb82..0000000 --- a/abs/extra-testing/v4l-dvb-hdpvr/v4l-dvb.install +++ /dev/null @@ -1,23 +0,0 @@ -# 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 From c18b7a805648a5920424454ec5237d699ce4eecc Mon Sep 17 00:00:00 2001 From: Nathan Harris <nharris@eoimaging.com> Date: Sat, 10 Jan 2009 21:24:44 -0500 Subject: changed install file --- abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD b/abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD index 7464266..d10c398 100644 --- a/abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD +++ b/abs/extra-testing/v4l-dvb-hdpvr/PKGBUILD @@ -12,7 +12,7 @@ url="http://linuxtv.org/" depends=('kernel26') replaces=(v4l-dvb) makedepends=(kernel-headers) -install=v4l-dvb.install +install=v4l-dvb-hdpvr.install source=() build() { -- cgit v0.12