blob: d54241b701a2c5404bc2e64a8abc05bf091cf9cb (
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
32
33
34
|
# Maintainer: ivanich
pkgname=kodi-addon-inputstream-ffmpegdirect
pkgver=21.3.5
pkgrel=5
pkgdesc="Inputstream ffmpegdirect kodi plugin"
_koditarget=Omega
_gitname=inputstream.ffmpegdirect
arch=('armv6h' 'armv7h' 'aarch64' 'i686' 'x86_64')
url="https://github.com/xbmc/${_gitname}"
license=('GPL')
groups=('kodi')
makedepends=('cmake' 'git' 'pkgconf' 'kodi-dev')
provides=('kodi-addon-inputstream-ffmpegdirect')
depends=('kodi')
source=("https://github.com/xbmc/${_gitname}/archive/${pkgver}-${_koditarget}.tar.gz")
sha256sums=('b28ccbd489d9b69779fd818ee158f69ebd6fd85b1f0410ffc8098ff0c8665bdc')
build() {
mkdir -p "${_gitname}-${pkgver}-${_koditarget}/build"
cd "${_gitname}-${pkgver}-${_koditarget}/build"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
}
package() {
cd "${_gitname}-${pkgver}-${_koditarget}/build"
make DESTDIR="${pkgdir}" install
}
|