summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorThomas Schneider2019-03-08 22:58:12 +0100
committerThomas Schneider2019-03-08 22:58:12 +0100
commit194af716cd1aa8139bfce826116f8ed8fe69f019 (patch)
tree8d098ded37fbb6f84edb33209d5a1fe20478af6e /PKGBUILD
downloadaur-194af716cd1aa8139bfce826116f8ed8fe69f019.tar.gz
first commit of the svt vp9 encoder
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5d219dba550
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Thomas Schneider <maxmusterm@gmail.com>
+pkgname=svt-vp9-git
+pkgver=r6.e92a57c
+pkgrel=1
+pkgdesc="The Scalable Video Technology for VP9 Encoder (SVT-VP9 Encoder) is an VP9-compliant encoder library core."
+arch=('x86_64' 'i686')
+url="https://github.com/OpenVisualCloud/SVT-VP9"
+license=('GPL')
+groups=()
+depends=()
+makedepends=('cmake' 'gcc' 'yasm' 'git')
+checkdepends=()
+optdepends=()
+provides=('svt-vp9')
+conflicts=()
+replaces=('svt-vp9')
+backup=()
+options=()
+install=
+changelog=
+source=(svt-vp9::git+https://github.com/OpenVisualCloud/SVT-VP9.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ mkdir -p build
+ cd build
+ cmake .. -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr'
+# -DBUILD_TESTING=False
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"/build
+ make DESTDIR="$pkgdir/" install
+}
+