summaryrefslogtreecommitdiff
path: root/libs/libvpx/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libvpx/MAKEPKG')
-rw-r--r--libs/libvpx/MAKEPKG42
1 files changed, 42 insertions, 0 deletions
diff --git a/libs/libvpx/MAKEPKG b/libs/libvpx/MAKEPKG
new file mode 100644
index 0000000..57afa4d
--- /dev/null
+++ b/libs/libvpx/MAKEPKG
@@ -0,0 +1,42 @@
+#!/bin/mkpkg
+# description: VP8/VP9 video codec library
+# url: https://www.webmproject.org/
+
+name=libvpx
+version=1.17.0
+release=1
+depends=()
+makedeps=(nasm)
+source=(https://github.com/webmproject/libvpx/archive/v$version/$name-v$version.tar.gz)
+sha256sums=(
+ "1020f184046187baa2985dbde38e0691f49c44088bca7a1842b0236c6081dc0a"
+)
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --enable-vp8 \
+ --enable-vp9 \
+ --enable-vp9-highbitdepth \
+ --enable-vp9-temporal-denoising \
+ --enable-runtime-cpu-detect \
+ --enable-shared \
+ --enable-postproc \
+ --enable-pic \
+ --disable-static \
+ --disable-unit-tests \
+ --disable-install-docs \
+ --disable-install-srcs
+
+ make
+ make DIST_DIR="$PKG/usr" install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh