diff --git a/anda/multimedia/vvenc/update.rhai b/anda/multimedia/vvenc/update.rhai new file mode 100644 index 0000000000..cb650ae083 --- /dev/null +++ b/anda/multimedia/vvenc/update.rhai @@ -0,0 +1,4 @@ +let v = gh_tag("fraunhoferhhi/vvenc"); +if `[\d.]+-rc\d+`.find_all(v).len == 0 { + rpm.version(v); +} diff --git a/anda/multimedia/vvenc/vvenc.spec b/anda/multimedia/vvenc/vvenc.spec index 260403c943..6ea29d0550 100644 --- a/anda/multimedia/vvenc/vvenc.spec +++ b/anda/multimedia/vvenc/vvenc.spec @@ -1,5 +1,7 @@ +%global build_cxxflags %{__build_flags_lang_cxx} %{?_distro_extra_cxxflags} -Wno-error=maybe-uninitialized -Wno-error=uninitialized + Name: vvenc -Version: 1.12.1 +Version: 1.13.1 Release: 1%{?dist} Summary: VVenC, the Fraunhofer Versatile Video Encoder License: BSD-3-Clause @@ -10,6 +12,9 @@ Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ +# Define this after the version is defined +%global vvenc_majorminor %(v=%{version}; echo ${v:0:4}) + %description VVenC, the Fraunhofer Versatile Video Encoder, is a fast and efficient software H.266/VVC encoder implementation with the following main features: @@ -40,7 +45,9 @@ developing applications that use %{name}. %autosetup -p1 %build -export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized -Wno-error=uninitialized" +%ifarch %ix86 +export LDFLAGS="%{optflags} -Wl,--unresolved-symbols=ignore-all" +%endif %cmake \ -DCMAKE_SKIP_INSTALL_RPATH=OFF \ -DVVENC_INSTALL_FULLFEATURE_APP=ON @@ -56,7 +63,7 @@ export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized -Wno-error=uninitial %files libs %license LICENSE.txt %doc README.md changelog.txt -%{_libdir}/lib%{name}.so.1.12 +%{_libdir}/lib%{name}.so.%{vvenc_majorminor} %{_libdir}/lib%{name}.so.%{version} %files devel @@ -66,8 +73,4 @@ export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized -Wno-error=uninitial %{_libdir}/pkgconfig/lib%{name}.pc %changelog -* Mon Nov 11 2024 Simone Caronni - 1.12.1-1 -- Update to 1.12.1. - -* Mon Aug 19 2024 Simone Caronni - 1.12.0-1 -- First build. \ No newline at end of file +%autochangelog