public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mlt] epel9-next: Enable php extension, swig already support php7 (#1356985)
@ 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 : 96dd9861478e3630220911cbcec4e102e031eed3
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2017-01-14T23:56:33+00:00
Stats  : +11/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/mlt/c/96dd9861478e3630220911cbcec4e102e031eed3?branch=epel9-next

Log:
Enable php extension, swig already support php7 (#1356985)

---
diff --git a/mlt.spec b/mlt.spec
index e75e23c..70227a3 100644
--- a/mlt.spec
+++ b/mlt.spec
@@ -1,10 +1,10 @@
 %bcond_without ruby
-%bcond_with php
+%bcond_without php
 
 Summary:        Toolkit for broadcasters, video editors, media players, transcoders
 Name:           mlt
 Version:        6.4.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 # mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
 # but is not used in Linux
@@ -30,7 +30,7 @@ BuildRequires:  libsamplerate-devel
 BuildRequires:  ladspa-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  sox-devel
-BuildRequires:  swig
+BuildRequires:  swig >= 3.0.11
 BuildRequires:  python2-devel
 BuildRequires:  freetype-devel
 BuildRequires:  libexif-devel
@@ -112,6 +112,11 @@ sed -i -e '/ffast-math/d' configure
 # be sure that aren't used
 rm -r src/win32/
 
+%if 0%{fedora} >= 25
+sed -i 's|-php5|-php7|g' src/swig/php/build
+sed -i 's|mlt_wrap.cpp|mlt_wrap.cxx|g' src/swig/php/build
+%endif
+
 
 %build
 #export STRIP=/bin/true
@@ -202,6 +207,9 @@ test "$(pkg-config --modversion mlt++)" = "%{version}"
 
 
 %changelog
+* Sat Jan 14 2017 Sérgio Basto <sergio@serjux.com> - 6.4.1-3
+- Enable php extension, swig already support php7 (#1356985)
+
 * Thu Jan 12 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.4.1-2
 - F-26: rebuild for ruby24
 

^ 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: Enable php extension, swig already support php7 (#1356985) 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox