mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/libcec to 3.1.0-2.1
This commit is contained in:
parent
cb5e24e3fb
commit
3e44ad528f
1 changed files with 11 additions and 3 deletions
|
@ -6,12 +6,13 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - Exynos support on v7
|
||||
# - patch to remove default to zero forces
|
||||
# - patch for ODROID-C2 CEC driver
|
||||
|
||||
buildarch=14
|
||||
|
||||
pkgname=libcec
|
||||
pkgver=3.1.0
|
||||
pkgrel=2
|
||||
pkgrel=2.1
|
||||
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://libcec.pulse-eight.com/"
|
||||
|
@ -19,13 +20,16 @@ license=('GPL')
|
|||
makedepends=('cmake')
|
||||
depends=('udev' 'lockdev' 'p8-platform' 'libxrandr')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz"
|
||||
'0001-remove-default-to-zero.patch')
|
||||
'0001-remove-default-to-zero.patch'
|
||||
'https://patch-diff.githubusercontent.com/raw/Pulse-Eight/libcec/pull/218.patch')
|
||||
sha256sums=('09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921'
|
||||
'33ce3121e393d7f5c162487d82aac9372a246cdb6eca73f0cfbde61bfaffa50f')
|
||||
'33ce3121e393d7f5c162487d82aac9372a246cdb6eca73f0cfbde61bfaffa50f'
|
||||
'7801b62f66925c36d475b9570aec636581df554406fee3973af5a34f2400f512')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgname-$pkgver"
|
||||
patch -p1 -i ../0001-remove-default-to-zero.patch
|
||||
patch -p1 -i ../218.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -35,6 +39,10 @@ build() {
|
|||
CONFIG='-DHAVE_EXYNOS_API=1'
|
||||
fi
|
||||
|
||||
if [[ $CARCH == 'aarch64' ]]; then
|
||||
CONFIG='-DHAVE_AOCEC_API=1'
|
||||
fi
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. \
|
||||
|
|
Loading…
Reference in a new issue