public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/svt-av1] epel9-next: Disable gstreamer plugin
Date: Mon, 20 Jul 2026 16:12:01 GMT	[thread overview]
Message-ID: <178456392117.1.12852979689644689055.rpms-svt-av1-d014cf8707aa@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-20 16:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178456392117.1.12852979689644689055.rpms-svt-av1-d014cf8707aa@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox