public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/svt-av1] epel9-next: Fix FTBFS
Date: Tue, 14 Jul 2026 21:52:26 GMT	[thread overview]
Message-ID: <178406594626.1.4784037836760002851.rpms-svt-av1-8945e382f1ab@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/svt-av1
            Branch : epel9-next
            Commit : 8945e382f1abd9604a5ddb9c727b1589f8d25fca
            Author : Robert-André Mauchin <zebob.m@gmail.com>
            Date   : 2020-08-08T23:09:58+02:00
            Stats  : +10/-15 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/svt-av1/c/8945e382f1abd9604a5ddb9c727b1589f8d25fca?branch=epel9-next

            Log:
            Fix FTBFS

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>

---
diff --git a/svt-av1.spec b/svt-av1.spec
index 2675cb7..a9f8f43 100644
--- a/svt-av1.spec
+++ b/svt-av1.spec
@@ -65,10 +65,8 @@ sed -e "s|install: true,|install: true, include_directories : [ include_director
 -e "/svtav1enc_dep =/d" -e 's|, svtav1enc_dep||' -e "s|svtav1enc_dep.found()|true|" -i gstreamer-plugin/meson.build
 
 %build
-mkdir _build
-pushd _build
 # https://github.com/OpenVisualCloud/SVT-AV1/issues/999
-# Use -fcommon until all tho global variables are fixed upstream
+# Use -fcommon until all the global variables are fixed upstream
 export CFLAGS="%build_cflags -fcommon"
 export CXXFLAGS="%build_cxxflags -fcommon"
 %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
@@ -80,20 +78,18 @@ export CXXFLAGS="%build_cxxflags -fcommon"
        -DBUILD_TESTING=OFF \
        -DNATIVE=OFF \
        ..
-%make_build
-popd
+%cmake_build
 
-pushd gstreamer-plugin
-    export LIBRARY_PATH="$PWD/../Bin/RelWithDebInfo:$LIBRARY_PATH"
-    %meson
-    %meson_build
-popd
+cd gstreamer-plugin
+export LIBRARY_PATH="$PWD/../Bin/RelWithDebInfo:$LIBRARY_PATH"
+%meson
+%meson_build
 
 %install
-pushd _build
-%make_install
+%cmake_install
 rm -f %{buildroot}%{_libdir}/*.{a,la}
 
+pushd %{_vpath_builddir}
 mkdir -p %{buildroot}/%{_mandir}/man1
 export PATH=$PATH:%{buildroot}%{_bindir}
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
@@ -101,9 +97,8 @@ help2man -N --help-option=-help --version-string=%{version} SvtAv1DecApp > %{bui
 help2man -N --help-option=-help --no-discard-stderr --version-string=%{version} SvtAv1EncApp > %{buildroot}%{_mandir}/man1/SvtAv1EncApp.1
 popd
 
-pushd gstreamer-plugin
-    %meson_install
-popd
+cd gstreamer-plugin
+%meson_install
 
 %files
 %{_bindir}/SvtAv1DecApp

                 reply	other threads:[~2026-07-14 21:52 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=178406594626.1.4784037836760002851.rpms-svt-av1-8945e382f1ab@fedoraproject.org \
    --to=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