diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-08-07 20:21:47 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-08-07 20:21:47 (GMT) |
commit | 906eebaf38dfb61464c8c68d14d1f12bbff9db64 (patch) | |
tree | 939a442dacc60b06e517a79b2b7cba32f5e8a6c4 /abs | |
parent | 35a8b2c75a53610337bfeb7ae493f66ebd001d86 (diff) | |
download | linhes_pkgbuild-906eebaf38dfb61464c8c68d14d1f12bbff9db64.zip linhes_pkgbuild-906eebaf38dfb61464c8c68d14d1f12bbff9db64.tar.gz linhes_pkgbuild-906eebaf38dfb61464c8c68d14d1f12bbff9db64.tar.bz2 |
libcec: update to 3.0.1
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/libcec/PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/abs/core/libcec/PKGBUILD b/abs/core/libcec/PKGBUILD index b877e84..11d4992 100644 --- a/abs/core/libcec/PKGBUILD +++ b/abs/core/libcec/PKGBUILD @@ -4,24 +4,31 @@ # vim: ft=sh: pkgname=libcec -pkgver=2.2.0 +pkgver=3.0.1 pkgrel=1 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' 'libplatform' 'libxrandr') source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz") +sha256sums=('7e3670c8949a1964d6e5481f56dfff838857da10bdc60b506f6e9b7f117e253e') 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') |