From 68a37b40fa20edfc1477c32f66307f564e8195ec Mon Sep 17 00:00:00 2001 From: Liwei Ge Date: Wed, 28 Dec 2022 14:57:29 +0800 Subject: [PATCH] spec: fix build issue on anolis8 --- gstreamer1-plugins-bad-free.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gstreamer1-plugins-bad-free.spec b/gstreamer1-plugins-bad-free.spec index 16d5d34..ebbbe73 100644 --- a/gstreamer1-plugins-bad-free.spec +++ b/gstreamer1-plugins-bad-free.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global majorminor 1.0 %global _gobject_introspection 1.31.1 @@ -14,7 +15,7 @@ Name: gstreamer1-plugins-bad-free Version: 1.18.4 -Release: 6%{?gitcommit:.git%{shortcommit}}%{?dist} +Release: 6%{?gitcommit:.git%{shortcommit}}%{anolis_release}%{?dist} Summary: GStreamer streaming media framework "bad" plugins License: LGPLv2+ and LGPLv2 @@ -245,6 +246,9 @@ aren't tested well enough, or the code is not of good enough quality. %meson \ -D package-name="Fedora GStreamer-plugins-bad package" \ -D package-origin="http://download.fedoraproject.org" \ +%if 0%{anolis} <= 8 + -D fdkaac=disabled \ +%endif %{!?with_extras:-D fbdev=disabled -D decklink=disabled } \ %{!?with_extras:-D assrender=disabled -D bs2b=disabled } \ %{!?with_extras:-D chromaprint=disabled -D d3dvideosink=disabled } \ @@ -612,6 +616,9 @@ rm $RPM_BUILD_ROOT%{_bindir}/playout %changelog +* Wed Dec 28 2022 Liwei Ge - 1.18.4-6.0.1 +- Fix build issue on anolis8 + * Mon Nov 07 2022 Tomas Popela - 1.18.4-6 - Fix FTBFS by BR wayland-protocols-devel - Resolves: rhbz#2140540 -- Gitee