x11/cinnamon: partially revert "Disable DOCS option"

Instead of commenting out the option, exclude it instead, as it is
to be exposed again upon future updates given that libxml2 doesn't
error out. Also remove OPTIONS_DEFAULT as DOCS and NLS are globally
enabled by default.

This partially reverts commit 3bbf0bae39.
This commit is contained in:
Charlie Li 2024-01-12 12:30:34 -05:00
parent a011d7aaa5
commit 7e9524e8b8
No known key found for this signature in database
GPG key ID: 678F936058415CCA

View file

@ -64,18 +64,16 @@ SHEBANG_FILES= files/* src/data-to-c.pl
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_CMD}
PLIST_SUB+= PORTDOCS="@comment "
MESON_ARGS= -Ddocs=false -Ddisable_networkmanager=true
MESON_ARGS= -Ddisable_networkmanager=true
GLIB_SCHEMAS= org.cinnamon.gschema.xml
#OPTIONS_DEFINE= DOCS NLS
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
OPTIONS_DEFINE= DOCS NLS
OPTIONS_EXCLUDE= DOCS
OPTIONS_SUB= yes
#DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
#DOCS_MESON_TRUE= docs
DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
DOCS_MESON_TRUE= docs
NLS_RUN_DEPENDS= cinnamon-translations>0:misc/cinnamon-translations