# $Id$ # Maintainer: BlackIkeEagle # Contributor: Philippe Cherel buildarch=16 pkgname=libcec-rpi pkgver=2.0.5 pkgrel=1 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter with support for raspberry pi" arch=('armv6h') url="https://github.com/Pulse-Eight/libcec" license=('GPL') depends=('udev' 'lockdev' 'raspberrypi-firmware') conflicts=('libcec') provides=('libcec') source=("libcec-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/libcec-$pkgver" "fix-boot_t.patch") sha256sums=('83d99cf759531d8c8a217f360f4748159cb9cedac98d77a4615450bad6d570c4' 'ba9b4030f3c2aa092a7c513629b60e82eeca7daf044576fa89b117409a8e883f') _srcfolder=Pulse-Eight-libcec-e1599e0 options=(!libtool) build() { mv "$_srcfolder" "$pkgname-$pkgver" cd "$pkgname-$pkgver" patch -p1 -i ../fix-boot_t.patch autoreconf -vif ./configure --prefix=/usr --enable-rpi \ --with-rpi-include-path="/opt/vc/include" \ --with-rpi-lib-path="/opt/vc/lib" make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install }