diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-04-25 19:42:37 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-04-25 19:42:37 (GMT) |
commit | 0d03dada4a5b7ab417b36d54ca7f1c0a690419c1 (patch) | |
tree | 763f7d95a61549f93540fb12cbb43d058b8c104f /abs/extra/p8-platform | |
parent | 0339e8d759c7dca27c873267f93c8059d2b8723f (diff) | |
download | linhes_pkgbuild-0d03dada4a5b7ab417b36d54ca7f1c0a690419c1.zip linhes_pkgbuild-0d03dada4a5b7ab417b36d54ca7f1c0a690419c1.tar.gz linhes_pkgbuild-0d03dada4a5b7ab417b36d54ca7f1c0a690419c1.tar.bz2 |
p8-platform: initial inclusion. dep of libcec
Diffstat (limited to 'abs/extra/p8-platform')
-rw-r--r-- | abs/extra/p8-platform/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/p8-platform/PKGBUILD b/abs/extra/p8-platform/PKGBUILD new file mode 100644 index 0000000..f0c3beb --- /dev/null +++ b/abs/extra/p8-platform/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> +# Contributor: Cedric Girard <girard.cedric@gmail.com> + +pkgname=p8-platform +pkgver=2.0.1 +pkgrel=2 +pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" +arch=('i686' 'x86_64') +url="https://github.com/Pulse-Eight/platform" +license=('GPL') +conflicts=('libplatform') +replaces=('libplatform') +makedepends=('cmake') +depends=('gcc-libs') +source=(https://github.com/Pulse-Eight/platform/archive/p8-platform-${pkgver}.tar.gz) +sha256sums=('e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf') + +build() { + cd "$srcdir"/platform-p8-platform-${pkgver} + 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 "$srcdir"/platform-p8-platform-${pkgver} + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |