summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lirc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/lirc/PKGBUILD')
-rw-r--r--abs/core-testing/lirc/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/abs/core-testing/lirc/PKGBUILD b/abs/core-testing/lirc/PKGBUILD
index ef2359b..f6fff65 100644
--- a/abs/core-testing/lirc/PKGBUILD
+++ b/abs/core-testing/lirc/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=lirc
pkgver=0.8.5CVS
-pkgrel=1
+pkgrel=2
_kernver=2.6.28-LinHES
pkgdesc="Linux Infrared Remote Control kernel modules for stock arch kernel"
arch=(i686 x86_64)
@@ -17,7 +17,9 @@ 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)
+ lirc_atiusb.patch
+ http://superb-east.dl.sourceforge.net/sourceforge/mod-mce/lirc_mod_mce-0.2.0.tar.bz2
+ lirc_mod_mce.patch)
build() {
# configure
@@ -50,7 +52,14 @@ build() {
# 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/
}
md5sums=('8f3ba7eb57529992f3991d6981a3feb6'
'1753acd774f50b638e6173d364de53fd'
- '6f151eb4e81fc7776a06c9063e6ad9a5')
+ '6f151eb4e81fc7776a06c9063e6ad9a5'
+ '563f992342df81317fe4ae2b1157cc5e'
+ 'a966b297a0768386f845348f736c6db3')