From 03423e0583057cbe5a16f8439183e2dbc0e8dd7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 19:17:24 +0300 Subject: secondary commit --- extra/libvpx/build | 23 +++++++++++++++++++++++ extra/libvpx/checksums | 2 ++ extra/libvpx/depends | 2 ++ extra/libvpx/patches/fix-busybox-diff.patch | 13 +++++++++++++ extra/libvpx/sources | 2 ++ extra/libvpx/version | 1 + 6 files changed, 43 insertions(+) create mode 100755 extra/libvpx/build create mode 100644 extra/libvpx/checksums create mode 100644 extra/libvpx/depends create mode 100644 extra/libvpx/patches/fix-busybox-diff.patch create mode 100644 extra/libvpx/sources create mode 100644 extra/libvpx/version (limited to 'extra/libvpx') diff --git a/extra/libvpx/build b/extra/libvpx/build new file mode 100755 index 00000000..04d7a732 --- /dev/null +++ b/extra/libvpx/build @@ -0,0 +1,23 @@ +#!/bin/sh -e + +patch -p1 < fix-busybox-diff.patch + +./configure \ + --prefix=/usr \ + --enable-vp8 \ + --enable-vp9 \ + --disable-tools \ + --disable-examples \ + --disable-docs \ + --enable-experimental \ + --enable-runtime-cpu-detect \ + --enable-shared \ + --enable-postproc \ + --enable-pic \ + --disable-install-docs \ + --disable-install-srcs \ + --disable-install-bins \ + --as=yasm + +make +make DESTDIR="$1" install diff --git a/extra/libvpx/checksums b/extra/libvpx/checksums new file mode 100644 index 00000000..819af214 --- /dev/null +++ b/extra/libvpx/checksums @@ -0,0 +1,2 @@ +df19b8f24758e90640e1ab228ab4a4676ec3df19d23e4593375e6f3847dee03e v1.8.1.tar.gz +ce802d64bcbeb4230527aea2b4284d9844fb12fa5aca868a94e03982f85ec45b fix-busybox-diff.patch diff --git a/extra/libvpx/depends b/extra/libvpx/depends new file mode 100644 index 00000000..30287002 --- /dev/null +++ b/extra/libvpx/depends @@ -0,0 +1,2 @@ +perl make +yasm make diff --git a/extra/libvpx/patches/fix-busybox-diff.patch b/extra/libvpx/patches/fix-busybox-diff.patch new file mode 100644 index 00000000..fa93b0a6 --- /dev/null +++ b/extra/libvpx/patches/fix-busybox-diff.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index e5a74c6..11f660d 100755 +--- a/configure ++++ b/configure +@@ -170,7 +170,7 @@ for t in ${all_targets}; do + [ -f "${source_path}/${t}.mk" ] && enable_feature ${t} + done + +-if ! diff --version >/dev/null; then ++if ! command -v diff >/dev/null; then + die "diff missing: Try installing diffutils via your package manager." + fi + diff --git a/extra/libvpx/sources b/extra/libvpx/sources new file mode 100644 index 00000000..1927b430 --- /dev/null +++ b/extra/libvpx/sources @@ -0,0 +1,2 @@ +https://github.com/webmproject/libvpx/archive/v1.8.1.tar.gz +patches/fix-busybox-diff.patch diff --git a/extra/libvpx/version b/extra/libvpx/version new file mode 100644 index 00000000..8aa37bcd --- /dev/null +++ b/extra/libvpx/version @@ -0,0 +1 @@ +1.8.1 1 -- cgit v1.2.3