public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/mlt] epel9-next: Disable the php extension, for now, the PHP 7 landed in rawhide
Date: Mon, 20 Jul 2026 18:16:57 GMT	[thread overview]
Message-ID: <178457141718.1.10872352715069128591.rpms-mlt-664efd6c65a9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mlt
Branch : epel9-next
Commit : 664efd6c65a93a5c46603710de334f22fe2cc341
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2016-06-30T03:10:11+01:00
Stats  : +13/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/mlt/c/664efd6c65a93a5c46603710de334f22fe2cc341?branch=epel9-next

Log:
Disable the php extension, for now, the PHP 7 landed in rawhide

---
diff --git a/mlt.spec b/mlt.spec
index a299543..599362d 100644
--- a/mlt.spec
+++ b/mlt.spec
@@ -1,9 +1,10 @@
 %bcond_without ruby
+%bcond_with php
 
 Summary:        Toolkit for broadcasters, video editors, media players, transcoders
 Name:           mlt
 Version:        6.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 # mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
 License:        GPLv3 and LGPLv2+ and BSD
@@ -41,6 +42,9 @@ BuildRequires:  ruby-devel ruby
 Obsoletes: mlt-ruby < 0.8.8-5
 %endif
 
+%if %{with php}
+BuildRequires: php-devel
+%endif
 Requires:  opencv-core
 
 %global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
@@ -73,7 +77,6 @@ Requires: %{name}%{_isa} = %{version}-%{release}
 Summary: Ruby package to work with MLT
 
 %package php
-BuildRequires: php-devel
 Requires: php(zend-abi) = %{php_zend_api}
 Requires: php(api) = %{php_core_api}
 Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -117,7 +120,7 @@ sed -i -e '/ffast-math/d' configure
         --disable-xine                          \
 %endif
         --rename-melt=%{name}-melt              \
-        --swig-languages="python php%{?with_ruby: ruby}"
+        --swig-languages="python %{?with_php: php}%{?with_ruby: ruby}"
 
 make %{?_smp_mflags}
 
@@ -135,13 +138,14 @@ install -D -pm 0755 src/swig/ruby/thumbs.rb %{buildroot}%{ruby_vendorlibdir}/thu
 install -D -pm 0755 src/swig/ruby/mlt.so %{buildroot}%{ruby_vendorarchdir}/mlt.so
 %endif
 
+%if %{with php}
 install -D -pm 0755 src/swig/php/mlt.so %{buildroot}%{php_extdir}/mlt.so
-
 install -d %{buildroot}%{_sysconfdir}/php.d
 cat > %{buildroot}%{_sysconfdir}/php.d/mlt.ini << 'EOF'
 ; Enable mlt extension module
 extension=mlt.so
 EOF
+%endif
 
 mv src/modules/motion_est/README README.motion_est
 
@@ -176,9 +180,11 @@ test "$(pkg-config --modversion mlt++)" = "%{version}"
 %{ruby_vendorarchdir}/mlt.so
 %endif
 
+%if %{with php}
 %files php
 %config(noreplace) %{_sysconfdir}/php.d/mlt.ini
 %{php_extdir}/mlt.so
+%endif
 
 %files devel
 %doc docs/* demo/
@@ -191,6 +197,9 @@ test "$(pkg-config --modversion mlt++)" = "%{version}"
 
 
 %changelog
+* Thu Jun 30 2016 Sérgio Basto <sergio@serjux.com> - 6.2.0-2
+- Disable the php extension, for now, the PHP 7 landed in rawhide
+
 * Wed May 25 2016 Sérgio Basto <sergio@serjux.com> - 6.2.0-1
 - Initial MLT spec on Fedora. 
 

                 reply	other threads:[~2026-07-20 18:16 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=178457141718.1.10872352715069128591.rpms-mlt-664efd6c65a9@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