commit: 0ad77d14edd300c476370de10bbd42840c56ad9c Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Tue May 13 16:52:44 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 18 15:22:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad77d14
gnustep-base/gnustep-base: add libdispatch flag Previous it was automagic. And this feature is recommended to be enabled by upstream. https://github.com/gnustep/libs-base/commit/eb93c3661bfca103a6082319abaec4681b15bb81 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42071 Closes: https://github.com/gentoo/gentoo/pull/42071 Signed-off-by: Sam James <sam <AT> gentoo.org> gnustep-base/gnustep-base/gnustep-base-1.31.1.ebuild | 4 +++- gnustep-base/gnustep-base/metadata.xml | 3 +++ profiles/arch/alpha/package.use.mask | 4 ++++ profiles/arch/ppc/package.use.mask | 4 ++++ profiles/arch/sparc/package.use.mask | 4 ++++ 5 files changed, 18 insertions(+), 1 deletion(-) diff --git a/gnustep-base/gnustep-base/gnustep-base-1.31.1.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.31.1.ebuild index aed62cd7441e..fa1ab7ff942f 100644 --- a/gnustep-base/gnustep-base/gnustep-base-1.31.1.ebuild +++ b/gnustep-base/gnustep-base/gnustep-base-1.31.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/gnustep/libs-base/releases/download/base-${PV//./_}/ LICENSE="GPL-2 LGPL-2.1" SLOT="0/$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="+gnutls +iconv +icu +libffi zeroconf" +IUSE="+gnutls +iconv +icu libdispatch +libffi zeroconf" # gnustep-make: tests use the option --timeout which was added in 2.9.3 RDEPEND="${GNUSTEP_CORE_DEPEND} @@ -20,6 +20,7 @@ RDEPEND="${GNUSTEP_CORE_DEPEND} gnutls? ( net-libs/gnutls:= ) iconv? ( virtual/libiconv ) icu? ( >=dev-libs/icu-49.0:= ) + libdispatch? ( dev-libs/libdispatch ) libffi? ( dev-libs/libffi:= ) !libffi? ( dev-libs/ffcall @@ -88,6 +89,7 @@ src_configure() { $(use_enable gnutls tls) $(use_enable iconv) $(use_enable icu) + $(use_enable libdispatch) $(use_enable zeroconf) --with-xml-prefix="${ESYSROOT}"/usr --with-gmp-include="${ESYSROOT}"/usr/include diff --git a/gnustep-base/gnustep-base/metadata.xml b/gnustep-base/gnustep-base/metadata.xml index c4f9cc0a5b48..b27fd4550259 100644 --- a/gnustep-base/gnustep-base/metadata.xml +++ b/gnustep-base/gnustep-base/metadata.xml @@ -5,6 +5,9 @@ <email>[email protected]</email> <name>Gentoo GNUstep Project</name> </maintainer> + <use> + <flag name="libdispatch">Dispatch blocks via <pkg>dev-libs/libdispatch</pkg></flag> + </use> <upstream> <remote-id type="github">gnustep/libs-base</remote-id> </upstream> diff --git a/profiles/arch/alpha/package.use.mask b/profiles/arch/alpha/package.use.mask index 00c591d9308d..d05f937f9f7f 100644 --- a/profiles/arch/alpha/package.use.mask +++ b/profiles/arch/alpha/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Alfred Wingate (2025-05-13) +# Need dev-libs/libdispatch which is not keyworded here +gnustep-base/gnustep-base libdispatch + # Eray Aslan <[email protected]> (2025-05-08) # dev-db/tinycdb is not keyworded here net-mail/dovecot cdb diff --git a/profiles/arch/ppc/package.use.mask b/profiles/arch/ppc/package.use.mask index b74827381701..53d7d6f2671f 100644 --- a/profiles/arch/ppc/package.use.mask +++ b/profiles/arch/ppc/package.use.mask @@ -1,6 +1,10 @@ # Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Alfred Wingate (2025-05-13) +# Need dev-libs/libdispatch which is not keyworded here +gnustep-base/gnustep-base libdispatch + # Viorel Munteanu (2025-05-06) # Needs dev-lang/go which is not keyworded here net-dialup/picocom man diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask index 1eaa79ef5eb1..cf77a1b49975 100644 --- a/profiles/arch/sparc/package.use.mask +++ b/profiles/arch/sparc/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Alfred Wingate (2025-05-13) +# Need dev-libs/libdispatch which is not keyworded here +gnustep-base/gnustep-base libdispatch + # Eray Aslan <[email protected]> (2025-05-08) # dev-db/tinycdb is not keyworded here net-mail/dovecot cdb
