diff --git a/.abf.yml b/.abf.yml index 699786d..8399c98 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - gstreamer-1.12.4.tar.xz: 71ed76a339252d551c5da6bdcb641c31bea77612 + gstreamer-1.18.6.tar.xz: e97c68734794df6cc80a7aeff71b85262087e175 diff --git a/gstreamer1.0.spec b/gstreamer1.0.spec index 4cfe787..78ad0f3 100644 --- a/gstreamer1.0.spec +++ b/gstreamer1.0.spec @@ -12,17 +12,19 @@ Summary: GStreamer Streaming-media framework runtime Name: %{oname}%{api} -Version: 1.12.4 +Version: 1.18.6 Release: 1 License: LGPLv2+ Group: Sound -Url: http://gstreamer.freedesktop.org/ -Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{oname}-%{version}.tar.xz +URL: https://gstreamer.freedesktop.org +Source0: %{url}/src/gstreamer/%{oname}-%{version}.tar.xz Source1: gstreamer.prov Patch0: gstreamer-inspect-rpm-format.patch +BuildRequires: meson BuildRequires: chrpath BuildRequires: bison BuildRequires: flex +BuildRequires: bash-completion-devel %ifarch %{ix86} BuildRequires: nasm %endif @@ -44,9 +46,14 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(libxml-2.0) >= 2.4.9 BuildRequires: pkgconfig(popt) +BuildRequires: pkgconfig(libunwind) +BuildRequires: pkgconfig(gmp) +BuildRequires: pkgconfig(gsl) %ifnarch %{arm} %{mips} BuildRequires: pkgconfig(valgrind) %endif +BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(libcap) %description GStreamer is a streaming-media framework, based on graphs of filters which @@ -184,46 +191,32 @@ applications and plugins for GStreamer. # we list all of the files we really need to trap incomplete doc builds # then we catch the rest with *, you can safely ignore the errors from this ## gstreamer API -%{_datadir}/gtk-doc/html/* %{_datadir}/gir-1.0/Gst-%{api}.gir %{_datadir}/gir-1.0/GstBase-%{api}.gir %{_datadir}/gir-1.0/GstCheck-%{api}.gir %{_datadir}/gir-1.0/GstController-%{api}.gir %{_datadir}/gir-1.0/GstNet-%{api}.gir +%{_bindir}/gst-tester-%{api} +%{_libdir}/gstreamer-%{api}/gst-hotdoc-plugins-scanner +%{_libdir}/gstreamer-%{api}/gst-plugins-doc-cache-generator +%{_datadir}/gdb/auto-load/usr/lib64/libgstreamer-%{api}.so.*-gdb.py +%{_datadir}/gstreamer-%{api}/gdb/glib_gobject_helper.py +%{_datadir}/gstreamer-1.0/gdb/gst_gdb.py + #---------------------------------------------------------------------------- %prep -%setup -q -n %{oname}-%{version} -%apply_patches +%setup -qn %{oname}-%{version} +#apply_patches %build -%configure2_5x \ - --enable-debug \ - --disable-static \ - --disable-dependency-tracking \ - --with-package-name='%{_vendor} %{name} package' \ - --with-package-origin='http://bugs.%{_vendor}.org/' \ - --disable-tests \ - --disable-examples \ - --disable-rpath \ -%if %{with docs} - --enable-docbook \ - --enable-gtk-doc \ -%else - --disable-docbook \ - --disable-gtk-doc \ -%endif -%ifarch %{mips} - --disable-valgrind \ -%endif - --with-html-dir=%{_datadir}/gtk-doc/html - -%make +%meson +%meson_build %install -%makeinstall_std +%meson_install mkdir -p %{buildroot}%{_var}/cache/%{oname}-%{api} @@ -237,4 +230,8 @@ chrpath -d %{buildroot}{%{_bindir}/gst-{inspect,launch,typefind}-1.0,%{_libdir}/ # Add the provides script install -m0755 -D %{SOURCE1} %{buildroot}%{_prefix}/lib/rpm/%{_vendor}/%{name}.prov +# unset suid +chmod 0755 %{buildroot}%{_libdir}/gstreamer-%{api}/gst-ptp-helper + + %find_lang %{oname}-%{api}