diff --git a/_service b/_service
index 9d2203c..28c840b 100644
--- a/_service
+++ b/_service
@@ -4,7 +4,7 @@
git
@PARENT_TAG@
v(.*)
- v1.11.0
+ v1.12.0
diff --git a/libvpx-1.11.0.obscpio b/libvpx-1.11.0.obscpio
deleted file mode 100644
index b22e16a..0000000
--- a/libvpx-1.11.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d75352f51539ead950ff207963678f545ed98267593e9fb03e351cb21418f740
-size 22582285
diff --git a/libvpx-1.12.0.obscpio b/libvpx-1.12.0.obscpio
new file mode 100644
index 0000000..6c35d07
--- /dev/null
+++ b/libvpx-1.12.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c5d8cdf339d5d5a07893ef9452699dbe14da96f89684f6bcf6212c59f282cfdf
+size 23551501
diff --git a/libvpx.changes b/libvpx.changes
index 8e9f17c..de2ef35 100644
--- a/libvpx.changes
+++ b/libvpx.changes
@@ -1,3 +1,21 @@
+-------------------------------------------------------------------
+Fri Jul 22 21:46:30 UTC 2022 - Dirk Müller
+
+- update to 1.12.0:
+ This release adds optimizations for Loongarch, adds support for vp8 in the
+ real-time rate control library, upgrades GoogleTest to v1.11.0, updates
+ libwebm to libwebm-1.0.0.28-20-g206d268, and includes numerous bug fixes.
+ - Enhancement:
+ Numerous improvements on checking memory allocations.
+ Optimizations for Loongarch.
+ Code clean-up.
+ - Bug fixes:
+ Fix to a crash related to {vp8/vp9}_set_roi_map.
+ Fix to compiling failure with -Wformat-nonliteral.
+ Fix to integer overflow with vp9 with high resolution content.
+ Fix to AddNoiseTest failure with ARMv7.
+ Fix to libvpx Null-dereference READ in vp8.
+
-------------------------------------------------------------------
Wed Nov 24 08:55:18 UTC 2021 - Callum Farmer
diff --git a/libvpx.obsinfo b/libvpx.obsinfo
index 269b180..4f7ee19 100644
--- a/libvpx.obsinfo
+++ b/libvpx.obsinfo
@@ -1,4 +1,4 @@
name: libvpx
-version: 1.11.0
-mtime: 1633542079
-commit: 626ff35955c2c35b806b3e0ecf551a1a8611cdbf
+version: 1.12.0
+mtime: 1656442848
+commit: 03265cd42b3783532de72f2ded5436652e6f5ce3
diff --git a/libvpx.spec b/libvpx.spec
index 795a0b5..9b688ce 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -1,7 +1,7 @@
#
# spec file for package libvpx
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define sover 7
Name: libvpx
-Version: 1.11.0
+Version: 1.12.0
Release: 0
Summary: VP8/VP9 codec library
License: BSD-3-Clause AND GPL-2.0-or-later
@@ -27,12 +27,11 @@ URL: https://www.webmproject.org/
Source0: %{name}-%{version}.tar.xz
Source1000: baselibs.conf
Patch2: libvpx-configure-add-arch.patch
+# only needed for test suite
+BuildRequires: gcc-c++
# Needed to be able to create pkgconfig() provides.
BuildRequires: pkgconfig
BuildRequires: yasm
-
-# only needed for test suite
-BuildRequires: gcc-c++
# add curl and do not copy it in to get an updated test-data.sha1 file
#BuildRequires: curl
@@ -99,13 +98,8 @@ sed -i~ 's@ssse3@@' build/make/rtcd.pl
%endif
cd build
# It is only an emulation of autotools configure; the macro does not work
-
-# libvpx default enable NEON support on ARMv7, unfortunately some ARMv7
-# CPU doesn't have NEON, e.g. NVIDIA Tegra 2.
-# So, we still set -mfpu=neon when build libvpx rpm, but also enable
-# runtime-cpu-detect for runtime detect NEON.
-export CFLAGS="%optflags -O3"
-export CXXFLAGS="%optflags -O3"
+export CFLAGS="%{optflags} -O3"
+export CXXFLAGS="%{optflags} -O3"
../configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
@@ -138,7 +132,7 @@ export CXXFLAGS="%optflags -O3"
echo '#define DECODE_WIDTH_LIMIT 8192' >> vpx_config.h
echo '#define DECODE_HEIGHT_LIMIT 8192' >> vpx_config.h
-make %{?_smp_mflags} verbose=yes GEN_EXAMPLES=
+%make_build verbose=yes GEN_EXAMPLES=
%install
cd build
@@ -152,7 +146,6 @@ make %{?_smp_mflags} verbose=yes GEN_EXAMPLES= DESTDIR=%{buildroot} install
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n vpx-tools
-%defattr(-,root,root)
%{_bindir}/*
%files -n %{name}%{sover}