mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
775 B
Bash
28 lines
775 B
Bash
pkgname=libcec
|
|
pkgver=4.0.2
|
|
pkgrel=2
|
|
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
|
|
arch=('x86_64')
|
|
url="http://libcec.pulse-eight.com/"
|
|
license=('GPL')
|
|
depends=('lockdev' 'p8-platform' 'udev' 'libxrandr' 'swig' 'python3')
|
|
makedepends=('cmake')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz")
|
|
sha256sums=('b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgname-$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 "$pkgname-$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|