Add 'libplatform-git/' from commit 'a5c17cb56c53c5f1c25244ca062ed910496f6c53'
git-subtree-dir: libplatform-git git-subtree-mainline:5fa28ccdda
git-subtree-split:a5c17cb56c
This commit is contained in:
commit
e0842d8178
2 changed files with 55 additions and 0 deletions
18
libplatform-git/.SRCINFO
Normal file
18
libplatform-git/.SRCINFO
Normal file
|
@ -0,0 +1,18 @@
|
|||
pkgbase = libplatform-git
|
||||
pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi
|
||||
pkgver = 2.0.1.r2.g041a8c6
|
||||
pkgrel = 1
|
||||
url = https://github.com/Pulse-Eight/platform
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = git
|
||||
provides = libplatform
|
||||
provides = p8-platform
|
||||
conflicts = libplatform
|
||||
conflicts = p8-platform
|
||||
source = libplatform::git+https://github.com/Pulse-Eight/platform.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = libplatform-git
|
||||
|
37
libplatform-git/PKGBUILD
Normal file
37
libplatform-git/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
|
||||
pkgname=libplatform-git
|
||||
pkgver=2.0.1.r2.g041a8c6
|
||||
pkgrel=1
|
||||
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')
|
||||
makedepends=('git')
|
||||
provides=('libplatform' 'p8-platform')
|
||||
conflicts=('libplatform' 'p8-platform')
|
||||
source=('libplatform::git+https://github.com/Pulse-Eight/platform.git')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir"/libplatform
|
||||
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/p8\.platform\.//'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/libplatform
|
||||
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"/libplatform
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue