diff --git a/gst-plugins-good-1.18.0-rpi-bcm_hostif.patch b/gst-plugins-good-1.18.0-rpi-bcm_hostif.patch new file mode 100644 index 0000000..9b54e0c --- /dev/null +++ b/gst-plugins-good-1.18.0-rpi-bcm_hostif.patch @@ -0,0 +1,11 @@ +--- gst-plugins-good-1.18.0/sys/rpicamsrc/meson.build.orig 2020-10-12 17:29:10.260137684 +0200 ++++ gst-plugins-good-1.18.0/sys/rpicamsrc/meson.build 2020-10-12 17:33:36.495438521 +0200 +@@ -34,7 +34,7 @@ + endif + + mmal_deps = [] +-foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'bcm_host'] ++foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'bcm_host', 'vchostif'] + l = cc.find_library(rpi_lib, dirs: rpi_lib_path, required: false) + if not l.found() + if get_option('rpicamsrc').enabled() diff --git a/gst-plugins-good.spec b/gst-plugins-good.spec index d581cf6..485e879 100644 --- a/gst-plugins-good.spec +++ b/gst-plugins-good.spec @@ -2,7 +2,7 @@ %define libname lib%{name} Name: gst-plugins-good -Version: 1.16.2 +Version: 1.18.0 Release: 1mamba Summary: A set of plug-ins for gstreamer considered to have good quality code Group: System/Multimedia @@ -11,6 +11,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://gstreamer.freedesktop.org/modules/gst-plugins-good.html Source: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.xz +Patch0: gst-plugins-good-1.18.0-rpi-bcm_hostif.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -55,6 +56,9 @@ BuildRequires: libvpx-devel BuildRequires: libwavpack-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END +%ifarch arm +BuildRequires: libraspberrypi-devel +%endif BuildRequires: libdc1394-devel >= 1.1.0 BuildRequires: libraw1394-devel >= 1.2.0 BuildRequires: valgrind-devel @@ -96,28 +100,34 @@ Requires: gtk-doc %description apidocs This package includes the %{name} API documentation. +%debug_package + %prep %setup -q -# FIXME: not the most elegant workaround -sed -i "s|OpenGL/gl.h|GL/gl.h|" configure - -%build -%configure \ - --enable-experimental \ - --enable-ladspa \ - --disable-osx_audio \ - --disable-osx_video \ - --disable-hal \ - --disable-esd \ %ifarch arm - --disable-qt +%patch0 -p1 %endif -%make +%build +%meson \ + -Ddoc=enabled + +#% configure \ +# --enable-experimental \ +# --enable-ladspa \ +# --disable-osx_audio \ +# --disable-osx_video \ +# --disable-hal \ +# --disable-esd \ +#%ifarch arm +# --disable-qt +#%endif + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install %find_lang gst-plugins-good-%{apiver} @@ -131,18 +141,20 @@ sed -i "s|OpenGL/gl.h|GL/gl.h|" configure %{_datadir}/gstreamer-%{apiver}/presets/* %doc AUTHORS COPYING -%files devel -%defattr(-,root,root) -#%{_libdir}/gstreamer-%{apiver}/libgst*.a -%{_libdir}/gstreamer-%{apiver}/libgst*.la -%doc ChangeLog NEWS README +#%files devel +#%defattr(-,root,root) +#%{_libdir}/gstreamer-%{apiver}/libgst*.la +#%doc ChangeLog NEWS README -%files apidocs -%defattr(-,root,root) -%dir %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{apiver} -%{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{apiver}/* +#%files apidocs +#%defattr(-,root,root) +#%dir %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{apiver} +#%{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{apiver}/* %changelog +* Thu Oct 01 2020 Automatic Build System 1.18.0-1mamba +- automatic version update by autodist + * Sat Dec 07 2019 Automatic Build System 1.16.2-1mamba - automatic version update by autodist