public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mlt] epel9-next: Disable the php extension, for now, the PHP 7 landed in rawhide
@ 2026-07-20 18:16
0 siblings, 0 replies; only message in thread
From: @ 2026-07-20 18:16 UTC (permalink / raw)
To: git-commits
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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-20 18:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 18:16 [rpms/mlt] epel9-next: Disable the php extension, for now, the PHP 7 landed in rawhide
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox