libraries/suil: Don't build the docs by default.

A Sphinx module is needed to build them
and that's a bit overkill

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2023-07-04 20:01:37 +02:00 committed by Willy Sudiarto Raharjo
parent 21dc914818
commit c5e06770d5
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 1 deletions

View file

@ -1 +1,6 @@
Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
Suil is a lightweight C library for loading and wrapping LV2
plugin UIs.
By default docs aren't built: if you like to include them be sure
to have the optional dependency python-sphinx-lv2-theme installed
and pass the script the parameter DOCS=yes

View file

@ -65,6 +65,8 @@ else
LIBDIRSUFFIX=""
fi
doc="-Ddocs=disabled" ; [ "${DOCS:-no}" != "no" ] && doc="-Ddocs=enabled"
set -e
rm -rf $PKG
@ -92,6 +94,7 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
$doc \
-Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install