From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2E75158008 for ; Mon, 12 Jun 2023 19:12:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01B3BE091A; Mon, 12 Jun 2023 19:12:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2B1EE091A for ; Mon, 12 Jun 2023 19:12:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC766341393 for ; Mon, 12 Jun 2023 19:12:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1366FA92 for ; Mon, 12 Jun 2023 19:12:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1686597044.4229c3100df6d51f102c2e70d3f3cfbca6cd23a6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/serdisplib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/serdisplib/serdisplib-2.02-r2.ebuild X-VCS-Directories: dev-libs/serdisplib/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4229c3100df6d51f102c2e70d3f3cfbca6cd23a6 X-VCS-Branch: master Date: Mon, 12 Jun 2023 19:12:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 28dbe776-a8ef-4a28-9759-6fc0592eaf6b X-Archives-Hash: e3133da5fdb3198460fada95d4c0423e commit: 4229c3100df6d51f102c2e70d3f3cfbca6cd23a6 Author: Sam James gentoo org> AuthorDate: Sun Jun 11 23:03:32 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 12 19:10:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4229c310 dev-libs/serdisplib: microoptimize Signed-off-by: Sam James gentoo.org> dev-libs/serdisplib/serdisplib-2.02-r2.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-libs/serdisplib/serdisplib-2.02-r2.ebuild b/dev-libs/serdisplib/serdisplib-2.02-r2.ebuild index 63f9e8620b12..ba4565132b83 100644 --- a/dev-libs/serdisplib/serdisplib-2.02-r2.ebuild +++ b/dev-libs/serdisplib/serdisplib-2.02-r2.ebuild @@ -21,12 +21,14 @@ IUSE_LCD_DEVICES=( rs232 sed133x sed153x sed156x ssdoled stv8105 t6963 vssdcp ) +printf -v mangled_lcd_devices 'lcd_devices_%s ' ${IUSE_LCD_DEVICES[@]} + # Add supported drivers from 'IUSE_LCD_DEVICES' to 'IUSE' and 'REQUIRED_USE'. # Also enable 'lcd_devices_directgfx' as default. -IUSE+=" $(printf 'lcd_devices_%s ' ${IUSE_LCD_DEVICES[@]}) " +IUSE+=" ${mangled_lcd_devices}" IUSE="${IUSE/lcd_devices_directgfx/+lcd_devices_directgfx}" REQUIRED_USE+=" - || ( $(printf 'lcd_devices_%s ' ${IUSE_LCD_DEVICES[@]}) ) + || ( ${mangled_lcd_devices} ) lcd_devices_framebuffer? ( threads ) "