parent
6604cde1e4
commit
7d67a1aec8
@ -5,6 +5,13 @@
|
||||
%bcond extras %{defined fedora}
|
||||
%bcond opencv %[ 0%{?fedora} >= 39 ]
|
||||
|
||||
# Only build amrnb/amrwbdec on fedora
|
||||
%if 0%{?fedora}
|
||||
%bcond_without amr
|
||||
%else
|
||||
%bcond_with amr
|
||||
%endif
|
||||
|
||||
#global gitrel 140
|
||||
#global gitcommit 4ca3a22b6b33ad8be4383063e76f79c4d346535d
|
||||
#global shortcommit %(c=%{gitcommit}; echo ${c:0:5})
|
||||
@ -133,6 +140,10 @@ BuildRequires: libdca-devel
|
||||
BuildRequires: flite-devel
|
||||
%endif
|
||||
|
||||
%if %{with amr}
|
||||
BuildRequires: opencore-amr-devel
|
||||
%endif
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
|
||||
@ -524,6 +535,12 @@ rm $RPM_BUILD_ROOT%{_bindir}/playout
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstttmlsubs.so
|
||||
%endif
|
||||
|
||||
%if %{with amr}
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstamrnb.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstamrwbdec.so
|
||||
%{_datadir}/gstreamer-%{majorminor}/presets/GstAmrnbEnc.prs
|
||||
%endif
|
||||
|
||||
#debugging plugin
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstdebugutilsbad.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user