]> git.pld-linux.org Git - packages/gstreamer-plugins-bad.git/commitdiff
- disable SCTP debugging to allow build with (non-debugging) system libusrsctp
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Apr 2022 14:52:19 +0000 (16:52 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Apr 2022 14:52:19 +0000 (16:52 +0200)
- vulkan docs build now

gstreamer-plugins-bad.spec

index 6eb4056f1e320cda514e13d2c206ec69a2e643f5..021e5decb4866e833f1d71aea1bd3ec00509f85e 100644 (file)
@@ -1272,6 +1272,10 @@ Wtyczka GStreamera skanujÄ…ca kody kreskowe.
 %setup -q -n %{gstname}-%{version}
 %patch0 -p1
 
+# disable SCTP debugging (even though gst_debug is enabled by default)
+# (SCTP_DEBUG requires libusrsctp built with debugging)
+%{__sed} -i -e "s/'-DSCTP_DEBUG'//" ext/sctp/meson.build
+
 %build
 export CXXFLAGS="%{rpmcxxflags} -std=c++11"
 %meson build \
@@ -1310,14 +1314,6 @@ export CXXFLAGS="%{rpmcxxflags} -std=c++11"
 
 %if %{with apidocs}
 cd build/docs
-# hotdoc crashes on these:
-#   File "/usr/lib/python3.8/site-packages/hotdoc/extensions/gi/node_cache.py", line 101, in __get_parent_link_recurse
-#    ctype_name = ALL_GI_TYPES[gi_name]
-# KeyError: 'GstVulkan.VulkanDisplay'
-# An unknown error happened while building the documentation and hotdoc cannot recover from it. Please report a bug with this error message and the steps to reproduce it
-%{__mv} vulkan-wayland-doc.json{,.disabled}
-%{__rm} vulkan-xcb-doc.json{,.disabled}
-
 for config in *-doc.json ; do
        LC_ALL=C.UTF-8 hotdoc run --conf-file "$config"
 done
@@ -1704,8 +1700,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_docdir}/gstreamer-%{gstmver}/voaacenc-doc
 %{_docdir}/gstreamer-%{gstmver}/voamrwbenc-doc
 %{_docdir}/gstreamer-%{gstmver}/vulkan-doc
-#%{_docdir}/gstreamer-%{gstmver}/vulkan-wayland-doc
-#%{_docdir}/gstreamer-%{gstmver}/vulkan-xcb-doc
+%{_docdir}/gstreamer-%{gstmver}/vulkan-wayland-doc
+%{_docdir}/gstreamer-%{gstmver}/vulkan-xcb-doc
 %{_docdir}/gstreamer-%{gstmver}/vulkanlib-doc
 %{_docdir}/gstreamer-%{gstmver}/wasapi-doc
 %{_docdir}/gstreamer-%{gstmver}/wasapi2-doc
This page took 0.257807 seconds and 4 git commands to generate.