libcec 3.1.0

This commit is contained in:
Adrián Chaves Fernández (Gallaecio) 2016-05-29 19:54:55 +02:00
parent 10d1088ffe
commit 47931f012c
4 changed files with 39 additions and 8 deletions

View File

@ -1,7 +1,7 @@
pkgname=kodi
pkgver=16.1
_codename=Jarvis
pkgrel=1
pkgrel=2
arch=('x86_64')
url="http://kodi.tv"
license=('GPL2')

View File

@ -4,20 +4,25 @@
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=libcec
pkgver=2.2.0
pkgver=3.1.0
pkgrel=1
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
arch=('x86_64')
url="http://libcec.pulse-eight.com/"
license=('GPL')
depends=('udev' 'lockdev')
depends=('lockdev' 'p8-platform' 'udev')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz")
sha256sums=('fd4f47a18d6e0f4b9e6f5831280207ee2b2a5fc2741ae32ae09ad12a8aa52917')
sha256sums=('09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921')
build() {
cd "$pkgname-$pkgname-$pkgver"
autoreconf -vif
./configure --prefix=/usr
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
make
}
@ -25,4 +30,3 @@ package() {
cd "$pkgname-$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}

View File

@ -2,7 +2,7 @@
pkgname=mythtv
pkgver=0.28
pkgrel=3
pkgrel=4
pkgdesc="A Homebrew PVR project"
arch=('x86_64')
url="http://www.mythtv.org/"

27
p8-platform/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
pkgname=p8-platform
pkgver=2.0.1
pkgrel=1
pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi"
arch=('x86_64')
url="https://github.com/Pulse-Eight/platform"
license=('GPL')
makedepends=('cmake')
depends=('gcc-libs')
source=(https://github.com/Pulse-Eight/platform/archive/p8-platform-${pkgver}.tar.gz)
sha256sums=('e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf')
build() {
cd "$srcdir"/platform-p8-platform-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
make
}
package() {
cd "$srcdir"/platform-p8-platform-${pkgver}
make DESTDIR="$pkgdir/" install
}