Accepting request 933411 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/933411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvpx?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2021-11-26 23:50:38 +00:00 committed by Git OBS Bridge
commit 4d576c30b0
3 changed files with 15 additions and 5 deletions

View File

@ -2,15 +2,18 @@ diff --git a/build/make/configure.sh b/build/make/configure.sh
index 00214c9d2..4001d6497 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -754,6 +754,12 @@ process_common_toolchain() {
@@ -754,6 +754,15 @@ process_common_toolchain() {
*i[3456]86*)
tgt_isa=x86
;;
+ *s390x*)
+ s390x*)
+ tgt_isa=s390x
+ ;;
+ *s390*)
+ s390*)
+ tgt_isa=s390
+ ;;
+ riscv64*)
+ tgt_isa=riscv64
+ ;;
*sparc*)
tgt_isa=sparc
@ -19,12 +22,13 @@ diff --git a/configure b/configure
index 6204f10b6..54ff8862b 100755
--- a/configure
+++ b/configure
@@ -116,6 +116,8 @@ all_platforms="${all_platforms} armv8-linux-gcc"
@@ -116,6 +116,9 @@ all_platforms="${all_platforms} armv8-linux-gcc"
all_platforms="${all_platforms} mips32-linux-gcc"
all_platforms="${all_platforms} mips64-linux-gcc"
all_platforms="${all_platforms} ppc64le-linux-gcc"
+all_platforms="${all_platforms} s390-linux-gcc"
+all_platforms="${all_platforms} s390x-linux-gcc"
+all_platforms="${all_platforms} riscv64-linux-gcc"
all_platforms="${all_platforms} sparc-solaris-gcc"
all_platforms="${all_platforms} x86-android-gcc"
all_platforms="${all_platforms} x86-darwin8-gcc"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 24 08:55:18 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Rename libvpx-configure-add-s390.patch to
libvpx-configure-add-arch.patch: add support for RISC-V
-------------------------------------------------------------------
Fri Oct 8 10:54:37 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -26,7 +26,7 @@ Group: Productivity/Multimedia/Other
URL: https://www.webmproject.org/
Source0: %{name}-%{version}.tar.xz
Source1000: baselibs.conf
Patch2: libvpx-configure-add-s390.patch
Patch2: libvpx-configure-add-arch.patch
# Needed to be able to create pkgconfig() provides.
BuildRequires: pkgconfig
BuildRequires: yasm