SHA256
1
0
forked from pool/libquicktime

Accepting request 415087 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/415087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libquicktime?expand=0&rev=49
This commit is contained in:
Dominique Leuenberger 2016-08-03 09:38:37 +00:00 committed by Git OBS Bridge
commit 30e7d849ff
2 changed files with 29 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 25 12:44:39 UTC 2016 - olaf@aepfle.de
- Convert buildconditionals for faac, faad, lame and x264
-------------------------------------------------------------------
Wed Feb 17 13:26:59 UTC 2016 - olaf@aepfle.de

View File

@ -16,6 +16,12 @@
#
%bcond_with faac
%bcond_with faad
%bcond_without ffmpeg
%bcond_with lame
%bcond_with x264
%define soname 0
%define cvs 20150223
Name: libquicktime
@ -43,18 +49,26 @@ BuildRequires: libvorbis-devel
BuildRequires: pkg-config
BuildRequires: schroedinger-devel
BuildRequires: pkgconfig(gl)
%if %{with ffmpeg}
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libswscale)
%endif
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xv)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?BUILD_ORIG}
%if %{with faac}
BuildRequires: libfaac-devel
%endif
%if %{with faad}
BuildRequires: libfaad2-devel
%endif
%if %{with lame}
BuildRequires: libmp3lame-devel
%endif
%if %{with x264}
BuildRequires: libx264-devel
%endif
@ -134,11 +148,19 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libquicktime/lqt_schroedinger.so
%{_libdir}/libquicktime/lqt_videocodec.so
%{_libdir}/libquicktime/lqt_vorbis.so
%if %{with ffmpeg}
%{_libdir}/libquicktime/lqt_ffmpeg.so
%if 0%{?BUILD_ORIG}
%endif
%if %{with faac}
%{_libdir}/libquicktime/lqt_faac.so
%endif
%if %{with faad}
%{_libdir}/libquicktime/lqt_faad2.so
%endif
%if %{with lame}
%{_libdir}/libquicktime/lqt_lame.so
%endif
%if %{with x264}
%{_libdir}/libquicktime/lqt_x264.so
%endif