Skip to content

Commit

Permalink
Merge branch 'jb42069' into 'master'
Browse files Browse the repository at this point in the history
[vpx] Update to v1.8.1. JB#42069

See merge request mer-core/libvpx!3
  • Loading branch information
Andrew Branson committed Nov 14, 2019
2 parents 3dc5946 + 2abcc8e commit b9f53f8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
@@ -1,3 +1,3 @@
[submodule "upstream"]
path = upstream
url = https://git.merproject.org/mirror/libvpx.git
url = https://git.sailfishos.org/mirror/libvpx.git
@@ -0,0 +1,20 @@
From 8023d80a76090469e19174c91ab469134988ad42 Thu, 9 May 2019 13:33:58 +0200
From: Andrew Branson <andrew.branson@jollamobile.com>
Date: Thu, 9 May 2019 13:33:15 +0200
Subject: [PATCH] Skip diff version check, that doesn't work with busybox

diff --git a/configure b/configure
index 6204f10..5e3f4b2 100755
--- a/configure
+++ b/configure
@@ -166,10 +166,6 @@
[ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
done

-if ! diff --version >/dev/null; then
- die "diff missing: Try installing diffutils via your package manager."
-fi
-
if ! perl --version >/dev/null; then
die "Perl is required to build"
fi
10 changes: 4 additions & 6 deletions rpm/libvpx.spec
@@ -1,12 +1,13 @@
Name: libvpx
Version: 1.7.0
Version: 1.8.1
Release: 1
Summary: VPx codec library
License: BSD
Group: Applications/Multimedia
Url: http://www.webmproject.org/
Source0: %{name}-%{version}.tar.gz
Patch1: 0001-armv7-use-hard-float.patch
Patch2: 0002-Skip-diff-version-check-that-doesnt-work-with-busybo.patch
%ifarch %{ix86} x86_64
BuildRequires: yasm
%endif
Expand Down Expand Up @@ -45,7 +46,7 @@ Requires: %{name} = %{version}-%{release}

%prep
%setup -q -n %{name}-%{version}/upstream
%patch1 -p1
%autopatch -p1

%build

Expand All @@ -55,10 +56,7 @@ Requires: %{name} = %{version}-%{release}
--enable-debug --enable-shared --disable-static \
--enable-vp8 --enable-vp9 --enable-vp9-highbitdepth \
--enable-multithread --enable-postproc \
--enable-experimental --enable-spatial-svc \
%ifarch aarch64
--disable-neon --disable-neon_asm \
%endif
--enable-experimental \
%ifarch %{ix86} x86_64
--as=yasm \
%endif
Expand Down
2 changes: 1 addition & 1 deletion upstream
Submodule upstream updated from f80be2 to 8ae686

0 comments on commit b9f53f8

Please sign in to comment.