Update to 1.17.1

Use meson
disable docs
This commit is contained in:
Wim Taymans 2020-06-22 12:36:38 +02:00
parent b4a0f616e6
commit 34105d6e49

View File

@ -20,6 +20,8 @@ Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugin
%endif
Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
BuildRequires: meson >= 0.48.0
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gstreamer1-devel >= %{version}
BuildRequires: gobject-introspection-devel >= 1.31.1
@ -37,8 +39,6 @@ BuildRequires: pango-devel
BuildRequires: pkgconfig
BuildRequires: opus-devel
# for autogen.sh
BuildRequires: automake gettext-devel libtool
BuildRequires: chrpath
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLES-devel
BuildRequires: mesa-libGLU-devel
@ -52,9 +52,6 @@ BuildRequires: pkgconfig(wayland-cursor) >= 1.0
BuildRequires: pkgconfig(wayland-egl) >= 9.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.15
# documentation
BuildRequires: gtk-doc >= 1.3
Requires: iso-codes
# libgstgl moved here
@ -99,6 +96,7 @@ The %{name}-devel package contains libraries and header files
for developing applications that use %{name}.
%if 0
%package devel-docs
Summary: Developer documentation for GStreamer Base plugins library
Requires: %{name} = %{version}-%{release}
@ -107,6 +105,7 @@ BuildArch: noarch
%description devel-docs
This %{name}-devel-docs package contains developer documentation
for the GStreamer Base Plugins library.
%endif
%prep
@ -114,24 +113,16 @@ for the GStreamer Base Plugins library.
%patch0 -p1
%build
# die rpath (method of modifying libtool fails here)
NOCONFIGURE=1 \
./autogen.sh
%configure \
--with-package-name='Fedora GStreamer-plugins-base package' \
--with-package-origin='http://download.fedoraproject.org' \
--enable-experimental \
--disable-fatal-warnings \
--disable-silent-rules \
--enable-gtk-doc \
--enable-orc
%make_build V=1
%meson \
-D package-name='Fedora GStreamer-plugins-base package' \
-D package-origin='http://download.fedoraproject.org' \
-D doc=false \
-D gtk_doc=disabled \
-D orc=enabled
%meson_build
%install
%make_install
%meson_install
# Register as an AppStream component to be visible in the software center
#
@ -468,15 +459,17 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-play-1.0
# pkg-config files
%{_libdir}/pkgconfig/*.pc
%if 0
%files devel-docs
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%endif
%changelog
* Mon Jun 22 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.1-1
- Update to 1.17.1
- Use meson
- disable docs
* Thu Apr 16 2020 Wim Taymans <wtaymans@redhat.com> - 1.16.2-3
- Add BR graphene-devel to build gltransform