summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Girard2015-04-26 13:37:59 +0200
committerCedric Girard2015-04-26 13:37:59 +0200
commite04563f2fc245134b56f8ee994a57cd68a15e60a (patch)
tree81b42fdd91f1291815ae0ad60ddddbb03af052f5
parent7175a1640128a27fe3e415f2cd3f78fe471a8fbf (diff)
downloadaur-e04563f2fc245134b56f8ee994a57cd68a15e60a.tar.gz
libcec-git: switched to cmake
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8df539ea3b5..946017064eb 100644
--- a/.SRCINFO
+++ b/.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
diff --git a/PKGBUILD b/PKGBUILD
index 96dd914d82f..305f482d804 100644
--- a/PKGBUILD
+++ b/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
}