Merge pull request #272 from tgc-dk/master

libcec-rpi - libcec with support for raspberry pi
This commit is contained in:
Kevin Mihelich 2012-09-29 11:29:49 -07:00
commit 8e91be9c53
2 changed files with 34 additions and 1 deletions

33
alarm/libcec-rpi/PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# Contributor: tomasgroth at yahoo.dk
pkgname=libcec-rpi
pkgver=1.9.0
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=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/libcec-$pkgver")
_srcfolder=Pulse-Eight-libcec-217b236
sha256sums=('93c0c56b446f82ef71499fd88186c7212a92b037cb8a19516140216cc0aae68f')
options=(!libtool)
build() {
mv "$_srcfolder" "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
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
}

View file

@ -10,7 +10,7 @@ arch=('armv6h')
url="http://xbmc.org" url="http://xbmc.org"
license=('GPL' 'custom') license=('GPL' 'custom')
depends=('hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff' 'libpng' 'libcdio' 'yajl' 'libmysqlclient' 'libjpeg-turbo' 'libsamplerate' 'libssh' 'libmicrohttpd' 'python2' 'libass' 'libmpeg2' 'libmad' 'libmodplug' 'rtmpdump' 'unzip' 'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'libshairport' 'avahi' 'bluez' 'jasper' 'tinyxml' 'raspberrypi-firmware' 'sdl_image' 'libcec' 'libplist') depends=('hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff' 'libpng' 'libcdio' 'yajl' 'libmysqlclient' 'libjpeg-turbo' 'libsamplerate' 'libssh' 'libmicrohttpd' 'python2' 'libass' 'libmpeg2' 'libmad' 'libmodplug' 'rtmpdump' 'unzip' 'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'libshairport' 'avahi' 'bluez' 'jasper' 'tinyxml' 'raspberrypi-firmware' 'sdl_image' 'libcec' 'libplist')
makedepends=('boost' 'cmake' 'gperf' 'nasm' 'zip' 'libcec' 'udisks' 'upower' 'bluez' 'git' 'autoconf') makedepends=('boost' 'cmake' 'gperf' 'nasm' 'zip' 'libcec-rpi' 'udisks' 'upower' 'bluez' 'git' 'autoconf')
optdepends=( optdepends=(
'lirc: remote controller support' 'lirc: remote controller support'
'udisks: automount external drives' 'udisks: automount external drives'