mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
debian: fix build of GStreamer 0.10 packages.
Fix build of Debian packages to scan the actual GStreamer API version from the generated changelog file.
This commit is contained in:
parent
a0e587667a
commit
cb076da7e1
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@ include /usr/share/cdbs/1/class/autotools.mk
|
|||
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
||||
include /usr/share/cdbs/1/rules/utils.mk
|
||||
|
||||
gst_pkgname = $(shell dpkg-parsechangelog | grep ^Source: | cut -d' ' -f2)
|
||||
GST_API_VERSION = $(shell echo "$(DEB_SOURCE_PACKAGE)" | \
|
||||
sed -n '/gstreamer\([0-9][0-9.]*\)-vaapi/s//\1/p')
|
||||
|
||||
# Allow SMP build
|
||||
ifeq ($(DEBIAN_BUILD_NCPUS),)
|
||||
|
@ -18,7 +19,8 @@ MAKE += $(EXTRA_MAKE_FLAGS)
|
|||
|
||||
# Allow HTML documentation build
|
||||
indep_conf_flags = \
|
||||
--with-html-dir=\$${prefix}/share/doc/$(gst_pkgname)
|
||||
--with-html-dir=\$${prefix}/share/doc/$(DEB_SOURCE_PACKAGE) \
|
||||
--with-gstreamer-api=$(GST_API_VERSION)
|
||||
|
||||
# only build the docs if gtk-doc-tools is installed, i.e. binary-indep is
|
||||
# called
|
||||
|
|
Loading…
Reference in a new issue