Disable libvisual in RHEL builds
This commit is contained in:
parent
c5db5844c9
commit
7ba4310f56
@ -1,4 +1,5 @@
|
|||||||
%bcond cdparanoia %{undefined rhel}
|
%bcond cdparanoia %{undefined rhel}
|
||||||
|
%bcond libvisual %{undefined rhel}
|
||||||
|
|
||||||
%global majorminor 1.0
|
%global majorminor 1.0
|
||||||
|
|
||||||
@ -8,7 +9,7 @@
|
|||||||
|
|
||||||
Name: gstreamer1-plugins-base
|
Name: gstreamer1-plugins-base
|
||||||
Version: 1.22.9
|
Version: 1.22.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: GStreamer streaming media framework base plugins
|
Summary: GStreamer streaming media framework base plugins
|
||||||
|
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -35,7 +36,9 @@ BuildRequires: cdparanoia-devel
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: libogg-devel >= 1.0
|
BuildRequires: libogg-devel >= 1.0
|
||||||
BuildRequires: libtheora-devel >= 1.1
|
BuildRequires: libtheora-devel >= 1.1
|
||||||
|
%if %{with libvisual}
|
||||||
BuildRequires: libvisual-devel
|
BuildRequires: libvisual-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libvorbis-devel >= 1.0
|
BuildRequires: libvorbis-devel >= 1.0
|
||||||
BuildRequires: libXv-devel
|
BuildRequires: libXv-devel
|
||||||
BuildRequires: orc-devel >= 0.4.18
|
BuildRequires: orc-devel >= 0.4.18
|
||||||
@ -128,6 +131,7 @@ for the GStreamer Base Plugins library.
|
|||||||
-D package-origin='http://download.fedoraproject.org' \
|
-D package-origin='http://download.fedoraproject.org' \
|
||||||
-D gl_winsys=wayland,x11,gbm \
|
-D gl_winsys=wayland,x11,gbm \
|
||||||
%{!?with_cdparanoia:-D cdparanoia=disabled} \
|
%{!?with_cdparanoia:-D cdparanoia=disabled} \
|
||||||
|
%{!?with_libvisual:-D libvisual=disabled} \
|
||||||
-D doc=disabled \
|
-D doc=disabled \
|
||||||
-D orc=enabled \
|
-D orc=enabled \
|
||||||
-D tremor=disabled \
|
-D tremor=disabled \
|
||||||
@ -211,7 +215,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstxvimage
|
|||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
|
||||||
|
%if %{with libvisual}
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
|
||||||
|
%endif
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvideoconvertscale.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvideoconvertscale.so
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
|
||||||
@ -286,7 +292,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-play-1.0
|
|||||||
%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/gstreamer-%{majorminor}/libgstopengl.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstopengl.so
|
||||||
|
%if %{with libvisual}
|
||||||
%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
|
||||||
|
%endif
|
||||||
%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
|
||||||
%{_libdir}/gstreamer-%{majorminor}/libgstopus.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstopus.so
|
||||||
%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
|
%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
|
||||||
@ -491,6 +499,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-play-1.0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 02 2024 Wim Taymans <wtaymans@redhat.com> - 1.22.9-2
|
||||||
|
- Disable libvisual in RHEL builds
|
||||||
|
|
||||||
* Thu Jan 25 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.22.9-1
|
* Thu Jan 25 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.22.9-1
|
||||||
- 1.22.9
|
- 1.22.9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user