From 8be5fdc15a8ddeb616ff0e5b2943ca584c54af9fc9bc8efe76bfea8c14d9fd8a Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Tue, 21 Apr 2015 05:33:24 +0000 Subject: [PATCH] Accepting request 298078 from home:tittiatcoke:branches:multimedia:libs Update to version 0.9.6. Also switched from Qt4 to Qt5 builds for Tumbleweed/Factory. OBS-URL: https://build.opensuse.org/request/show/298078 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmlt?expand=0&rev=47 --- libmlt.changes | 40 +++++++++++++++++++ libmlt.spec | 14 ++++--- ...dd-missing-stdlib-include-for-getenv.patch | 21 ---------- mlt-0.9.2.tar.gz | 3 -- mlt-0.9.6.tar.gz | 3 ++ use-recommended-freetype-include.patch | 2 +- 6 files changed, 53 insertions(+), 30 deletions(-) delete mode 100644 mlt-0.9.2-Add-missing-stdlib-include-for-getenv.patch delete mode 100644 mlt-0.9.2.tar.gz create mode 100644 mlt-0.9.6.tar.gz diff --git a/libmlt.changes b/libmlt.changes index 43a47af..6adda2b 100644 --- a/libmlt.changes +++ b/libmlt.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Sun Apr 19 10:41:02 UTC 2015 - tittiatcoke@gmail.com + +- libmlt for Tumbleweed/Factory is now QT5 based !! + +- Update to 0.9.6 + + Framework + * Added color_trc (transfer characteristic) property to mlt_consumer and mlt_frame. + * Added Mlt::Profile::set_display_aspect(int, int). + * Added mlt_pool_stat(). + * Added mlt_smpte_df and mlt_smpte_ndf to mlt_time_format for non-drop-frame timecode support. + * Added Mlt::Tractor::Tractor(Mlt::Profile&). + * Added mlt_frame_get_alpha(). + * Added default, copy, and assignment methods to Mlt::Frame. + * Added Mlt::Filter::process(Mlt::Frame&). + + Modules + * Added support for color_trc property to avformat and opengl modules. + * Performance improvements for composite and matte transitions. + * Added fill, halign, and valign properties to affine transition and filter. + * Added producer.* and consumer.* properties to consumer producer. + * Fixes for libavformat and libavcodec v56. + * Dropped support for FFmpeg < v1.0 and Libav < v9. + * Added a lumakey filter. + * Added a localtime property to dynamictext filter. + * Added date/time format string support to dynamictext filter. + * Added no_root property to xml consumer. + * Added audio-only tone producer. + * Added drop property to count producer. + * Added caching to pango producer to improve performance. + + Other + * Added WMV and WMA avformat consumer presets. + * Added a ProRes-Kostya avformat consumer preset. + * Changed VP9 WebM preset to use Opus audio codec. + * Added 4K UHD and 2.5K QHD profiles. + * Added x265-medium and x265-medium-pass1 avformat consumer presets. + * Added a unit test for Mlt::Frame. + +- Drop upstreamed patches + * mlt-0.9.2-Add-missing-stdlib-include-for-getenv.patch + ------------------------------------------------------------------- Tue Nov 11 10:36:56 UTC 2014 - dimstar@opensuse.org diff --git a/libmlt.spec b/libmlt.spec index a696cb1..58f035f 100644 --- a/libmlt.spec +++ b/libmlt.spec @@ -1,7 +1,7 @@ # # spec file for package libmlt # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,7 @@ %define soname_pp 3 Name: %{libname} -Version: 0.9.2 +Version: 0.9.6 Release: 0 Summary: Multimedia framework designed and developed for television broadcasting License: GPL-3.0+ @@ -44,15 +44,20 @@ Patch1: libmlt-0.8.2-vdpau.patch # PATCH-FIX-UPSTREAM use-recommended-freetype-include.patch -- Freetype upstream recommends using their macros together with # ft2build include. Positive sideeffect is that this patch makes it build with both freetype2 2.5.1, and older versions Patch2: use-recommended-freetype-include.patch -# PATCH-FIX-UPSTREAM mlt-0.9.2-Add-missing-stdlib-include-for-getenv.patch -- Add missing stdlib include for getenv -Patch3: mlt-0.9.2-Add-missing-stdlib-include-for-getenv.patch BuildRequires: gcc-c++ BuildRequires: ladspa-devel BuildRequires: pkg-config +%if 0%{?suse_version} > 1320 +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Xml) +%else BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtGui) BuildRequires: pkgconfig(QtSvg) BuildRequires: pkgconfig(QtXml) +%endif BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(frei0r) BuildRequires: pkgconfig(gdk-2.0) @@ -219,7 +224,6 @@ This package is needed to use MLT from Python. %setup -q -n %{_name}-%{version} %patch1 %patch2 -p1 -%patch3 -p1 # To complement libmlt-0.8.0-vdpau.patch. # When vdpau support is not compiled it will break the code. Doesn't matter because the code will not be used anyway. diff --git a/mlt-0.9.2-Add-missing-stdlib-include-for-getenv.patch b/mlt-0.9.2-Add-missing-stdlib-include-for-getenv.patch deleted file mode 100644 index a9c9a63..0000000 --- a/mlt-0.9.2-Add-missing-stdlib-include-for-getenv.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 4035fc1177b355b0adc0f52616f5075feb88e2ba Mon Sep 17 00:00:00 2001 -From: Dan Dennedy -Date: Sun, 13 Jul 2014 11:26:49 -0700 -Subject: Add missing stdlib include for getenv(). - ---- - src/modules/qt/common.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/modules/qt/common.cpp b/src/modules/qt/common.cpp -index 9cd4cac..8ae1708 100644 ---- a/src/modules/qt/common.cpp -+++ b/src/modules/qt/common.cpp -@@ -22,6 +22,7 @@ - - #if defined(Q_OS_UNIX) && !defined(Q_OS_MAC) - #include -+#include - #endif - - bool createQApplicationIfNeeded(mlt_service service) diff --git a/mlt-0.9.2.tar.gz b/mlt-0.9.2.tar.gz deleted file mode 100644 index 14f9a72..0000000 --- a/mlt-0.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60aebda834938c5963ec9032ae319badc4929becae0d7c99a9109a7de7b9ba7d -size 1226700 diff --git a/mlt-0.9.6.tar.gz b/mlt-0.9.6.tar.gz new file mode 100644 index 0000000..7d407c8 --- /dev/null +++ b/mlt-0.9.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab999992828a03dadbf62f6a131aada776cfd7afe63a94d994877fdba31a3000 +size 1242448 diff --git a/use-recommended-freetype-include.patch b/use-recommended-freetype-include.patch index 57a1696..9e6714d 100644 --- a/use-recommended-freetype-include.patch +++ b/use-recommended-freetype-include.patch @@ -1,7 +1,7 @@ diff -U 3 -H -d -r -N -- mlt-0.9.2.orig/src/modules/gtk2/producer_pango.c mlt-0.9.2/src/modules/gtk2/producer_pango.c --- mlt-0.9.2.orig/src/modules/gtk2/producer_pango.c 2014-06-29 22:23:17.000000000 +0200 +++ mlt-0.9.2/src/modules/gtk2/producer_pango.c 2014-10-16 17:51:03.421118657 +0200 -@@ -25,7 +25,8 @@ +@@ -26,7 +26,8 @@ #include #include #include