From 46a8970a3b19d668aa8876811d4eb136752138c6 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 10 Sep 2013 15:33:34 -0500
Subject: libcec: update to 2.1.3. refs #901

---
 abs/core/libcec/PKGBUILD | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/abs/core/libcec/PKGBUILD b/abs/core/libcec/PKGBUILD
index be742f5..e2ce13d 100644
--- a/abs/core/libcec/PKGBUILD
+++ b/abs/core/libcec/PKGBUILD
@@ -1,5 +1,10 @@
+# $Id$
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Philippe Cherel <philippe.cherel@mayenne.org>
+# vim: ft=sh:
+
 pkgname=libcec
-pkgver=1.8.0
+pkgver=2.1.3
 pkgrel=1
 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
 arch=('i686' 'x86_64')
@@ -7,14 +12,17 @@ url="https://github.com/Pulse-Eight/libcec"
 license=('GPL')
 depends=('udev' 'lockdev')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/$pkgname-$pkgver")
-_srcfolder=Pulse-Eight-libcec-b0a5e4f
-sha256sums=('3725d19cabec4bbd4142fd735bda43d33aad2a4a62b20ef337f395b549e7adec')
+_srcfolder=Pulse-Eight-libcec-54be21e
 options=(!libtool)
+sha256sums=('2aa88451b528184b02077ee8c6cd10e2f89121a6a05b1b35b4b792b03108a9d1')
 
 build() {
   mv "$_srcfolder" "$pkgname-$pkgver"
 
   cd "$pkgname-$pkgver"
+  export CFLAGS="$CFLAGS -fPIC"
+  export CXXFLAGS="$CXXFLAGS -fPIC"
+  export LDFLAGS="$LDFLAGS -fPIC"
   autoreconf -vif
   ./configure --prefix=/usr
   make
-- 
cgit v0.12

