diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
commit | fff4c50d3a1d94c807604d6c21355993dfb95c85 (patch) | |
tree | 390f0eb0781b2599449edbdafbeb6aaba34200dc /abs/core/libcec | |
parent | 8de064f6e96f960cdbfe6868d9957a4613f704df (diff) | |
parent | 6f7a84649ef75069cc4fa06fabeb63e762e049d1 (diff) | |
download | linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.zip linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.gz linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/libcec')
-rw-r--r-- | abs/core/libcec/PKGBUILD | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/abs/core/libcec/PKGBUILD b/abs/core/libcec/PKGBUILD index b877e84..fc0c6c4 100644 --- a/abs/core/libcec/PKGBUILD +++ b/abs/core/libcec/PKGBUILD @@ -4,24 +4,31 @@ # vim: ft=sh: pkgname=libcec -pkgver=2.2.0 -pkgrel=1 +pkgver=3.1.0 +pkgrel=2 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter" arch=('i686' 'x86_64') url="http://libcec.pulse-eight.com/" license=('GPL') -depends=('udev' 'lockdev') +makedepends=('cmake') +depends=('udev' 'lockdev' 'p8-platform' 'libxrandr') source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz") +sha256sums=('09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921') build() { - cd "$pkgname-$pkgname-$pkgver" - autoreconf -vif - ./configure --prefix=/usr - make + cd "$pkgname-$pkgname-$pkgver" + mkdir build + cd build + 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 + cd "$pkgname-$pkgname-$pkgver/build" + make DESTDIR="$pkgdir" install } -sha256sums=('fd4f47a18d6e0f4b9e6f5831280207ee2b2a5fc2741ae32ae09ad12a8aa52917') |