libcec-git: switched to cmake
This commit is contained in:
parent
7175a16401
commit
e04563f2fc
2 changed files with 11 additions and 7 deletions
5
.SRCINFO
5
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = libcec-git
|
||||
pkgdesc = Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter
|
||||
pkgver = 2.1.4.4.ga560d24
|
||||
pkgver = 2.1.4.149.gd2f8cf7
|
||||
pkgrel = 1
|
||||
epoch = 1
|
||||
url = https://github.com/Pulse-Eight/libcec
|
||||
|
@ -8,8 +8,11 @@ pkgbase = libcec-git
|
|||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = git
|
||||
makedepends = libplatform
|
||||
depends = udev>=151
|
||||
depends = lockdev
|
||||
depends = libplatform
|
||||
depends = libxrandr
|
||||
provides = libcec
|
||||
conflicts = libcec
|
||||
options = !libtool
|
||||
|
|
13
PKGBUILD
13
PKGBUILD
|
@ -2,14 +2,14 @@
|
|||
|
||||
pkgname=libcec-git
|
||||
epoch=1
|
||||
pkgver=2.1.4.4.ga560d24
|
||||
pkgver=2.1.4.149.gd2f8cf7
|
||||
pkgrel=1
|
||||
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/Pulse-Eight/libcec"
|
||||
license=('GPL')
|
||||
makedepends=('git')
|
||||
depends=('udev>=151' 'lockdev')
|
||||
makedepends=('git' 'libplatform')
|
||||
depends=('udev>=151' 'lockdev' 'libplatform' 'libxrandr')
|
||||
provides=('libcec')
|
||||
conflicts=('libcec')
|
||||
options=('!libtool')
|
||||
|
@ -23,9 +23,10 @@ pkgver() {
|
|||
|
||||
build() {
|
||||
cd "$srcdir"/libcec
|
||||
|
||||
autoreconf -vif
|
||||
./configure --prefix=/usr
|
||||
cmake . \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue