blob: 31e040aa94767525c118fbc677dacb7106f39c8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
pkgname=kms-jsonrpc
pkgver=6.17.0
pkgrel=1
pkgdesc="JSON-RPC library for Kurento media server"
arch=(any)
url="https://github.com/Kurento/kms-jsonrpc"
license=(apache)
depends=(boost kms-jsoncpp)
makedepends=(kms-cmake-utils)
source=("git+https://github.com/Kurento/$pkgname.git#tag=$pkgver" 'cmake-jsoncpp.patch')
sha256sums=(SKIP SKIP)
build() {
cd "$srcdir/$pkgname"
# Sadly can't use regular jsoncpp because kms-core depends on some differences
#patch -p0 <"../cmake-jsoncpp.patch"
local builddir="build"
rm -rf "$builddir"
mkdir -p "$builddir"
cd "$builddir"
cmake -DCMAKE_MODULES_INSTALL_DIR=/usr/share/cmake/Modules -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
local builddir=$srcdir/$pkgname/build
cd "$builddir"
make install DESTDIR="$pkgdir"
}
|