2012-11-27 18:13:51 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
|
|
|
|
# Contributor: Philippe Cherel <philippe.cherel@mayenne.org>
|
2012-09-29 19:22:50 +00:00
|
|
|
|
2012-09-29 18:31:38 +00:00
|
|
|
buildarch=16
|
|
|
|
|
2012-09-29 19:22:50 +00:00
|
|
|
pkgname=libcec-rpi
|
2013-03-22 21:52:20 +00:00
|
|
|
pkgver=2.1.1
|
2012-09-29 19:22:50 +00:00
|
|
|
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')
|
2013-03-22 21:52:20 +00:00
|
|
|
source=("https://github.com/Pulse-Eight/libcec/archive/libcec-$pkgver.tar.gz" "fix-boot_t.patch")
|
|
|
|
sha256sums=('f61378798d900d496ed3a5ff7747b0bb35bdfec9b5c4168dcea38396e3569bf1'
|
2012-11-27 18:13:51 +00:00
|
|
|
'ba9b4030f3c2aa092a7c513629b60e82eeca7daf044576fa89b117409a8e883f')
|
2012-09-29 19:22:50 +00:00
|
|
|
options=(!libtool)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
2013-03-22 21:52:20 +00:00
|
|
|
cd "libcec-libcec-$pkgver"
|
2012-11-27 18:13:51 +00:00
|
|
|
patch -p1 -i ../fix-boot_t.patch
|
2012-09-29 19:22:50 +00:00
|
|
|
autoreconf -vif
|
|
|
|
./configure --prefix=/usr --enable-rpi \
|
|
|
|
--with-rpi-include-path="/opt/vc/include" \
|
|
|
|
--with-rpi-lib-path="/opt/vc/lib"
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-03-22 21:52:20 +00:00
|
|
|
cd "libcec-libcec-$pkgver"
|
2012-09-29 19:22:50 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|