use only nasm on fedora
This commit is contained in:
parent
234e0cee70
commit
93deb36d79
@ -3,8 +3,10 @@
|
|||||||
# Only build extras on fedora
|
# Only build extras on fedora
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%bcond_without extras
|
%bcond_without extras
|
||||||
|
%bcond_without nasm
|
||||||
%else
|
%else
|
||||||
%bcond_with extras
|
%bcond_with extras
|
||||||
|
%bcond_with nasm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%bcond_without qt
|
%bcond_without qt
|
||||||
@ -15,7 +17,7 @@
|
|||||||
|
|
||||||
Name: gstreamer1-plugins-good
|
Name: gstreamer1-plugins-good
|
||||||
Version: 1.18.2
|
Version: 1.18.2
|
||||||
Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist}
|
Release: 3%{?gitcommit:.git%{shortcommit}}%{?dist}
|
||||||
Summary: GStreamer plugins with good code and licensing
|
Summary: GStreamer plugins with good code and licensing
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -69,7 +71,9 @@ BuildRequires: mesa-libEGL-devel
|
|||||||
BuildRequires: lame-devel
|
BuildRequires: lame-devel
|
||||||
BuildRequires: mpg123-devel
|
BuildRequires: mpg123-devel
|
||||||
BuildRequires: twolame-devel
|
BuildRequires: twolame-devel
|
||||||
|
%if %{with nasm}
|
||||||
BuildRequires: nasm
|
BuildRequires: nasm
|
||||||
|
%endif
|
||||||
BuildRequires: libgudev-devel
|
BuildRequires: libgudev-devel
|
||||||
|
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
@ -168,6 +172,7 @@ to be installed.
|
|||||||
-D package-name='Fedora GStreamer-plugins-good package' \
|
-D package-name='Fedora GStreamer-plugins-good package' \
|
||||||
-D package-origin='http://download.fedoraproject.org' \
|
-D package-origin='http://download.fedoraproject.org' \
|
||||||
-D doc=disabled \
|
-D doc=disabled \
|
||||||
|
-D asm=%{?with_nasm:enabled}%{!?with_nasm:disabled} \
|
||||||
-D gtk_doc=disabled \
|
-D gtk_doc=disabled \
|
||||||
-D orc=enabled \
|
-D orc=enabled \
|
||||||
-D monoscope=disabled \
|
-D monoscope=disabled \
|
||||||
@ -294,6 +299,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 23 2021 Wim Taymans <wtaymans@redhat.com> - 1.18.2-3
|
||||||
|
- use only nasm on fedora
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-2
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user