[packages/gstreamer0.10-plugins-bad] - apidocs don't build anymore with current gtk-doc - rel 33

baggins baggins at pld-linux.org
Sat Nov 2 20:13:27 CET 2019


commit f66e291089521ea226987e08f6b3a8466cf0fc95
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 2 20:11:49 2019 +0100

    - apidocs don't build anymore with current gtk-doc
    - rel 33

 gstreamer0.10-plugins-bad.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer0.10-plugins-bad.spec b/gstreamer0.10-plugins-bad.spec
index eb1f876..cc59276 100644
--- a/gstreamer0.10-plugins-bad.spec
+++ b/gstreamer0.10-plugins-bad.spec
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_with	apidocs		# do not build and package API docs
 %bcond_without	cdaudio		# don't build cdaudio plugin
 %bcond_without	dirac		# don't build Dirac plugin
 %bcond_without	directfb	# don't build directfb videosink plugin
@@ -31,7 +32,7 @@ Summary:	Bad GStreamer Streaming-media framework plugins
 Summary(pl.UTF-8):	Złe wtyczki do środowiska obróbki strumieni GStreamer
 Name:		gstreamer0.10-plugins-bad
 Version:	0.10.23
-Release:	32
+Release:	33
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.bz2
@@ -927,7 +928,7 @@ cd ..
 	--disable-silent-rules \
 	--disable-static \
 	--enable-experimental \
-	--enable-gtk-doc \
+	%{__enable_disable apidocs gtk-doc} \
 	--with-html-dir=%{_gtkdocdir}
 
 %{__make} -j1
@@ -1084,10 +1085,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/gstreamer-codecparsers-%{gst_major_ver}.pc
 %{_pkgconfigdir}/gstreamer-plugins-bad-%{gst_major_ver}.pc
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/gst-plugins-bad-libs-0.10
 %{_gtkdocdir}/gst-plugins-bad-plugins-0.10
+%endif
 
 ##
 ## Plugins
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer0.10-plugins-bad.git/commitdiff/f66e291089521ea226987e08f6b3a8466cf0fc95



More information about the pld-cvs-commit mailing list