summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lirc/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-09-08 07:33:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-09-08 07:33:44 (GMT)
commit525753e4a1a139e088d8ac120b19fbab6c0aaaa6 (patch)
tree35cef28abb613da4f58e83f6abbe4bd4cfa244bf /abs/core-testing/lirc/PKGBUILD
parent592e3cad43ef12c53f523145d0fd981b54f2a049 (diff)
parentb172f79fadb565ecfbcec9508f9377d8618a4f4c (diff)
downloadlinhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.zip
linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.gz
linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/lirc/PKGBUILD')
-rw-r--r--abs/core-testing/lirc/PKGBUILD68
1 files changed, 17 insertions, 51 deletions
diff --git a/abs/core-testing/lirc/PKGBUILD b/abs/core-testing/lirc/PKGBUILD
index 12dc3b4..8c3b5a6 100644
--- a/abs/core-testing/lirc/PKGBUILD
+++ b/abs/core-testing/lirc/PKGBUILD
@@ -1,38 +1,29 @@
-# $Id: PKGBUILD 14978 2008-10-11 21:04:37Z tpowa $
+# $Id: PKGBUILD 80419 2010-05-17 08:09:39Z tpowa $
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=lirc
-pkgver=0.8.5CVS
-pkgrel=17
-_kernver=2.6.28-LinHES
+pkgver=0.8.6
+pkgrel=5
+_kernver=2.6.34-LinHES
pkgdesc="Linux Infrared Remote Control kernel modules for stock arch kernel"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.lirc.org/"
license=('GPL')
-depends=('lirc-utils=0.8.5CVS' 'kernel26>=2.6.27' 'kernel26<2.6.29' 'iguanaIR')
-makedepends=('python')
+depends=('lirc-utils=0.8.6' 'kernel26>=2.6.34' 'kernel26<2.6.35')
+makedepends=('help2man' 'kernel26-headers>=2.6.34' 'kernel26-headers<2.6.35')
replaces=('lirc+pctv')
options=('!makeflags')
install=$pkgname.install
-source=(http://www.blushingpenguin.com/mark/lmilk/lirc-0.8.5-CVS-pvr150.tar.bz2 \
- kernel-2.6.26.patch
- kernel-2.6.27.patch
- lirc_atiusb.patch
- http://superb-east.dl.sourceforge.net/sourceforge/mod-mce/lirc_mod_mce-0.1.5.tar.bz2
- lirc_mod_mce.patch
- hw_commandir.c
- hw_commandir.h
- dvicoIR.rules
- lirc.fdi)
+source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'kernel-2.6.33.patch')
+md5sums=('4ca24da6f5e7c2dcea74878c27a4a3f7'
+ 'f029698154cf32bc51e5e69879d53a12')
build() {
# configure
- cd $startdir/src/lirc-0.8.5-CVS-pvr150 || return 1
- cp $startdir/src/hw_commandir.* $startdir/src/lirc-0.8.5-CVS-pvr150/daemons
-# patch -Np1 -i ../kernel-2.6.26.patch || return 1
-# patch -Np1 -i ../kernel-2.6.27.patch || return 1
- patch -Np1 -i ../lirc_atiusb.patch || return 1
-
+ cd ${srcdir}/lirc-${pkgver} || return 1
+ # see http://bugs.gentoo.org/301321
+ patch -p0 -i ../kernel-2.6.33.patch || return 1
./configure --enable-sandboxed --prefix=/usr \
--with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \
--with-moduledir=/lib/modules/${_kernver}/kernel/drivers/misc \
@@ -44,6 +35,7 @@ build() {
sed -i -e "s:lirc_parallel::" -e "s:lirc_bt829::" \
Makefile drivers/Makefile drivers/*/Makefile tools/Makefile \
|| return 1
+
# disable lirc_gpio due to brokeness of kernel 2.6.23
sed -i -e "s:lirc_gpio::" \
Makefile drivers/Makefile drivers/*/Makefile tools/Makefile \
@@ -52,35 +44,9 @@ build() {
# build
cd drivers || return 1
make || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ make DESTDIR=${pkgdir} install || return 1
# set the kernel we've built for inside the install script
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
- $startdir/lirc.install || return 1
- cd $startdir/src/lirc_mod_mce
- cp ../lirc-0.8.5-CVS-pvr150/drivers/lirc_dev/lirc_dev.h .
- patch -p1 < ../lirc_mod_mce.patch
- make KDIR=/usr/src/linux-2.6.28-LinHES/
- cp lirc_mod_mce.ko $startdir/pkg/lib/modules/2.6.28-LinHES/kernel/drivers/misc/
- mv $startdir/pkg/lib/modules/2.6.28-LinHES/kernel/drivers/misc/lirc_mceusb2.ko $startdir/pkg/lib/modules/2.6.28-LinHES/kernel/drivers/misc/lirc_mceusb2.ko.not
- #remove old commandir
- rm $startdir/pkg/lib/modules/$_kernver/kernel/drivers/misc/lirc_cmdir.ko
- rm $startdir/pkg/lib/modules/$_kernver/kernel/drivers/misc/commandir.ko
-
- # Add a udev rule for the DVICO remote so that if there is more than
- # one hiddev device, the system cant get confused.
- install -D -m644 $srcdir/dvicoIR.rules $pkgdir/etc/udev/rules.d/dvicoIR.rules
-
- # Add the fdi file to prevent the Dvico dual 4 remotes from screwing up keyboard interaction.
- install -D -m644 $srcdir/lirc.fdi $pkgdir/usr/share/hal/fdi/preprobe/20thirdparty/lirc.fdi
+ ${startdir}/lirc.install || return 1
}
-md5sums=('b96dae91b566143b3af433fa2714ec9a'
- '1753acd774f50b638e6173d364de53fd'
- '6f151eb4e81fc7776a06c9063e6ad9a5'
- '7eccd7826ab99e5cf1b9154171c8b927'
- '21ce358809105f005e888e3b138c59e6'
- 'b5d52566a9dae8d76e24e8753f33abef'
- 'f059f4030afc682c9539a03bf837c1cf'
- '4e698654cc44fc6c4163814acda5a7ee'
- '9a3a6dc03647ee6674a166dfb884ddd6'
- '203d9cd014c4276be4c84cecd103919d')