From c2b7d73506d47a5150486ee0d37fd5e2094440fb Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 31 Jan 2015 19:59:19 +0000
Subject: lirc: keep lirc_usb for firefly remote

---
 abs/core/lirc/PKGBUILD    | 8 ++++++--
 abs/core/lirc/__changelog | 4 ++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/abs/core/lirc/PKGBUILD b/abs/core/lirc/PKGBUILD
index 05e6398..0f71eba 100644
--- a/abs/core/lirc/PKGBUILD
+++ b/abs/core/lirc/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=lirc
 pkgname=('lirc' 'lirc-utils')
 _pkgver=0.9.1a
 [[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
-pkgrel=14
+pkgrel=15
 epoch=1
 _extramodules=extramodules-3.18-ARCH
 arch=('i686' 'x86_64')
@@ -56,8 +56,12 @@ build() {
   sed -e "s:lirc_dev::" -e "s:lirc_bt829::" -e "s:lirc_igorplugusb::" \
       -e "s:lirc_imon::" -e "s:lirc_parallel::" -e "s:lirc_sasem::" \
       -e "s:lirc_serial::" -e "s:lirc_sir::" -e "s:lirc_ttusbir::" \
-      -e "s:lirc_atiusb::" -e "s:lirc_i2c::" \
+      -e "s:lirc_i2c::" \
       -i Makefile drivers/Makefile drivers/*/Makefile tools/Makefile
+      #removed removing lirc_atiusb which is needed for the firefly 
+      #-e "s:lirc_atiusb::" -e "s:lirc_i2c::" \
+  #change include smp_lock.h to smp.h 
+  sed "s:linux/smp_lock.h:linux/smp.h:g" -i drivers/lirc_atiusb/lirc_atiusb.c
   make
 }
 
diff --git a/abs/core/lirc/__changelog b/abs/core/lirc/__changelog
index db66a42..c7649f3 100644
--- a/abs/core/lirc/__changelog
+++ b/abs/core/lirc/__changelog
@@ -1,2 +1,6 @@
 PKGBUILD: add 'iguanair' to make depends and package_lirc and package_lirc-utils depends
 PKGBUILD: symlink /etc/lircd.conf to package_lirc-utils
+PKGBUILD: removed removing    lirc_atiusb which is needed for the firefly 
+             -e "s:lirc_atiusb::"
+PKGBUILD: #change include smp_lock.h to smp.h
+          sed "s:linux/smp_lock.h:linux/smp.h:g" -i drivers/lirc_atiusb/lirc_atiusb.c
-- 
cgit v0.12

