Update to libvpx-1.7.0.

from Brad (maintainer)
This commit is contained in:
ajacoutot 2018-02-10 23:56:10 +00:00
parent 1055ea285d
commit 5e4d3b7304
5 changed files with 39 additions and 27 deletions

View File

@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.33 2017/12/20 18:15:04 jca Exp $
# $OpenBSD: Makefile,v 1.34 2018/02/10 23:56:10 ajacoutot Exp $
COMMENT= Google VP8/VP9 video codec
DISTNAME= libvpx-1.6.1
VER= 1.7.0
CATEGORIES= multimedia
MASTER_SITES= https://storage.googleapis.com/downloads.webmproject.org/releases/webm/
EXTRACT_SUFX= .tar.bz2
REVISION= 0
GH_ACCOUNT= webmproject
GH_PROJECT= libvpx
GH_TAGNAME= v${VER}
SHARED_LIBS= vpx 8.0
SHARED_LIBS= vpx 9.0
HOMEPAGE= http://www.webmproject.org/
HOMEPAGE= https://www.webmproject.org/
MAINTAINER= Brad Smith <brad@comstyle.com>

View File

@ -1,2 +1,2 @@
SHA256 (libvpx-1.6.1.tar.bz2) = HCwMKpf7qUdJQ7407jkzfe51Z4D8EocLodxoNyWGqBk=
SIZE (libvpx-1.6.1.tar.bz2) = 1959534
SHA256 (libvpx-1.7.0.tar.gz) = H+yTHrXJQnmtIZpbbgICNY6UqTqQz7FgNXjDJqv8Ejg=
SIZE (libvpx-1.7.0.tar.gz) = 2679797

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-build_make_Makefile,v 1.9 2016/08/07 01:33:52 ajacoutot Exp $
--- build/make/Makefile.orig Wed Jul 20 21:15:41 2016
+++ build/make/Makefile Fri Aug 5 18:45:04 2016
@@ -294,8 +294,7 @@ define so_template
$OpenBSD: patch-build_make_Makefile,v 1.10 2018/02/10 23:56:10 ajacoutot Exp $
Index: build/make/Makefile
--- build/make/Makefile.orig
+++ build/make/Makefile
@@ -301,8 +301,7 @@ define so_template
# This needs further abstraction for dealing with non-GNU linkers.
$(1):
$(if $(quiet),@echo " [LD] $$@")
@ -11,7 +12,7 @@ $OpenBSD: patch-build_make_Makefile,v 1.9 2016/08/07 01:33:52 ajacoutot Exp $
-Wl,--version-script,$$(EXPORTS_FILE) -o $$@ \
$$(filter %.o,$$^) $$(extralibs)
endef
@@ -380,7 +379,7 @@ LIBS=$(call enabled,LIBS)
@@ -387,7 +386,7 @@ LIBS=$(call enabled,LIBS)
.libs: $(LIBS)
@touch $@
$(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))

View File

@ -1,15 +1,25 @@
$OpenBSD: patch-configure,v 1.13 2017/01/15 09:59:11 ajacoutot Exp $
--- configure.orig Thu Jan 12 15:27:27 2017
+++ configure Sat Jan 14 18:47:23 2017
@@ -113,6 +113,7 @@ all_platforms="${all_platforms} armv7s-darwin-gcc"
all_platforms="${all_platforms} armv8-linux-gcc"
all_platforms="${all_platforms} mips32-linux-gcc"
$OpenBSD: patch-configure,v 1.14 2018/02/10 23:56:10 ajacoutot Exp $
Index: configure
--- configure.orig
+++ configure
@@ -116,6 +116,7 @@ all_platforms="${all_platforms} mips32-linux-gcc"
all_platforms="${all_platforms} mips64-linux-gcc"
all_platforms="${all_platforms} ppc64-linux-gcc"
all_platforms="${all_platforms} ppc64le-linux-gcc"
+all_platforms="${all_platforms} sparc-linux-gcc"
all_platforms="${all_platforms} sparc-solaris-gcc"
all_platforms="${all_platforms} x86-android-gcc"
all_platforms="${all_platforms} x86-darwin8-gcc"
@@ -175,19 +176,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
@@ -170,7 +171,7 @@ for t in ${all_targets}; do
[ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
done
-if ! diff --version >/dev/null; then
+if ! hash diff >/dev/null; then
die "diff missing: Try installing diffutils via your package manager."
fi
@@ -185,19 +186,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
fi
fi
@ -29,7 +39,7 @@ $OpenBSD: patch-configure,v 1.13 2017/01/15 09:59:11 ajacoutot Exp $
# disable codecs when their source directory does not exist
[ -d "${source_path}/vp8" ] || disable_codec vp8
[ -d "${source_path}/vp9" ] || disable_codec vp9
@@ -496,7 +484,7 @@ process_detect() {
@@ -518,7 +506,7 @@ process_detect() {
# here rather than at option parse time because the target auto-detect
# magic happens after the command line has been parsed.
case "${tgt_os}" in

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-libs_mk,v 1.13 2017/02/18 14:06:20 landry Exp $
--- libs.mk.orig Thu Jan 12 21:27:27 2017
+++ libs.mk Fri Feb 17 20:11:49 2017
$OpenBSD: patch-libs_mk,v 1.14 2018/02/10 23:56:10 ajacoutot Exp $
Index: libs.mk
--- libs.mk.orig
+++ libs.mk
@@ -115,10 +115,6 @@ endif
# Suppress -Wextra warnings in third party code.
@ -12,7 +13,7 @@ $OpenBSD: patch-libs_mk,v 1.13 2017/02/18 14:06:20 landry Exp $
ifeq ($(CONFIG_MSVS),yes)
CODEC_LIB=$(if $(CONFIG_STATIC_MSVCRT),vpxmt,vpxmd)
@@ -255,22 +251,17 @@ EXPORT_FILE := libvpx.def
@@ -256,22 +252,17 @@ EXPORT_FILE := libvpx.def
LIBVPX_SO_SYMLINKS :=
LIBVPX_SO_IMPLIB := libvpx_dll.a
else
@ -36,7 +37,7 @@ $OpenBSD: patch-libs_mk,v 1.13 2017/02/18 14:06:20 landry Exp $
$(BUILD_PFX)$(LIBVPX_SO): EXPORTS_FILE = $(EXPORT_FILE)
libvpx.ver: $(call enabled,CODEC_EXPORTS)
@@ -305,15 +296,7 @@ $(1): $(2)
@@ -306,15 +297,7 @@ $(1): $(2)
$(qexec)ln -sf $(2) $$@
endef