mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
* bump: vvenc
* feat: Add update script
* fix: Define global variable later
* I love 32-bit ifconds
* Oops
* It'd be nice if the LDFLAGS stuff was easier to look into
* ?
* Update vvenc.spec
* Screw it
* Try a less severe approach now that the issue is found?
* Sigh
---------
(cherry picked from commit 5b28230d3e)
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
let v = gh_tag("fraunhoferhhi/vvenc");
|
||||
if `[\d.]+-rc\d+`.find_all(v).len == 0 {
|
||||
rpm.version(v);
|
||||
}
|
||||
@@ -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 <negativo17@gmail.com> - 1.12.1-1
|
||||
- Update to 1.12.1.
|
||||
|
||||
* Mon Aug 19 2024 Simone Caronni <negativo17@gmail.com> - 1.12.0-1
|
||||
- First build.
|
||||
%autochangelog
|
||||
|
||||
Reference in New Issue
Block a user