Merge pull request #1 from proklov_av/gstreamer1.0-plugins-good:rosa2019.1

update version 1.16.2, meson build
This commit is contained in:
fedya 2020-03-12 00:52:15 +00:00
commit 7e1760cba1
2 changed files with 9 additions and 33 deletions

View file

@ -1,2 +1,2 @@
sources:
gst-plugins-good-1.16.0.tar.xz: 541abbdfc627b3502e044ac1f29a5fb4ac2096c0
gst-plugins-good-1.16.2.tar.xz: 071f195359ff0b3b3329ad3ad2b89803a1e7d063

View file

@ -1,5 +1,4 @@
%bcond_without docs
%bcond_with tests
%define major 1.0
%define majorminor 1.0
@ -7,8 +6,8 @@
Summary: GStreamer Streaming-media framework plug-ins
Name: %{bname}-plugins-good
Version: 1.16.0
Release: 3
Version: 1.16.2
Release: 1
License: LGPLv2.1+
Group: Sound
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.xz
@ -23,6 +22,7 @@ BuildRequires: nasm
BuildRequires: kernel-headers
BuildRequires: bzip2-devel
BuildRequires: gettext-devel >= 0.17
BuildRequires: meson
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(check)
BuildRequires: pkgconfig(dbus-glib-1)
@ -144,7 +144,7 @@ elements.
%dir %{_datadir}/gstreamer-%{majorminor}/
%dir %{_datadir}/gstreamer-%{majorminor}/presets
%{_datadir}/gstreamer-%{majorminor}/presets/*
%{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{major}/*
#%{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{major}/*
#----------------------------------------------------------------------------
@ -350,23 +350,14 @@ VP8 encoding and decoding plug-in.
%setup -q -n gst-plugins-good-%{version}
%build
%configure \
--with-package-name='%{distribution} %{name} package' \
--with-package-origin='%{disturl}' \
--with-libv4l2 \
--disable-static \
--disable-dependency-tracking \
%if %{with docs}
--enable-gtk-doc \
%endif
--enable-experimental
%make
%meson -D package-name="%{_vendor} %{name} package" \
-D package-origin="https://bugzilla.rosalinux.ru/"
%meson_build
%install
rm -f gst-plugins-base-%{majorminor}.lang
%makeinstall_std GETTEXT_PACKAGE=gst-plugins-good-%{majorminor}
%meson_install
%find_lang gst-plugins-good-%{majorminor}
@ -378,18 +369,3 @@ rm -f %{buildroot}%{_libdir}/*.a
#blino remove development doc since we don't ship devel files
rm -rf %{buildroot}%{_docdir}/docs/plugins/html
%if %{with tests}
# FIXME: Some tests on mips are currently failing with timeouts
# so disable them. Moreover, orc is failing to compile stuff
# on arm/mips so orc checks are half-failings (as the backup functions
# are working)
%check
cd tests/check
%ifarch %{arm} %{mips}
make check || /bin/true
%else
make check
%endif
%endif