Accepting request 592916 from home:awissu:branches:multimedia:libs

- Build with sdl and sdl2:
  * Preserve backward compatibility. Both "sdl" and "sdl2" modules 
  can be compiled into MLT 6.6.0 and later

OBS-URL: https://build.opensuse.org/request/show/592916
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmlt?expand=0&rev=85
This commit is contained in:
Dave Plater 2018-04-02 05:49:38 +00:00 committed by Git OBS Bridge
parent faa5ae69ca
commit c83a1cbc9f
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Apr 1 22:52:38 UTC 2018 - avvissu@yandex.by
- Build with sdl and sdl2:
* Preserve backward compatibility. Both "sdl" and "sdl2" modules
can be compiled into MLT 6.6.0 and later
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 5 12:35:55 UTC 2018 - davejplater@gmail.com Mon Mar 5 12:35:55 UTC 2018 - davejplater@gmail.com

View File

@ -76,6 +76,7 @@ BuildRequires: pkgconfig(opencv) >= 3.1.0
BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(pangoft2)
BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sdl)
BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sox) BuildRequires: pkgconfig(sox)
%if %{with vidstab} %if %{with vidstab}
@ -225,6 +226,8 @@ sed "s/__VDPAU_SONAME__/${VDPAU_SONAME}/" -i src/modules/avformat/vdpau.c
test -x "$(type -p gcc-7)" && export CC=gcc-7 test -x "$(type -p gcc-7)" && export CC=gcc-7
test -x "$(type -p g++-7)" && export CXX=g++-7 test -x "$(type -p g++-7)" && export CXX=g++-7
%configure \ %configure \
--enable-sdl \
--enable-sdl2 \
%ifnarch %{ix86} x86_64 %ifnarch %{ix86} x86_64
--disable-mmx \ --disable-mmx \
--disable-sse \ --disable-sse \