summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-04-03 15:01:11 -1000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:37 -1000
commit1a688304ccc6ef6f5eb2c361014c473b325c7283 (patch)
treeca0b08bd889b991f38049dc6051e743a76e93563
parentd1fe651fddace8beaa2f68e4d111cc053e6f08b9 (diff)
Make libvpx compile
-rw-r--r--data/libvpx/_metadata/description (renamed from data/vpx/_metadata/description)0
-rw-r--r--data/libvpx/_metadata/in.1443.00 (renamed from data/vpx/_metadata/in.1443.00)0
-rw-r--r--data/libvpx/_metadata/license31
l---------data/libvpx/_metadata/maintainer (renamed from data/vpx/_metadata/maintainer)0
-rw-r--r--data/libvpx/_metadata/priority (renamed from data/vpx/_metadata/priority)0
-rw-r--r--data/libvpx/_metadata/role (renamed from data/vpx/_metadata/role)0
-rw-r--r--data/libvpx/_metadata/section (renamed from data/vpx/_metadata/section)0
-rw-r--r--data/libvpx/_metadata/tags (renamed from data/vpx/_metadata/tags)0
-rw-r--r--data/libvpx/_metadata/version (renamed from data/vpx/_metadata/version)0
-rw-r--r--data/libvpx/libvpx-1.8.0.tar.gz (renamed from data/vpx/libvpx-1.8.0.tar.gz)bin2879302 -> 2879302 bytes
-rw-r--r--data/libvpx/make.sh14
-rw-r--r--data/libvpx/toolchain.diff (renamed from data/vpx/toolchain.diff)0
-rw-r--r--data/libvpx/vp9symbols.diff11
-rw-r--r--data/vpx/_metadata/name1
-rw-r--r--data/vpx/make.sh4
15 files changed, 56 insertions, 5 deletions
diff --git a/data/vpx/_metadata/description b/data/libvpx/_metadata/description
index 6bf7e93de..6bf7e93de 100644
--- a/data/vpx/_metadata/description
+++ b/data/libvpx/_metadata/description
diff --git a/data/vpx/_metadata/in.1443.00 b/data/libvpx/_metadata/in.1443.00
index e69de29bb..e69de29bb 100644
--- a/data/vpx/_metadata/in.1443.00
+++ b/data/libvpx/_metadata/in.1443.00
diff --git a/data/libvpx/_metadata/license b/data/libvpx/_metadata/license
new file mode 100644
index 000000000..1ce44343c
--- /dev/null
+++ b/data/libvpx/_metadata/license
@@ -0,0 +1,31 @@
+Copyright (c) 2010, The WebM Project authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ * Neither the name of Google, nor the WebM Project, nor the names
+ of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written
+ permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/data/vpx/_metadata/maintainer b/data/libvpx/_metadata/maintainer
index 0c538aadb..0c538aadb 120000
--- a/data/vpx/_metadata/maintainer
+++ b/data/libvpx/_metadata/maintainer
diff --git a/data/vpx/_metadata/priority b/data/libvpx/_metadata/priority
index 134d9bc32..134d9bc32 100644
--- a/data/vpx/_metadata/priority
+++ b/data/libvpx/_metadata/priority
diff --git a/data/vpx/_metadata/role b/data/libvpx/_metadata/role
index 8d0320866..8d0320866 100644
--- a/data/vpx/_metadata/role
+++ b/data/libvpx/_metadata/role
diff --git a/data/vpx/_metadata/section b/data/libvpx/_metadata/section
index 593877746..593877746 100644
--- a/data/vpx/_metadata/section
+++ b/data/libvpx/_metadata/section
diff --git a/data/vpx/_metadata/tags b/data/libvpx/_metadata/tags
index a8928cec8..a8928cec8 100644
--- a/data/vpx/_metadata/tags
+++ b/data/libvpx/_metadata/tags
diff --git a/data/vpx/_metadata/version b/data/libvpx/_metadata/version
index 27f9cd322..27f9cd322 100644
--- a/data/vpx/_metadata/version
+++ b/data/libvpx/_metadata/version
diff --git a/data/vpx/libvpx-1.8.0.tar.gz b/data/libvpx/libvpx-1.8.0.tar.gz
index 8dc457e83..8dc457e83 100644
--- a/data/vpx/libvpx-1.8.0.tar.gz
+++ b/data/libvpx/libvpx-1.8.0.tar.gz
Binary files differ
diff --git a/data/libvpx/make.sh b/data/libvpx/make.sh
new file mode 100644
index 000000000..b05758c7b
--- /dev/null
+++ b/data/libvpx/make.sh
@@ -0,0 +1,14 @@
+pkg:setup
+CROSS="${PKG_TARG}-" ./configure --target="${PKG_TARG}-gcc" --prefix=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix") --disable-static --enable-shared --enable-examples \
+ --enable-pic \
+ --enable-shared \
+ --disable-install-bins \
+ --disable-install-srcs \
+ --size-limit=16384x16384 \
+ --enable-postproc \
+ --enable-multi-res-encoding \
+ --enable-temporal-denoising \
+ --enable-vp9-temporal-denoising \
+ --enable-vp9-postproc
+pkg:make V=1
+pkg:install
diff --git a/data/vpx/toolchain.diff b/data/libvpx/toolchain.diff
index 8f60f97f5..8f60f97f5 100644
--- a/data/vpx/toolchain.diff
+++ b/data/libvpx/toolchain.diff
diff --git a/data/libvpx/vp9symbols.diff b/data/libvpx/vp9symbols.diff
new file mode 100644
index 000000000..49c1471d3
--- /dev/null
+++ b/data/libvpx/vp9symbols.diff
@@ -0,0 +1,11 @@
+diff -ur libvpx-1.8.0/libs.mk libvpx-1.8.0+iPhone/libs.mk
+--- libvpx-1.8.0/libs.mk 2019-02-04 07:02:33.000000000 -1000
++++ libvpx-1.8.0+iPhone/libs.mk 2019-04-03 14:50:11.000000000 -1000
+@@ -145,7 +145,6 @@
+ endif
+ CODEC_EXPORTS-yes += vpx/exports_com
+ CODEC_EXPORTS-$(CONFIG_ENCODERS) += vpx/exports_enc
+-CODEC_EXPORTS-$(CONFIG_VP9_ENCODER) += vpx/exports_spatial_svc
+ CODEC_EXPORTS-$(CONFIG_DECODERS) += vpx/exports_dec
+
+ INSTALL-LIBS-yes += include/vpx/vpx_codec.h
diff --git a/data/vpx/_metadata/name b/data/vpx/_metadata/name
deleted file mode 100644
index 8720e86b1..000000000
--- a/data/vpx/_metadata/name
+++ /dev/null
@@ -1 +0,0 @@
-Vpx
diff --git a/data/vpx/make.sh b/data/vpx/make.sh
deleted file mode 100644
index 07366620e..000000000
--- a/data/vpx/make.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-pkg:setup
-CROSS="${PKG_TARG}-" ./configure --target="${PKG_TARG}-gcc" --prefix=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix") --disable-static --enable-shared
-pkg:make V=1
-pkg:install