From 9705e8817416e8856918f9c543bf3d6d685e2044865b97a0fca1f3785d4ba9f2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 13 Oct 2022 07:57:37 +0000 Subject: [PATCH 1/3] 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 --- dav1d.changes | 10 ++++++++++ dav1d.spec | 17 +++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/dav1d.changes b/dav1d.changes index b06460a..d24d753 100644 --- a/dav1d.changes +++ b/dav1d.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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. +- Use ldconfig_scriptlets macro for post(un) handling. + ------------------------------------------------------------------- Fri Mar 18 16:02:49 UTC 2022 - Luigi Baldoni diff --git a/dav1d.spec b/dav1d.spec index f56920c..a492434 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,13 @@ 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 +Source0: %{url}/-/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,15 +64,16 @@ 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 -%post -n lib%{name}%{sover} -p /sbin/ldconfig -%postun -n lib%{name}%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name}%{sover} %files %{_bindir}/%{name} From 88f5d67ad94a14792c32ed1fedf387f50ff40e77ec6a284804977062fc6c0191 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 13 Oct 2022 07:59:44 +0000 Subject: [PATCH 2/3] %post for 15.3 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=53 --- dav1d.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dav1d.spec b/dav1d.spec index a492434..98b8b86 100644 --- a/dav1d.spec +++ b/dav1d.spec @@ -25,9 +25,8 @@ Summary: An AV1 decoder License: BSD-2-Clause Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://code.videolan.org/videolan/dav1d -Source0: %{url}/-/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 @@ -73,7 +72,8 @@ Group: System/Libraries %install %meson_install -%ldconfig_scriptlets -n lib%{name}%{sover} +%post -n lib%{name}%{sover} -p /sbin/ldconfig +%postun -n lib%{name}%{sover} -p /sbin/ldconfig %files %{_bindir}/%{name} From f9d81f030656a4aad34acf6cc30e7620cc5a6689a0d17673b59705813da44eac Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 13 Oct 2022 12:03:24 +0000 Subject: [PATCH 3/3] Accepting request 1010465 from home:iznogood:branches:multimedia:libs Update .changes to reflect changes done post checkin OBS-URL: https://build.opensuse.org/request/show/1010465 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=54 --- dav1d.changes | 1 - 1 file changed, 1 deletion(-) diff --git a/dav1d.changes b/dav1d.changes index d24d753..cdfe1d5 100644 --- a/dav1d.changes +++ b/dav1d.changes @@ -6,7 +6,6 @@ Thu Oct 13 06:52:06 UTC 2022 - Bjørn Lie - 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