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