mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
Merge pull request #1322 from vrabac/master
alarm/libcec-rpi: fix compilation in non-git paths
This commit is contained in:
commit
09a9721976
1 changed files with 10 additions and 3 deletions
|
@ -11,7 +11,7 @@ buildarch=20
|
||||||
pkgname=libcec-rpi
|
pkgname=libcec-rpi
|
||||||
_pkgname=libcec
|
_pkgname=libcec
|
||||||
pkgver=3.0.1
|
pkgver=3.0.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter (Raspberry Pi)"
|
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter (Raspberry Pi)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://libcec.pulse-eight.com/"
|
url="http://libcec.pulse-eight.com/"
|
||||||
|
@ -20,8 +20,15 @@ makedepends=('cmake')
|
||||||
depends=('udev' 'lockdev' 'libplatform' 'libxrandr' 'raspberrypi-firmware')
|
depends=('udev' 'lockdev' 'libplatform' 'libxrandr' 'raspberrypi-firmware')
|
||||||
provides=('libcec')
|
provides=('libcec')
|
||||||
conflicts=('libcec')
|
conflicts=('libcec')
|
||||||
source=("$_pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$_pkgname/archive/$_pkgname-$pkgver.tar.gz")
|
source=("$_pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$_pkgname/archive/$_pkgname-$pkgver.tar.gz"
|
||||||
sha256sums=('7e3670c8949a1964d6e5481f56dfff838857da10bdc60b506f6e9b7f117e253e')
|
'https://github.com/Pulse-Eight/libcec/commit/2f32a9debc1f148b5dfcfc463480f1432bb71725.patch')
|
||||||
|
sha256sums=('7e3670c8949a1964d6e5481f56dfff838857da10bdc60b506f6e9b7f117e253e'
|
||||||
|
'83ca3b742831aa2e05297d11e238a0b0d1035a6404f60a6610acc8381d1c17ea')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$_pkgname-$_pkgname-$pkgver"
|
||||||
|
patch -Np1 -i "$srcdir/2f32a9debc1f148b5dfcfc463480f1432bb71725.patch"
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_pkgname-$_pkgname-$pkgver"
|
cd "$_pkgname-$_pkgname-$pkgver"
|
||||||
|
|
Loading…
Reference in a new issue