Accepting request 1010377 from home:iznogood:branches:multimedia:libs
- Drop _lto_cflags define, current version supports lto build. - Drop unneeded rpm BuildRequires. - Add pkgconfig(libxxhash) BuildRequires and stop passing xhash_muxer=disabled to meson, build hash_muxer support. - Add check section and meson_test macro, run tests during build. - Use ldconfig_scriptlets macro for post(un) handling. OBS-URL: https://build.opensuse.org/request/show/1010377 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=52
This commit is contained in:
parent
5056fc4ae5
commit
9705e88174
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 13 06:52:06 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Drop _lto_cflags define, current version supports lto build.
|
||||||
|
- Drop unneeded rpm BuildRequires.
|
||||||
|
- Add pkgconfig(libxxhash) BuildRequires and stop passing
|
||||||
|
xhash_muxer=disabled to meson, build hash_muxer support.
|
||||||
|
- Add check section and meson_test macro, run tests during build.
|
||||||
|
- Use ldconfig_scriptlets macro for post(un) handling.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 18 16:02:49 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
|
Fri Mar 18 16:02:49 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
17
dav1d.spec
17
dav1d.spec
@ -16,8 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
%define sover 6
|
%define sover 6
|
||||||
|
|
||||||
Name: dav1d
|
Name: dav1d
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -25,13 +25,13 @@ Summary: An AV1 decoder
|
|||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||||
URL: https://code.videolan.org/videolan/dav1d
|
URL: https://code.videolan.org/videolan/dav1d
|
||||||
Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/dav1d-%{version}.tar.gz
|
Source0: %{url}/-/archive/%{version}/dav1d-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
|
||||||
BuildRequires: meson >= 0.49.0
|
BuildRequires: meson >= 0.49.0
|
||||||
BuildRequires: nasm >= 2.14
|
BuildRequires: nasm >= 2.14
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
# necessary to meson
|
BuildRequires: pkgconfig(libxxhash)
|
||||||
BuildRequires: rpm >= 4.14
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
dav1d is a SIMD-enhanced decoder for AV1 video. It features
|
dav1d is a SIMD-enhanced decoder for AV1 video. It features
|
||||||
@ -64,15 +64,16 @@ Group: System/Libraries
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# disabling xxhash until it can be built properly
|
%meson
|
||||||
%meson -Dxxhash_muxer=disabled
|
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
%meson_test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
%ldconfig_scriptlets -n lib%{name}%{sover}
|
||||||
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user