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
|
pkgbase = libcec-git
|
||||||
pkgdesc = Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter
|
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
|
pkgrel = 1
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = https://github.com/Pulse-Eight/libcec
|
url = https://github.com/Pulse-Eight/libcec
|
||||||
|
@ -8,8 +8,11 @@ pkgbase = libcec-git
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL
|
license = GPL
|
||||||
makedepends = git
|
makedepends = git
|
||||||
|
makedepends = libplatform
|
||||||
depends = udev>=151
|
depends = udev>=151
|
||||||
depends = lockdev
|
depends = lockdev
|
||||||
|
depends = libplatform
|
||||||
|
depends = libxrandr
|
||||||
provides = libcec
|
provides = libcec
|
||||||
conflicts = libcec
|
conflicts = libcec
|
||||||
options = !libtool
|
options = !libtool
|
||||||
|
|
13
PKGBUILD
13
PKGBUILD
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
pkgname=libcec-git
|
pkgname=libcec-git
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=2.1.4.4.ga560d24
|
pkgver=2.1.4.149.gd2f8cf7
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
|
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://github.com/Pulse-Eight/libcec"
|
url="https://github.com/Pulse-Eight/libcec"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
makedepends=('git')
|
makedepends=('git' 'libplatform')
|
||||||
depends=('udev>=151' 'lockdev')
|
depends=('udev>=151' 'lockdev' 'libplatform' 'libxrandr')
|
||||||
provides=('libcec')
|
provides=('libcec')
|
||||||
conflicts=('libcec')
|
conflicts=('libcec')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
|
@ -23,9 +23,10 @@ pkgver() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir"/libcec
|
cd "$srcdir"/libcec
|
||||||
|
cmake . \
|
||||||
autoreconf -vif
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
./configure --prefix=/usr
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue