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 70EAD158064 for ; Thu, 2 May 2024 21:00:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51857E2A23; Thu, 2 May 2024 21:00:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 349C6E2A23 for ; Thu, 2 May 2024 21:00:33 +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 55480342FF7 for ; Thu, 2 May 2024 21:00:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60263170E for ; Thu, 2 May 2024 21:00:30 +0000 (UTC) From: "Horodniceanu Andrei" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horodniceanu Andrei" Message-ID: <1714466495.938fcc98b345a05eccf5803df27c1216c5cd3693.a.horodniceanu@gentoo> Subject: [gentoo-commits] repo/user/dlang:master commit in: dev-libs/gtkd/ X-VCS-Repository: repo/user/dlang X-VCS-Files: dev-libs/gtkd/gtkd-3.10.0-r2.ebuild X-VCS-Directories: dev-libs/gtkd/ X-VCS-Committer: a.horodniceanu X-VCS-Committer-Name: Horodniceanu Andrei X-VCS-Revision: 938fcc98b345a05eccf5803df27c1216c5cd3693 X-VCS-Branch: master Date: Thu, 2 May 2024 21:00:30 +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: af816af8-7a49-45ff-b936-cbe9ad21fd13 X-Archives-Hash: dba7b9ec855d2b1caa6634f5c1d98197 commit: 938fcc98b345a05eccf5803df27c1216c5cd3693 Author: Andrei Horodniceanu proton me> AuthorDate: Tue Apr 30 08:30:03 2024 +0000 Commit: Horodniceanu Andrei proton me> CommitDate: Tue Apr 30 08:41:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=938fcc98 dev-libs/gtkd: enable dmd-2_108 Additionally refactor multilib_src_test a little and reorder variable to please pkgcheck. Signed-off-by: Andrei Horodniceanu proton.me> dev-libs/gtkd/gtkd-3.10.0-r2.ebuild | 42 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/dev-libs/gtkd/gtkd-3.10.0-r2.ebuild b/dev-libs/gtkd/gtkd-3.10.0-r2.ebuild index bc2c489..f07d56a 100644 --- a/dev-libs/gtkd/gtkd-3.10.0-r2.ebuild +++ b/dev-libs/gtkd/gtkd-3.10.0-r2.ebuild @@ -7,14 +7,14 @@ inherit multilib-minimal DESCRIPTION="GtkD is a D binding and OO wrapper of GTK+" HOMEPAGE="https://gtkd.org/" +SRC_URI="https://gtkd.org/Downloads/sources/GtkD-${PV}.zip" LICENSE="LGPL-3" SLOT="3" KEYWORDS="~amd64 ~x86" -SRC_URI="https://gtkd.org/Downloads/sources/GtkD-${PV}.zip" MULTILIB_COMPAT=( abi_x86_{32,64} ) -DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} ) +DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..36} ) declare -A DLANG_REQ_USE=( [dmd]="${MULTILIB_USEDEP}" [gdc]="" @@ -103,36 +103,34 @@ multilib_src_compile() { multilib_src_test() { simple_test() { - if multilib_is_native_abi; then - local cmd=( + local cmd=( + ${DC} ${DCFLAGS} ${DLANG_LDFLAGS} + $(dlang_get_model_flag) + -Igenerated/gtkd + demos/gtkD/TestWindow/*.d + $(dlang_get_linker_flag)./libgtkd-3.so + $(dlang_get_linker_flag)-ldl + $(dlang_get_linker_flag)-rpath=./ + $(dlang_get_output_flag)TestWindow + ) + + dlang_exec "${cmd[@]}" + + if use static-libs; then + cmd=( ${DC} ${DCFLAGS} ${DLANG_LDFLAGS} $(dlang_get_model_flag) -Igenerated/gtkd demos/gtkD/TestWindow/*.d - $(dlang_get_linker_flag)./libgtkd-3.so - $(dlang_get_linker_flag)-ldl - $(dlang_get_linker_flag)-rpath=./ - $(dlang_get_output_flag)TestWindow + ./libgtkd-3.a + $(dlang_get_output_flag)TestWindow-static ) dlang_exec "${cmd[@]}" - - if use static-libs; then - cmd=( - ${DC} ${DCFLAGS} ${DLANG_LDFLAGS} - $(dlang_get_model_flag) - -Igenerated/gtkd - demos/gtkD/TestWindow/*.d - ./libgtkd-3.a - $(dlang_get_output_flag)TestWindow-static - ) - - dlang_exec "${cmd[@]}" - fi fi } - dlang_foreach_impl simple_test + multilib_is_native_abi && dlang_foreach_impl simple_test } multilib_src_install() {