aboutsummaryrefslogblamecommitdiffstats
path: root/testing/kodi-inputstream-ffmpegdirect/APKBUILD
blob: d3ea69290158f5c12bc7249f20dd3384e3e0092a (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                     
             




                                                                                                                                        
                                      
















                                                                                                                    
            
                                                                                                                                                                             
 
# Contributor: Damian Kurek <starfire24680@gmail.com>
# Maintainer: Damian Kurek <starfire24680@gmail.com>
pkgname=kodi-inputstream-ffmpegdirect
pkgver=19.0.3
_realname=Matrix
pkgrel=0
pkgdesc="Supports streams opened by FFmpeg's libavformat or Kodi's cURL such as plain TS, HLS and DASH (non-DRM) as well as many others"
options="!check" # no test suite
url="https://github.com/xbmc/inputstream.ffmpegdirect"
arch="x86 x86_64 aarch64 armv7" # kodi
license="GPL-2.0-only"
makedepends="cmake kodi-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/xbmc/inputstream.ffmpegdirect/archive/$pkgver-$_realname.tar.gz"
builddir="$srcdir/inputstream.ffmpegdirect-$pkgver-$_realname"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_MODULE_PATH=/usr/lib/cmake/kodi
	make -C build
}

package() {
	make -C build DESTDIR="$pkgdir" install
}

sha512sums="
9c22e4241b0bc6163822b4ec0239ab975436c3a6cf55a150019cd704f6cf5512970d33925cda15f81f4f96b9c4811c3260fb7b3b16473409126c57ede74b8c31  kodi-inputstream-ffmpegdirect-19.0.3.tar.gz
"