This commit is contained in:
Gwyn Ciesla 2024-02-07 14:39:28 -06:00
parent 20e9980553
commit ce01a70752

View File

@ -5,13 +5,6 @@
%bcond extras %{defined fedora} %bcond extras %{defined fedora}
%bcond opencv %[ 0%{?fedora} >= 39 ] %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 gitrel 140
#global gitcommit 4ca3a22b6b33ad8be4383063e76f79c4d346535d #global gitcommit 4ca3a22b6b33ad8be4383063e76f79c4d346535d
#global shortcommit %(c=%{gitcommit}; echo ${c:0:5}) #global shortcommit %(c=%{gitcommit}; echo ${c:0:5})
@ -140,10 +133,6 @@ BuildRequires: libdca-devel
BuildRequires: flite-devel BuildRequires: flite-devel
%endif %endif
%if %{with amr}
BuildRequires: opencore-amr-devel
%endif
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9 %if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
@ -535,12 +524,6 @@ rm $RPM_BUILD_ROOT%{_bindir}/playout
%{_libdir}/gstreamer-%{majorminor}/libgstttmlsubs.so %{_libdir}/gstreamer-%{majorminor}/libgstttmlsubs.so
%endif %endif
%if %{with amr}
%{_libdir}/gstreamer-%{majorminor}/libgstamrnb.so
%{_libdir}/gstreamer-%{majorminor}/libgstamrwbdec.so
%{_datadir}/gstreamer-%{majorminor}/presets/GstAmrnbEnc.prs
%endif
#debugging plugin #debugging plugin
%{_libdir}/gstreamer-%{majorminor}/libgstdebugutilsbad.so %{_libdir}/gstreamer-%{majorminor}/libgstdebugutilsbad.so