Commit 1345ce27 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

Don't build the documentation in binary-arch builds

parent d3f6e20c
......@@ -4,6 +4,13 @@ webkit2gtk (2.29.4-1) UNRELEASED; urgency=medium
* debian/control:
+ Install libgl1-mesa-dev unconditionally. The decision of which gl
library to use is now taken directly by cmake.
* Don't build the documentation in binary-arch builds and with the nodoc
build profile.
+ debian/control:
- Move gtk-doc-tools and *-doc to Build-Depends-Indep.
- Add Build-Profiles: <!nodoc> to libwebkit2gtk-4.0-doc
+ debian/rules:
- Use dh_listpackages to decide whether to build the documentation.
-- Alberto Garcia <berto@igalia.com> Wed, 29 Jul 2020 23:17:24 +0200
......
......@@ -48,10 +48,6 @@ Build-Depends: gawk,
libgstreamer1.0-dev (>= 1.13.1),
libgstreamer-plugins-base1.0-dev (>= 1.13.1),
libenchant-2-dev,
gtk-doc-tools,
libglib2.0-doc,
libgtk-3-doc,
libsoup2.4-doc,
geoclue-2.0,
libsecret-1-dev,
gobject-introspection (>= 1.32.0),
......@@ -61,6 +57,10 @@ Build-Depends: gawk,
libegl1-mesa-dev,
libgl1-mesa-dev,
libgles2-mesa-dev
Build-Depends-Indep: gtk-doc-tools,
libglib2.0-doc,
libgtk-3-doc,
libsoup2.4-doc
Build-Conflicts: gir-repository-dev
Standards-Version: 4.5.0
Rules-Requires-Root: no
......@@ -196,6 +196,7 @@ Description: Web content engine library for GTK - development files
This package contains the development files.
Package: libwebkit2gtk-4.0-doc
Build-Profiles: <!nodoc>
Section: doc
Architecture: all
Multi-Arch: foreign
......
......@@ -47,7 +47,9 @@ ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CPPFLAGS += -DRELEASE_WITHOUT_OPTIMIZATIONS
endif
ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
ifeq (,$(filter %-doc,$(shell dh_listpackages)))
EXTRA_CMAKE_ARGUMENTS += -DENABLE_GTKDOC=OFF
else ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
EXTRA_CMAKE_ARGUMENTS += -DENABLE_GTKDOC=OFF
else
EXTRA_CMAKE_ARGUMENTS += -DENABLE_GTKDOC=ON
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment