diff options
author | Oleg Titov <oleg.titov@gmail.com> | 2019-12-27 12:21:52 -0600 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-27 20:06:13 +0100 |
commit | 19635232feac68178a038079f20ff04fb053581e (patch) | |
tree | f9eed0de1162960503cb65a1cc6f74b3f1b8e5f9 | |
parent | f382c78f156a32eb0bf7d0c9e3aeb460cc0d5834 (diff) | |
download | aports-19635232feac68178a038079f20ff04fb053581e.zip |
testing/svt-vp9: new aport
https://01.org/svt
Scalable Video Technology for VP9 Encoder (SVT-VP9)
-rw-r--r-- | testing/svt-vp9/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/svt-vp9/APKBUILD b/testing/svt-vp9/APKBUILD new file mode 100644 index 00000000000..6a99b736fb3 --- /dev/null +++ b/testing/svt-vp9/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Oleg Titov <oleg.titov@gmail.com> +# Maintainer: Oleg Titov <oleg.titov@gmail.com> +pkgname=svt-vp9 +pkgver=0.1.0 +pkgrel=0 +pkgdesc="Scalable Vector Technology for VP9 encoder (SVT-VP9 Encoder)" +url="https://01.org/svt" +arch="x86 x86_64" +license="BSD-2-Clause-Patent" +options="!check" # No test suite from upstream +makedepends="cmake yasm" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" +source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVisualCloud/SVT-VP9/archive/v$pkgver.tar.gz" +builddir="$srcdir/SVT-VP9-$pkgver" + +build() { + mkdir -p build + + cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" + + make +} + +package() { + cd build + + make DESTDIR="$pkgdir" install + + cd "$builddir" + + install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/"$pkgname" +} + +sha512sums="142403ecfe24b59b349780666c45a9c78228494261b05bc5df969a18489a643e91d73f24a84870392086e1802f7aa494ead5903201a46e30a1603b5140af9b32 svt-vp9-0.1.0.tar.gz" |