Accepting request 304290 from multimedia:libs

version update, required by kdenlive

OBS-URL: https://build.opensuse.org/request/show/304290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmlt?expand=0&rev=23
This commit is contained in:
Stephan Kulow 2015-05-12 04:45:59 +00:00 committed by Git OBS Bridge
commit e4929c8fb6
6 changed files with 53 additions and 30 deletions

View File

@ -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

View File

@ -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.

View File

@ -1,21 +0,0 @@
From 4035fc1177b355b0adc0f52616f5075feb88e2ba Mon Sep 17 00:00:00 2001
From: Dan Dennedy <dan@dennedy.org>
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 <X11/Xlib.h>
+#include <cstdlib>
#endif
bool createQApplicationIfNeeded(mlt_service service)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60aebda834938c5963ec9032ae319badc4929becae0d7c99a9109a7de7b9ba7d
size 1226700

3
mlt-0.9.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab999992828a03dadbf62f6a131aada776cfd7afe63a94d994877fdba31a3000
size 1242448

View File

@ -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 <string.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <pango/pangoft2.h>