From 5259b198540c286d46d78cdeb1a2dffdb9779329 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 22 Sep 2014 13:59:16 +0000
Subject: dvb-firmware: disable xc5000 no_poweroff

not needed with the drivers in the kernel
---
 abs/core/dvb-firmware/PKGBUILD    | 12 ++++++------
 abs/core/dvb-firmware/xc5000.conf |  5 ++---
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/abs/core/dvb-firmware/PKGBUILD b/abs/core/dvb-firmware/PKGBUILD
index b03deac..59fe759 100644
--- a/abs/core/dvb-firmware/PKGBUILD
+++ b/abs/core/dvb-firmware/PKGBUILD
@@ -3,19 +3,19 @@
 
 pkgname=dvb-firmware
 pkgver=1
-pkgrel=19
+pkgrel=20
 pkgdesc="Firmware for DVB cards"
 replaces=('hd3000firmware')
 arch=('i586' 'i686' 'x86_64')
 url="http://linuxtv.org/"
 source=(dvb-firmware.tar.bz2 xc5000.conf)
 
-build() {
-  cd $startdir/src/
-  mkdir -p $startdir/pkg/lib/firmware
-  cp -a dvb-fw/* $startdir/pkg/lib/firmware
+package() {
+  cd $srcdir
+  mkdir -p ${pkgdir}/lib/firmware
+  cp -a dvb-fw/* ${pkgdir}/lib/firmware
   mkdir -p ${pkgdir}/etc/modprobe.d/
   install -D -m644 "${srcdir}/xc5000.conf" "${pkgdir}/etc/modprobe.d/"
 }
 md5sums=('d2ba68a1e49adbb71431295fc96cda60'
-         '08529c85be55836394d1047b85b869a3')
+         'ad7db39e2a2afe3ffc7e65fd5822517d')
diff --git a/abs/core/dvb-firmware/xc5000.conf b/abs/core/dvb-firmware/xc5000.conf
index 4124136..1b98fb0 100644
--- a/abs/core/dvb-firmware/xc5000.conf
+++ b/abs/core/dvb-firmware/xc5000.conf
@@ -1,6 +1,5 @@
 #   xc5000
-#   Disable power cycling and firmware reloads
+#   Disable power cycling and firmware reloads caused by device sleeping
 #
-#   When v4l-dvb is installed no_poweroff=1 is no longer needed.
 #
-options xc5000 no_poweroff=1
+#options xc5000 no_poweroff=1
-- 
cgit v0.12

