public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/mlt] epel9-next: rework freeworld sub-package
Date: Mon, 20 Jul 2026 18:17:38 GMT	[thread overview]
Message-ID: <178457145898.1.10252797062865520016.rpms-mlt-41ec8acbbebd@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mlt
            Branch : epel9-next
            Commit : 41ec8acbbebd88870a49c5240e090d8377799e05
            Author : Sérgio M. Basto <sergio@serjux.com>
            Date   : 2022-01-14T11:22:45+00:00
            Stats  : +32/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mlt/c/41ec8acbbebd88870a49c5240e090d8377799e05?branch=epel9-next

            Log:
            rework freeworld sub-package

add NDI option

---
diff --git a/mlt.spec b/mlt.spec
index 64e90f2..b2fbcd4 100644
--- a/mlt.spec
+++ b/mlt.spec
@@ -10,6 +10,9 @@
 
 %bcond_with     freeworld
 
+# needs nonfree/ndi-sdk
+%bcond_with  ndi
+
 #globals for https://github.com/mltframework/mlt/commit/ea973eb65c8ca79a859028a9e008360836ca4941
 %global gitdate 20171213
 %global commit ea973eb65c8ca79a859028a9e008360836ca4941
@@ -18,7 +21,7 @@
 
 Name:           mlt
 Version:        7.4.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Toolkit for broadcasters, video editors, media players, transcoders
 
 # mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
@@ -70,6 +73,10 @@ BuildRequires:  ffmpeg-devel
 BuildRequires:  xine-lib-devel
 Provides: mlt-freeworld = %{version}-%{release}
 Obsoletes:mlt-freeworld < %{version}-%{release}
+%if %{with ndi}
+BuildRequires:  libndi-devel
+BuildRequires:  ndi-sdk-devel
+%endif
 %endif
 %if %{with opencv}
 BuildRequires:  opencv-devel
@@ -97,6 +104,12 @@ transcoders, web streamers and many more types of applications. The
 functionality of the system is provided via an assortment of ready to use
 tools, xml authoring components, and an extendible plug-in based API.
 
+%package freeworld
+Summary:        ffmpeg support for MLT
+%description freeworld
+MLT was packaged in Fedora without ffmpeg support, this package give us
+the ffmpeg support.
+
 %package devel
 Summary:        Libraries, includes to develop applications with %{name}
 License:        LGPLv2+
@@ -135,9 +148,9 @@ This module allows to work with MLT using PHP.
 %prep
 %autosetup -p1 -n %{name}-%{version}
 
-#chmod 644 src/modules/qt/kdenlivetitle_wrapper.cpp
-#chmod 644 src/modules/kdenlive/filter_freeze.c
-#chmod -x demo/demo
+chmod 644 src/modules/qt/kdenlivetitle_wrapper.cpp
+chmod 644 src/modules/kdenlive/filter_freeze.c
+chmod -x demo/demo
 
 # mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
 # be sure that aren't used
@@ -151,6 +164,7 @@ rm -r src/win32/
        %{?with_ruby: -DSWIG_RUBY:BOOL=ON}   \
        %{!?with_freeworld: -DMOD_XINE:BOOL=OFF}  \
        %{?with_opencv: -DMOD_OPENCV:BOOL=ON}  \
+       %{?with_ndi: -DMOD_NDI:BOOL=ON -DNDI_SDK_INCLUDE_PATH=%{_includedir}/ndi-sdk -DNDI_SDK_LIBRARY_PATH=%{_libdir} -DNDI_INCLUDE_DIR=%{_includedir}/ndi-sdk -DNDI_LIBRARY_DIR=%{_libdir}}
 
 %cmake_build
 
@@ -190,6 +204,16 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}"
 %{_libdir}/libmlt-7.so.*
 %{_datadir}/mlt-7/
 %{_mandir}/man1/melt-7.1*
+%if %{with freeworld}
+%exclude %{_libdir}/mlt-7/libmltavformat.so
+%exclude %{_libdir}/mlt-7/libmltxine.so
+%exclude %{_datadir}/mlt-7/avformat
+
+%files freeworld
+%{_libdir}/mlt-7/libmltavformat.so
+%{_libdir}/mlt-7/libmltxine.so
+%{_datadir}/mlt-7/avformat
+%endif
 
 %files -n python3-mlt
 %{python3_sitearch}/mlt7.py*
@@ -215,10 +239,13 @@ test "$(pkg-config --modversion mlt++-7)" = "%{version}"
 %{_libdir}/libmlt++-7.so
 %{_libdir}/cmake/Mlt7/Mlt7*.cmake
 %{_includedir}/mlt-7/
-#{_includedir}/mlt++-7/
 
 
 %changelog
+* Wed Jan 12 2022 Sérgio Basto <sergio@serjux.com> - 7.4.0-2
+- Rework freeworld sub-package
+- Add NDI option
+
 * Fri Jan 07 2022 Sérgio Basto <sergio@serjux.com> - 7.4.0-1
 - Update mlt to 7.4.0
 - On epel8 disable php and ruby plugins and not BR SDL_images

                 reply	other threads:[~2026-07-20 18:17 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=178457145898.1.10252797062865520016.rpms-mlt-41ec8acbbebd@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