Sync from SUSE:SLFO:Main libdovi revision 2ca26037ef14b4a02b9025c5e83864cb

This commit is contained in:
Adrian Schröter 2024-10-25 16:21:30 +02:00
commit 2d486de033
7 changed files with 171 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

8
_service Normal file
View File

@ -0,0 +1,8 @@
<services>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">libdovi-3.3.1.tar.gz</param>
<param name="cargotoml">dolby_vision/Cargo.toml</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
</services>

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libdovi3

BIN
libdovi-3.3.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

42
libdovi.changes Normal file
View File

@ -0,0 +1,42 @@
-------------------------------------------------------------------
Wed Sep 18 17:55:38 UTC 2024 - llyyr <llyyr@yukari.in>
- Update to 3.3.1:
* Changed AV1 function signatures to take slices as input and
return a Vec.
* Added write_av1_rpu_metadata_obu_t35_complete function to encode
RPUs in complete metadata OBU payloads.
* XML parser: support decimals when parsing Level6 MaxCLL/MaxFALL
values.
* Added DoviRpu::parse_itu_t35_dovi_metadata_obu and deprecated
av1::parse_itu_t35_dovi_metadata_obu.
* Fixed encoding AV1 payloads with trailing bytes. They are now
discarded.
* Added dovi_write_av1_rpu_metadata_obu_t35_{payload,complete}
functions.
* Added dovi_parse_itu_t35_dovi_metadata_obu function.
* Added support for parsing ext_mapping_idc in RpuDataHeader.
-------------------------------------------------------------------
Wed Oct 25 17:30:31 UTC 2023 - llyyr <llyyr.public@gmail.com>
- Update to 3.2.0
* Added write_av1_rpu_metadata_obu_t35_complete function to encode
RPUs in complete metadata OBU payloads.
* Added dovi_write_av1_rpu_metadata_obu_t35_{payload,complete}
functions.
-------------------------------------------------------------------
Tue Mar 21 08:14:09 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Add baselibs.conf for libplacebo/ffmpeg-6
-------------------------------------------------------------------
Mon Feb 20 19:31:02 UTC 2023 - llyyr <llyyr.public@gmail.com>
- Update to 3.1.2
-------------------------------------------------------------------
Mon Feb 20 09:52:45 UTC 2023 - llyyr <llyyr.public@gmail.com>
- Initial package at 3.1.1

91
libdovi.spec Normal file
View File

@ -0,0 +1,91 @@
#
# spec file for package libdovi
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 3
Name: libdovi
Version: 3.3.1
Release: 0
Summary: Library to read & write Dolby Vision metadata
Group: Development/Libraries/Rust
License: MIT
URL: https://github.com/quietvoid/dovi_tool/tree/main/dolby_vision
Source0: https://github.com/quietvoid/dovi_tool/archive/refs/tags/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source9: baselibs.conf
BuildRequires: cargo-c
BuildRequires: cargo-packaging
BuildRequires: git
%description
Library to read & write Dolby Vision metadata
%package devel
Summary: Development libraries for %{name}
Group: Development/Libraries/C and C++
Requires: %{name}%{sover} = %{version}
%description devel
The %{name}-devel package contains C header files for
developing applications that use %{name}.
%package -n %{name}%{sover}
Summary: Library to read & write Dolby Vision metadata
Group: System/Libraries
%description -n %{name}%{sover}
Library to read & write Dolby Vision metadata
%prep
%setup -a1 -q -n dovi_tool-%{name}-%{version}/dolby_vision
%build
CFLAGS="%{optflags}" cargo cbuild \
--release \
--offline \
--prefix=%{_prefix} \
--library-type=cdylib
%install
cargo cinstall \
--release \
--offline \
--destdir=%{buildroot} \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--includedir=%{_includedir} \
--pkgconfigdir=%{_libdir}/pkgconfig \
--library-type=cdylib
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n %{name}%{sover}
%doc README.md
%license LICENSE
%{_libdir}/%{name}.so.*
%files devel
%doc README.md
%license LICENSE
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/dovi.pc
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/rpu_parser.h
%changelog

BIN
vendor.tar.zst (Stored with Git LFS) Normal file

Binary file not shown.