From: Alsey Coleman Miller <alseycmiller@gmail.com>
To: buildroot@buildroot.org
Cc: Michael Fischer <mf@go-sys.de>,
Alsey Coleman Miller <alseycmiller@gmail.com>
Subject: [Buildroot] [PATCH 5/8] package/sdl3_ttf: do not build the samples or install man pages
Date: Sun, 16 Aug 2026 15:18:27 -0400 [thread overview]
Message-ID: <20260816191830.533747-6-alseycmiller@gmail.com> (raw)
In-Reply-To: <20260816191830.533747-1-alseycmiller@gmail.com>
SDLTTF_SAMPLES builds example programs that are not installed, and
SDLTTF_INSTALL_MAN puts man pages on the target that Buildroot removes
again. STRICT makes the build fail on a missing dependency rather than
quietly dropping the feature it belongs to.
Also state SDLTTF_HARFBUZZ=OFF in the branch where harfbuzz is absent
instead of relying on the default set above it, so both halves of the
condition read the same way.
Signed-off-by: Alsey Coleman Miller <alseycmiller@gmail.com>
---
package/sdl3_ttf/sdl3_ttf.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/sdl3_ttf/sdl3_ttf.mk b/package/sdl3_ttf/sdl3_ttf.mk
index 12441e243e..130e07746e 100644
--- a/package/sdl3_ttf/sdl3_ttf.mk
+++ b/package/sdl3_ttf/sdl3_ttf.mk
@@ -15,11 +15,15 @@ SDL3_TTF_DEPENDENCIES = sdl3 freetype host-pkgconf
SDL3_TTF_CONF_OPTS = \
-DSDLTTF_VENDORED=OFF \
- -DSDLTTF_HARFBUZZ=OFF
+ -DSDLTTF_STRICT=ON \
+ -DSDLTTF_SAMPLES=OFF \
+ -DSDLTTF_INSTALL_MAN=OFF
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
SDL3_TTF_DEPENDENCIES += harfbuzz
SDL3_TTF_CONF_OPTS += -DSDLTTF_HARFBUZZ=ON
+else
+SDL3_TTF_CONF_OPTS += -DSDLTTF_HARFBUZZ=OFF
endif
$(eval $(cmake-package))
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-08-16 19:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-16 19:18 [Buildroot] [PATCH 0/8] package/sdl3*: complete the SDL3 family Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 1/8] package/plutovg: new package Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 2/8] package/plutosvg: " Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 3/8] package/sdl3: add ALSA and test program options, follow dbus Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 4/8] package/sdl3_image: bump to version 3.4.4 Alsey Coleman Miller
2026-08-16 19:18 ` Alsey Coleman Miller [this message]
2026-08-16 19:18 ` [Buildroot] [PATCH 6/8] package/sdl3_ttf: build plutosvg support when available Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 7/8] package/sdl3_mixer: new package Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 8/8] package/sdl3_net: " Alsey Coleman Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260816191830.533747-6-alseycmiller@gmail.com \
--to=alseycmiller@gmail.com \
--cc=buildroot@buildroot.org \
--cc=mf@go-sys.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox