public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/svt-av1] epel9-next: Disable gstreamer plugin
@ 2026-07-20 16:12 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-20 16:12 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/svt-av1
            Branch : epel9-next
            Commit : d014cf8707aa1d3c927a3c582a10aac1c0c46f13
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-12-17T23:18:27-05:00
            Stats  : +1/-27 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/svt-av1/c/d014cf8707aa1d3c927a3c582a10aac1c0c46f13?branch=epel9-next

            Log:
            Disable gstreamer plugin

(gstreamer1-)svt-av1 is providing a duplicate svtav1enc element which
conflicts with one provided by gstreamer1-plugins-bad-free.  As the
standalone element is not built by default in the svt-av1 sources, and as
the element is now maintained as part of GStreamer proper, the latter
should take precedence.

Fixes: rhbz#2332382

---
diff --git a/svt-av1.spec b/svt-av1.spec
index a766074..d0c75b0 100644
--- a/svt-av1.spec
+++ b/svt-av1.spec
@@ -27,9 +27,6 @@ BuildRequires:  gcc-c++
 BuildRequires:  help2man
 BuildRequires:  meson
 BuildRequires:  nasm
-BuildRequires : pkgconfig(gstreamer-1.0)
-BuildRequires : pkgconfig(gstreamer-base-1.0)
-BuildRequires : pkgconfig(gstreamer-video-1.0)
 
 Requires:       %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
 
@@ -37,6 +34,7 @@ Requires:       %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
 
 %package    libs
 Summary:    SVT-AV1 libraries
+Obsoletes:  gstreamer1-%{name} < %{?epoch:%{epoch}:}%{version}-%{release}
 
 %description libs %_description
 
@@ -59,30 +57,14 @@ BuildArch:  noarch
 
 This package contains the documentation for development of SVT-AV1.
 
-%package -n     gstreamer1-%{name}
-Summary:        GStreamer 1.0 %{name}-based plug-in
-Requires:       gstreamer1-plugins-base%{?_isa}
-
-%description -n gstreamer1-%{name}
-This package provides %{name}-based GStreamer plug-in.
-
 %prep
 %autosetup -p1 -n SVT-AV1-v%{version}
-# Patch build gstreamer plugin
-sed -e "s|install: true,|install: true, include_directories : [ include_directories('../Source/API') ], link_args : '-lSvtAv1Enc',|" \
--e "/svtav1enc_dep =/d" -e 's|, svtav1enc_dep||' -e "s|svtav1enc_dep.found()|true|" -i gstreamer-plugin/meson.build
 
 %build
 %cmake \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo
 %cmake_build
 
-export LIBRARY_PATH="$LIBRARY_PATH:$(pwd)/Bin/RelWithDebInfo"
-pushd gstreamer-plugin
-%meson
-%meson_build
-popd
-
 %install
 %cmake_install
 rm -f %{buildroot}%{_libdir}/*.{a,la}
@@ -92,10 +74,6 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
 help2man -N --help-option=-help --version-string=%{version} %{buildroot}%{_bindir}/SvtAv1DecApp > %{buildroot}%{_mandir}/man1/SvtAv1DecApp.1
 help2man -N --help-option=-help --no-discard-stderr --version-string=%{version} %{buildroot}%{_bindir}/SvtAv1EncApp > %{buildroot}%{_mandir}/man1/SvtAv1EncApp.1
 
-pushd gstreamer-plugin
-%meson_install
-popd
-
 %files
 %{_bindir}/SvtAv1DecApp
 %{_bindir}/SvtAv1EncApp
@@ -119,9 +97,5 @@ popd
 %license LICENSE.md PATENTS.md
 %doc Docs
 
-%files -n gstreamer1-%{name}
-%license LICENSE.md PATENTS.md
-%{_libdir}/gstreamer-1.0/libgstsvtav1enc.so
-
 %changelog
 %autochangelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 16:12 [rpms/svt-av1] epel9-next: Disable gstreamer plugin Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox