summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Titov <oleg.titov@gmail.com>2019-12-27 11:57:48 -0600
committerLeo <thinkabit.ukim@gmail.com>2019-12-27 20:06:12 +0100
commit9ad6f26562da7fc71126050304c5d7fe03281db7 (patch)
treefb29f0e33846d70834aef121e746621f308e16f0
parent9705b1aa74680b55c21edf92eaf781a374b55ee2 (diff)
downloadaports-9ad6f26562da7fc71126050304c5d7fe03281db7.zip
testing/svt-hevc: new aport
https://01.org/svt Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder)
-rw-r--r--testing/svt-hevc/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/svt-hevc/APKBUILD b/testing/svt-hevc/APKBUILD
new file mode 100644
index 00000000000..bf6851912ed
--- /dev/null
+++ b/testing/svt-hevc/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Oleg Titov <oleg.titov@gmail.com>
+# Maintainer: Oleg Titov <oleg.titov@gmail.com>
+pkgname=svt-hevc
+pkgver=1.4.3
+pkgrel=0
+pkgdesc="Scalable Vector Technology for HEVC encoder (SVT-HEVC 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-HEVC/archive/v$pkgver.tar.gz"
+builddir="$srcdir/SVT-HEVC-$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="93ab43c05b1dc7154f08d848e3ac2dd1ec5ee278abbb022718e8c8601efa4a25179144dbf0c9950da4c27052a53604d37edec471fce46b309e3c84eb99dd88c4 svt-hevc-1.4.3.tar.gz"