diff --git a/dav1d.changes b/dav1d.changes index b06460a..cdfe1d5 100644 --- a/dav1d.changes +++ b/dav1d.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Oct 13 06:52:06 UTC 2022 - Bjørn Lie + +- 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. + ------------------------------------------------------------------- Fri Mar 18 16:02:49 UTC 2022 - Luigi Baldoni diff --git a/dav1d.spec b/dav1d.spec index f56920c..98b8b86 100644 --- a/dav1d.spec +++ b/dav1d.spec @@ -16,8 +16,8 @@ # -%define _lto_cflags %{nil} %define sover 6 + Name: dav1d Version: 1.0.0 Release: 0 @@ -25,13 +25,12 @@ Summary: An AV1 decoder License: BSD-2-Clause Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://code.videolan.org/videolan/dav1d -Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/dav1d-%{version}.tar.gz +Source: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/dav1d-%{version}.tar.gz Source99: baselibs.conf BuildRequires: meson >= 0.49.0 BuildRequires: nasm >= 2.14 BuildRequires: pkgconfig -# necessary to meson -BuildRequires: rpm >= 4.14 +BuildRequires: pkgconfig(libxxhash) %description dav1d is a SIMD-enhanced decoder for AV1 video. It features @@ -64,10 +63,12 @@ Group: System/Libraries %autosetup -p1 %build -# disabling xxhash until it can be built properly -%meson -Dxxhash_muxer=disabled +%meson %meson_build +%check +%meson_test + %install %meson_install